View Single Post
  #5  
Old August 27th 11, 06:53 AM posted to microsoft.public.windowsxp.general,alt.windows7.general,microsoft.public.windowsxp.network_web
John Wunderlich
external usenet poster
 
Posts: 1,466
Default Windows 7 to XP file sharing: some files are accessible in afolder, some are not

Yousuf Khan wrote in
:

On 26/08/2011 8:23 AM, Rob wrote:
On 26/08/2011 07:46, Yousuf Khan wrote:
I have a Windows 7 desktop that's sharing several folders out to
other computers, mainly running XP. That's pretty typical, and
I'm not having any problem setting this up, it's already setup
and working fine.

However, recently I added a new folder share from the Windows 7
computer. What I'm finding is that some of the files in the
folder are accessible, and some are not. It's unusual because
typically I see either that the whole folder is accessible, or
it is not, not just some things inside it. I'd say half are
accessible, and half are not.

When trying to access some files, I get the message: "file not
accessible". Yet, I can see all of these files when viewing the
directory listing in Explorer. What could be causing this?

Yousuf Khan


What is often a simple quick fix for this is to unshare the
folder and then share it again. HTH


Okay, just tried that, and it did work -- somewhat. The files that
were previously giving trouble are no longer giving trouble, but
new files that are put into this directory seem to give the
trouble still. This particular directory is a very dynamic
directory, it's used mainly to hold recently downloaded files and
share them out to other computers in the house. I'm finding that
newer files give the issue. Am I supposed to unshare the folder
everytime there's a new file downloaded, and reshare it?

There's no other Windows 7 computers in the house to test this out
on, apart from the main desktop. When I attempt to mount this
computer's own filesystem as a network share, it works fine, but
that's obvious. I don't know if it's working fine because it's
sharing to Windows 7 or if it's running fine because the network
share is actually a local filesystem. I can only test remotely to
an XP computer.

Yousuf Khan


You say that you are moving files into this shared folder. When
files are _moved_ within the same disk volume, the files retain their
original file protections. So if you move a file that was created in
an area where only you have permissions to it into a shared folder,
it will retain permissions for only you to access it.

The simple solution is to "copy" a file into the shared folder
instead of "moving" it (drag it with the right mouse button instead
of the left button). When copying the file, the copy will be
assigned the permissions of the containing folder which is probably
what you desire.

The following applies to XP but likely is the same for Windows 7.
"How permissions are handled when you copy and move files and
folders"
http://support.microsoft.com/kb/310316

HTH,
JW


Ads