Sudo and limited rights

Andrew Parker andrewparker at bigfoot.com
Mon Oct 31 16:06:00 UTC 2011


On Mon, Oct 31, 2011 at 8:43 AM, Anne Wilson <cannewilson at googlemail.com> wrote:
> On Monday 31 Oct 2011 12:27:56 Thomas Moschny wrote:
>> 2011/10/31 Patrick Boutilier <boutilpj at ednet.ns.ca>:
>> > [...]
>> > setfacl -R -m u:$user:r /var/log/
>> > setfacl -d -R -m u:$user:r /var/log/
>>
>> You also need to set x bits (note capital X):
>> setfacl -R -m u:$user:rX /var/log/
>> setfacl -d -R -m u:$user:rX /var/log/
>>
> [root at borg2 ~]# setfacl -R -m u:anne:rX /var/log/
> [root at borg2 ~]# setfacl -d -R -m u:anne:rX /var/log/
> [root at borg2 ~]# > tail /var/log/dmesg
> -bash: /var/log/dmesg: Permission denied
>
> Hmm - am I missing something?

Do you have ACLs enabled on that mountpoint?


More information about the kde mailing list