prohibit removing folders / files

Status
Not open for further replies.
Joined
Oct 18, 2013
Messages
5
Hello everybody,

do you have a way to offer me so that users with a shared freenas can not delete folders / files posted by users network drive?

I said that this sharing is public.

Thank you in advance
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
yeah. set the permissions so that nobody has read/write access, they have read-only access
 

N00b

Explorer
Joined
May 31, 2013
Messages
83
See this post

The third special permission, the sticky bit, can strengthen the security of a system.

When the sticky bit is set on a directory, it allows file deletion only by the file owner. This is useful to prevent file deletion in public directories, such as /tmp, by users who do not own the file. To utilize this permission, prefix the permission set with a one (1):

# chmod 1777 /tmp
The sticky bit permission will display as a t at the very end of the permission set:

# ls -al / | grep tmp
drwxrwxrwt 10 root wheel 512 Aug 31 01:49 tmp
 
Status
Not open for further replies.
Top