Odd Sharing Violation

L

Lem

I have 2 XP Pro SP2 boxes networked. Simple file sharing is in use on
both. I have jpg's created by a Canon digital camera that are
downloaded from the camera to one of the 2 PCs. For backup, I copy the
files to the other PC over the network. The files are in separate
folders within C:\Documents and Settings\userid\My Documents\My Pictures
(on both PCs). I've shared the "My Pictures" folder on the source
machine and given full read/write access to the "My Pictures" folder on
the target machine. All of the subfolders inherit the sharing attribute
of the parent.

All files copy fine EXCEPT files that are jpg's in vertical (letter)
format rather than the more usual horizontal (landscape) format. These
all fail with "access denied."

Plainly, there's no firewall issue, because other files -- in the same
folder -- copy just fine. Similarly, I don't understand how access can
be denied to one file in a folder when it is permitted for all of the
others.

Any insights would be appreciated.
 
L

Lem

Lem said:
I have 2 XP Pro SP2 boxes networked. Simple file sharing is in use on
both. I have jpg's created by a Canon digital camera that are
downloaded from the camera to one of the 2 PCs. For backup, I copy the
files to the other PC over the network. The files are in separate
folders within C:\Documents and Settings\userid\My Documents\My Pictures
(on both PCs). I've shared the "My Pictures" folder on the source
machine and given full read/write access to the "My Pictures" folder on
the target machine. All of the subfolders inherit the sharing attribute
of the parent.

All files copy fine EXCEPT files that are jpg's in vertical (letter)
format rather than the more usual horizontal (landscape) format. These
all fail with "access denied."

Plainly, there's no firewall issue, because other files -- in the same
folder -- copy just fine. Similarly, I don't understand how access can
be denied to one file in a folder when it is permitted for all of the
others.

Any insights would be appreciated.

I think I've figured this out, but I've cross-posted this reply to XP
General to see if anyone there has some additional insights.

Apparently, the way Canon's "ZoomBrowser" image filing/handling software
works is that when the EXIF information from the image file on the
camera indicates that the picture has been taken in the vertical format,
the software initially stores the file in C:\Windows\Temp (or other
temporary directory) in the usual landscape (horizontal) format, then
rotates it, and stores the rotated version in the intended target
directory.

The problem is that the Temp directory -- where the file is initially
created -- is not shared (who would think to share the Temp directory
!?). And, according to KB310316, "By default, an object inherits
permissions from its parent object, either at the time of creation or
when it is copied or moved to its parent folder. The only exception to
this rule occurs when you move an object to a different folder on the
same volume. In this case, the original permissions are retained."

Thus, even though the file appears to be in a folder that has the
"shared" permission set, it has inherited the original "do not share"
permission from the Temp directory in which it was created.

[KB304040 says that with SFS turned on, "Windows Explorer does not
retain permissions on files that are moved in the same NTFS drive. The
permissions are always inherited from the parent folder." Based on the
behavior I've observed, either this is not accurate or the Canon
software copies the file in some way that in fact does preserve
permissions.]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top