[linux] setfacl: subor: Permission denied

Oskar Stolc stolc na intrak.sk
Čtvrtek Září 5 14:48:11 CEST 2002


caute,


maturujem tu s acl-kami, mozno robim trivialnu chybu, ale neviem aku...


# cd /tmp
# mkdir test
# ls -ld test

drwxr-xr-x    2 root     root            6 Sep  5 14:32 test/

# cd test
# echo aaa > subor
# ls -l

-rw-r--r--    1 root     root            4 Sep  5 14:33 subor

# getfacl subor

# file: subor
# owner: root
# group: root
user::rw-
group::r--
other::r--

# setfacl -m u:stolc:rw- subor
# getfacl subor > acl
# cat acl

# file: subor
# owner: root
# group: root
user::rw-
user:stolc:rw-
group::r--
mask::rw-
other::r--

# rm subor
# echo aaa > subor
# setfacl --restore=acl

setfacl: subor: Permission denied



vie mi niekto pomoct?

Oskar





Další informace o konferenci linux