|
From: | Michael Albinus |
Subject: | bug#13226: 24.3.50; set-file-acl on MS Windows shall check ACL string format |
Date: | Wed, 19 Dec 2012 15:59:05 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <monnier@IRO.UMontreal.CA> writes: >> (file-acl "/plink:albinus@ford:~/.emacs") > >> "user::rwx >> group::rwx >> other::r-x >> " > > BTW, the above is 100% redundant with the file-modes info. Is there > some way to get "the ACL data minus the part that's already in > file-modes". E.g. in the above case it could return nil. The "getfacl" command has the "--skip-base" option: --8<---------------cut here---------------start------------->8--- ~> getfacl --access --omit-header ~/.emacs 2>/dev/null user::rwx group::rwx other::r-x ~> getfacl --access --omit-header --skip-base ~/.emacs ~> --8<---------------cut here---------------end--------------->8--- I could apply this. And it shall be possible in the native Ffile_acl function as well. Romain? > Stefan Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |