24

I've just recently installed Windows 7, and I'm trying to set up a network share to be accessible by everyone on my (home) network. I'm used to XP, so it's taking me a little while to get used to the new way of sharing folders and setting permissions in 7.

So far, I have been able to:

  • share a directory on the network
  • change permissions on the directory so that users can actually see the contents

Now my problem is that every file in the directory is viewable, but not readable to network users. From my other machine I can see that the file exists, but when I try to copy it, I get a permissions error.

Is there a way to open the permissions on all the files in a directory to be readable by everyone?

So far I have only found a way to do it one file at a time, and that's just awful. In unix terms, I want all the directories to be 755, and all the files to be 644. How can I do this recursively?

2 Answers 2

41

Here's how I was able to do it:

  1. right-click on the directory, go to Properties
  2. Security tab, Advanced..
  3. Permissions tab, Change Permissions...
  4. Add...
  5. Advanced...
  6. click Find Now, then find and click on "Everyone", click OK
  7. click OK
  8. "Everyone" should now show up in the list, with "Read & execute" permissions
  9. check the box for "Replace all child object permissions with inheritable permissions from this object"
  10. click OK. That should recursively give read access to "Everyone".
0
1

From the GUI multi-select the files/folders you want to change. Right click and select Properties. Make your changes and if/when you are asked if you wish to apply the change to all folders and sub-folders click appropriately.

From the command line use the attrib command with the /r switch. Wildcards are accepted by attrib. Enter attrib /? for more information.

4
  • The Properties dialog for multi-selected items does not have much available. Only General/Customize, but nothing for sharing nor security.
    – Tim
    Jul 4, 2010 at 23:17
  • @Tim, which variant of Win7 do you have? Mine shows tabs for General, Sharing, Security, Previous Versions and Customize. Jul 5, 2010 at 1:49
  • Win 7 Pro. Properties for a single file has General, Security, Detail, and Previous Versions. Properties for a single directory has General, Sharing, Security, Previous Versions, and Customize. Properties for a selection of multiple files only has General and Details.
    – Tim
    Jul 5, 2010 at 7:28
  • @Tim, looks like it's gonna have to be the command line then. :) Jul 5, 2010 at 9:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .