Re: Directory permissions

Damian Price <[email protected]> Tue, 11 Apr 2017 14:00:34 +0100
Newsgroups gmane.user-groups.linux.ilug.general
Message-ID <[email protected]>
New to Linux. Sticky bit?

Damian 

> On 11 Apr 2017, at 11:16, paul <[email protected]> wrote:
> 
> I may be missing something, but why can't you just set the sticky bit on
> that directory and the one above it?
> 
> 
> Presumably, they deleted a directory they didn't own.
> 
>> On 10/04/17 17:07, Kevin Philp wrote:
>> At work we have a lot of files shared over nfs4. Our users need
>> read/write access to the shared directory. Today one of our users
>> accidently deleted a major sub directory on a project containing
>> hundreds of files. We recovered all the files and they are backed up but
>> it was a nuisance. So how do I provide rw access to a group working on
>> files in a directory but stop them moving or deleting the whole directory?
>> 
>> If I set the permissions rwxr-x--- they can't make new files in the
>> directory
>> 
>> If I set the permissions rwxrwx--- they can delete the directory
>> 
>> Any suggestions welcome
>> 
>> Kevin.
>> 
>> -- 
>> Irish Linux Users Group
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "ILUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to [email protected] <mailto:[email protected]>.
>> To post to this group, send email to [email protected] <mailto:[email protected]>.
>> Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
>> To view this discussion on the web, visit
>> https://groups.google.com/a/linux.ie/d/msgid/ilug/86c78288-21cd-4d1f-9933-b8851edb5cd8%40linux.ie
>> <https://groups.google.com/a/linux.ie/d/msgid/ilug/86c78288-21cd-4d1f-9933-b8851edb5cd8%40linux.ie?utm_medium=email&utm_source=footer>.
> 
> -- 
> Irish Linux Users Group
> --- 
> You received this message because you are subscribed to the Google Groups "ILUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To post to this group, send an email to [email protected].
> Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
> To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/19edeecf-c56d-37e2-c5c3-71262427b892%40420blaze.it.

-- 
Irish Linux Users Group
--- 
You received this message because you are subscribed to the Google Groups "ILUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/194C4CE4-EDA6-4AB2-9B75-B7F6E0347E9F%40gmail.com.