NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nowthennet
Feb 17, 2015Aspirant
ReadyNAS Pro - prevent renaming or deleting file
I have a ReadyNAS Pro and would like to allow users to modify a particular file but I want to prevent them from renaming it or deleting it or moving it.
Is this possible?
Thank you
Is this possible?
Thank you
5 Replies
Replies have been turned off for this discussion
- dsm1212ApprenticeYes, if you set permissions on the directory to read only that should prevent renaming/moving and deleting. Leave the file writable by them so they can edit it. You may need to use ssh to get this level of permission granularity.
- RXLuminary
nowthennet wrote: I have a ReadyNAS Pro and would like to allow users to modify a particular file but I want to prevent them from renaming it or deleting it or moving it.
This link might help you: http://kb.netgear.com/app/answers/detai ... %26-sparc-) - nowthennetAspirantIxa, isn't that for setting the permissions on entire shares?
dsm1212, do I set the permissions using Windows security settings? If it is "read only" then does that not mean exactly that...it can only be read but not altered? How do i use ssh?...and what does granularity mean in this context? - StephenBGuru - Experienced UserThere are settings that let you block deletions for guest users in Frontview. Though if you are comfortable with ssh, you could experiment by setting the linux permissions.
FWIW, with modify access a user can functionally delete the file by emptying the contents (storing an blank word file for instance). So I am not sure I understand the use case for doing this. - dsm1212Apprentice
nowthennet wrote: Ixa, isn't that for setting the permissions on entire shares?
dsm1212, do I set the permissions using Windows security settings? If it is "read only" then does that not mean exactly that...it can only be read but not altered? How do i use ssh?...and what does granularity mean in this context?
By granularity I meant that I think the frontview UI may not let you set a folder to one permission and a file within that folder to another. I just don't recall.
Anyhow if you install the SSH addon (I'm not sure you want to do this if you are not familiar with Linux. You can mess up the machine badly with SSH access.) then you can use chmod to protect the directory. You need an ssh client to log into the nas. Probably download putty if you are on windows. Once logged in you use the chmod command to protect the files like this:
$ chmod 555 dirname
This will make directory dirname unwriteable by anyone. A file in dirname could still be read and writable with something like this:
$ chmod 666 dirname/filename
Google "man chmod" to see how to use chmod.
steve
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!