Special permissions for existing folder structure

Posted on 2009-02-23
Last Modified: 2013-12-04
I have an existing share with many nested folders and existing files but I would like to permission the root folder (and apply these to subfolders and files) so that users can create/modify/delete files in any of the subfolders but not create/delete any folders. What special permissions do we need to apply to the root in order to accomplish this?
Question by:DJS_IT
    LVL 11

    Expert Comment

    1.  Right-click on the root folder -> Properties -> Security tab -> Advanced button.  
    2.  Click add and select the users or groups you want to grant permissions to.  
    3.  In the "Apply onto:" drop down, select "Files only"
    4.  Grant the group Create Files/Write Data along with the three Read permissions.
    5.  Click the "Replace permission entries..." box to propagate these settings to subfolders.

    Definitely test this out as I'm running through this mentally.

    Author Comment

    I tried this but it only applies existing files. If a user tries to create a new file with those permissions they are denied, because they do not have create files/Write Data permission to the folder.
    LVL 11

    Expert Comment

    I just tested this and I was able to write files to the root folder and subfolders, but wasn't able to delete existing files.  Are you sure you followed step 4 above (granting Create Files/Write Data)?

    Author Comment

    Users should be able to create/delete files but not folders.
    LVL 11

    Expert Comment

    Verify that the user you're testing with isn't a member of another group listed in the ACL that has greater permissions than what I listed above.  Specifically, on my server, the user I was testing with was a member of the localbox\Users group, so I had to pull the Users group from the ACL.

    After doing this I changed the "Apply onto" drop down to "This folder, subfolders, and files" and the permissions I allowed the account are as follows:

    Traverse Folder/Execute File - Allow
    List Folder/Read Data - Allow
    Read Attributes - Allow
    Read Extended Attributes - Allow
    Create Files/Write Data - Allow
    Read Permissions - Allow

    I'm able to create files with my test user, but I can't create/delete folders.

    Author Comment

    OK we figured this out. The special permissions are:

    Files Only
    Folders and subfolders
         Modify minus Create Folders / Append Data

    This allows users to create/delete files but not folders.

    Accepted Solution

    Question PAQ'd, 500 points refunded, and stored in the solution database.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Article by: btan
    The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
    Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now