ReadyNAS OS 6: Setting sub-folder permissions in user security mode
點擊 - 2140  |  1 個人喜歡這篇文章和覺得有幫助 KBA-379

NETGEAR - Storage  


ReadyNAS OS 6: Setting sub-folder permissions in user security mode

 

Overview

This article describes how to set up permissions on sub-folders within shares on a ReadyNAS that is in user security mode.

Scenario for this guide

  • ReadyNAS OS 6 unit is in user security mode.

  • A share (called Resources) is created on the ReadyNAS.

  • There are 2 groups - students and teachers which each contain some users.

  • Within the share, public and private sub-folders exists.

  • Members of both groups are allowed to read/write the public sub-folder.

  • Only members of the teachers group are allowed to read/write the private sub-folder.

  • Both groups are forbidden to create new folders in the root of the Resources share.

    Process

    1. Create groups and users on the ReadyNAS

  • Go to Accounts - Groups - New Group and create a group called 'students'

     

    http://support1.gearguy.com/useruploads/images/1-createStudentsGroup.png

  • Repeat the process to create a group called 'teachers

     

    http://support1.gearguy.com/useruploads/images/2-createTeachersGroup.png

  • Go to Accounts - Users - New User and create a user called 'stuart' who is a member of the 'students' group

     

    http://support1.gearguy.com/useruploads/images/3-createStuartTheStudent.png

    http://support1.gearguy.com/useruploads/images/4-createStuartTheStudent.png

  • Repeat the process to create a user called 'teddy' who is a member of the 'teachers' group

    2. Create the share on the ReadyNAS and adjust settings on it

  • Go to Shares - New Folder and create a share called 'Resources'

     

    http://support1.gearguy.com/useruploads/images/7-createResourcesShare.png

  • In the settings of the share under Network Access ensure that Read/Write is enabled for Everyone and admin. Also ensure that 'Allow anonymous access' is unchecked

     

     

    http://support1.gearguy.com/useruploads/images/8-editShareNetworkAccessSettings.png

    3. Set up root share permissions from a Windows client

  • Connect to the share as the ReadyNAS 'admin' user (this can be done using a command prompt as shown below)

     

    http://support1.gearguy.com/useruploads/images/9-mapShareAsAdmin.png

  • Right click on the share and choose 'Properties', then go to the 'Security' tab

    http://support1.gearguy.com/useruploads/images/10-sharePropertiesSecurity.png

  • Remove the 'Everyone' group from the list of access rights. To do this, click 'Edit'. Highlight 'Everyone' and press Remove.

    Image

  • Add the 'students' and 'teachers' group and grant them read access as shown below

    http://support1.gearguy.com/useruploads/images/11-shareAddStudentsTeachers.png

    http://support1.gearguy.com/useruploads/images/12-shareReadOnlyStudentsTeachers.png

  • Press OK, then Yes when prompted and finally OK again.

    4. Create sub-folders

  • While still connected as the 'admin' user, create the required sub-folders - in this case 'Private' and 'Public'

    http://support1.gearguy.com/useruploads/images/12a-createSubFolders%282%29.png

    5. Set permissions on the 'Public' sub-folder (read/write access for both groups)

  • Right click on the 'Public' sub-folder, choose Properties and go to the Security tab

  • Through inheritance from the share above, the 'students' and 'teachers' groups will have read only access already.

  • Add to their permissions by giving each group write access as shown below:

    http://support1.gearguy.com/useruploads/images/13-subfolderPublicReadWriteStudentsTeachers%281%29.png

  • Apply these changes by pressing OK and then OK again.

    6. Set permissions on the 'Private' sub-folder (read/write access for 'teachers' group only)

  • Right click on the 'Private' sub-folder, choose Properties and go to the Security tab

  • Through inheritance from the share above, the 'students' and 'teachers' group will have read only access already. We want to remove access for 'students'.

  • To do this go to Advanced - Change Permissions and untick the option 'Include inheritable permissions from this object's parent'.

  • When prompted choose 'Add' to convert and add inherited parent permissions as explicit permissions on this object.

  • Remove the 'students' group from the list of permission entries

  • Tick the box 'Replace all child object permissions with inheritable permissions from this object', press OK and press Yes when prompted.

  • Press OK again.

  • Finally edit the permissions for the 'teachers' group to grant them write access as shown below and press OK.

    http://support1.gearguy.com/useruploads/images/14-subfolderPrivateReadWriteTeachers.png

  • Press OK again to complete the changes.

    7. Test access settings

  • Confirm that users from the 'teachers' group can read and write in both sub-folders.

  • Confirm that users from the 'students' group can read and write to the public sub-folder but cannot access the private sub-folder.

  • Confirm that users from both groups cannot create folders/files at the root share level.

    Document Type:

     

    Updated 02/19/2016 12:55 AM

     

 

    更新日期: 2/26/2016 5:45:46 PM  
 
 

類似的文章

Share this article

 

標籤


Winco (Pacific) Limited      Phone: 3619-8822   Email: support@winco.com.hk