Sudo and limited rights

Patrick Boutilier boutilpj at ednet.ns.ca
Mon Oct 31 12:44:11 UTC 2011


On 10/31/2011 09:43 AM, Anne Wilson 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?
>
> Anne

As root what does ls -l /var/log/dmesg show?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 297 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20111031/3733cdee/attachment.vcf 


More information about the kde mailing list