NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Manohar
Apr 04, 2019Initiate
is possible to set user permission as read and write but not delete files and folders Readynas 3312
I want create a user with the permissions as read and write but not delete required folder or file. is it possible in ReadyNAS 3312. if there is no way, how to raise the request to organisation. please lte me know.
Thank you.
11 Replies
Replies have been turned off for this discussion
- Retired_Member
Hi Manohar , I saw you already putting this as an idea. Thanks again and kind regards.
- StephenBGuru - Experienced User
Manohar wrote:
I want create a user with the permissions as read and write but not delete required folder or file.
To clarify, you want to separate write permission and delete permission. Practically speaking, if a user has write permission, then they can also rewrite the file so it has no content - which has a similar effect to deletion. So I am not understanding the use case here very well.
If someone has write permission to the parent folder, then they can delete files in that folder. There's no way around that, it is fundamental to the way linux file permissions work. So you can prevent deletions, but the consequence is that the user won't be able to create new files in that folder either.
I suggest that you enable snapshots for the share. Then accidentally deleted files can be recovered.
- Retired_Member
StephenB wrote: "Practically speaking, if a user has write permission, then they can also rewrite the file so it has no content - which has a similar effect to deletion. So I am not understanding the use case here very well."
Well, the world is not always that simple. Let me try to explain a potential scenario where it matters.
Imagine a situation, where users are not accessing the objects (files and directories) through a simple explorer, but use a (more or less) complex closed user interface, which allows them to collaberate on objects in a certain workflow, where people act in different roles fulfilling their duties in the context of a booking system for example.
The basic capabilities these people have on objects (and that counts for directories and files) would be: (1) Creating, (2) Reading, (3) Editing (writing) and (4) Deleting. Depending on their roles different people are able to create a specific case, read it, modify it and finally delete it, if necessary. An application of this kind could not be implemented under an operating system, which would not be capable to make a difference between activities (3) and (4). Beyond that, if you want to distinguish between owners and non-owners of an object, it is getting even more complex (for example Author could delete, Editor could only write, but not delete).
In a nutshell: A truely good operating system would give the security admin of an application all possible means to finetune the rights users could have to objects otherwise restricting the os capabilities in an unnecessary way.
To me Manohar ,s suggestion makes a lot of sense in a context as described above. Perhaps (s)he has some more information on why (s)he is asking for this feature. Kind regards
- StephenBGuru - Experienced User
Retired_Member wrote:
Imagine a situation, where users are not accessing the objects (files and directories) through a simple explorer, but use a (more or less) complex closed user interface, which allows them to collaberate on objects in a certain workflow, where people act in different roles fulfilling their duties in the context of a booking system for example.
In cases like that, maintaining coherency of the work-flow is the job of the application - the booking system, not the file system. So I don't find that persuasive.
Retired_Member wrote:
To me Manohar ,s suggestion makes a lot of sense in a context as described above. Perhaps (s)he has some more information on why (s)he is asking for this feature.
It would be helpful to know why.
But the problem is that Linux permissions just don't work that way - especially if you want to prevent the owner of the file from deleting it. Perhaps Netgear could modify SAMBA to do it, but that of course wouldn't solve the problem for NFS,AFP, or FTP. Plus they'd have to port their mod every time they want to upgrade SAMBA. I'm just not seeing a good path to implement something like this.
Related Content
NETGEAR Academy

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