NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

AMK64's avatar
AMK64
Aspirant
Feb 24, 2017
Solved

ReadyNAS/ReadyCloud: How to set up a share with different access levels?

Hi you all,   I would like to grant different access rights to different ReadyCloud users at directory structure level. Suppose the share structure looks like this:   /topdir    /subdir1    /su...
  • BingkeX's avatar
    Feb 24, 2017

    Hi AMK64,

     

    As you know, for readynas, acl permission is set based on the whole share, not subfolder in share.

    If you want to set permision for subfolder in share, you can use setfacl command for subfolder in share to achive this. But i have a concern. Do you puchase your readynas in last 90 days( which is free support period ) or beyound of  90 days? 

    If you are still in free Support period, strongley recommended don't turn on ssh service and use setfacl  command.

    If you are beyound of 90 Days and you don't mind, you can turn on ssh service and use setfacl command to achive your goal.

     

    You can setfacl for user2, user3. For example: Under topdir,

    setfacl -R -m user:user1:rwx subdir1

    setfacl -dR -m user:user1:rwx subdir1

    setfacl -R -m user:user2:--- subdir1

    setfacl -dR -m user:user2:--- subdir1

     

    setfacl -R -m user:user2:rwx subdir2

    setfacl -dR -m user:user2:rwx subdir2

    setfacl -R -m user:user1:--- subdir2

    setfacl -dR -m user:user:--- subdir2.

     

    PS: If you setfacl with shares or subfolders with setfacl command, don't change "File Access" tab for the share again. As it maybe impact on facl for share.

     

    Hope it is useful.

     

    Best Regards.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More