| To: | Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Changing ACLs as non-owner |
| From: | Jan Strohbehn <jstrohbehn@xxxxxxxxxx> |
| Date: | Fri, 8 Jun 2001 07:59:13 +0200 (CEST) |
| Cc: | <linux-xfs@xxxxxxxxxxx> |
| In-reply-to: | <20010608142514.W237728@boing.melbourne.sgi.com> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
Hi Tim!! Thanks for this hint! Just tried it and it works (altough I just know how to set caps for the whole system). A little bit off topic, but can anyone tell me how to set this for a single process (or just point me to any documentation about this ;-) Thank you, Jan > > Is it possible to set ACLs on a file or directory if you are not the > > native owner (e.g. member of the primary group) ??? > > > To change the ACL you need to be the owner or have > CAP_FOWNER capability. > > >From the code: > if (!error && va.va_uid != current->fsuid && > !capable(CAP_FOWNER)) > error = EACCES; > > --Tim > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Changing ACLs as non-owner, Jan Strohbehn |
|---|---|
| Next by Date: | Re: cvsup, Steve Lord |
| Previous by Thread: | Re: Changing ACLs as non-owner, Jan Strohbehn |
| Next by Thread: | mounting xfs with specified access mode, Krzysztof Rusocki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |