Patrick O'Callaghan escreveu:
On Tue, 2008-03-11 at 12:50 +0100, Tomasz Torcz wrote:
Permissions do not change. ACLs do. ACLs are in unix world since 1995 or longer. ACL are available in linux since about 2001. People should get used to them already.
# lsattr /dev/*snd*
lsattr: Operation not supported While reading flags
on /dev/snd/controlC0
lsattr: Operation not supported While reading flags on /dev/snd/hwC0D2
lsattr: Operation not supported While reading flags on /dev/snd/pcmC0D0c
lsattr: Operation not supported While reading flags on /dev/snd/pcmC0D0p
lsattr: Operation not supported While reading flags on /dev/snd/seq
lsattr: Operation not supported While reading flags on /dev/snd/timer
It's getfacl, not lsattr. I also tought of attr first, it took me some
rummaging in the man pages to get it right. The sad truth is that rwx
permissions are enough for 99.9999% or everybody's needs so ACLs are
seldom thought of.
Juan