all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Romain Francoise <romain@orebokech.com>, 13226@debbugs.gnu.org
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	[thread overview]
Message-ID: <87licuytom.fsf@gmx.de> (raw)
In-Reply-To: <jwvzk1anmce.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 19 Dec 2012 09:34:39 -0500")

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.





  reply	other threads:[~2012-12-19 14:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 12:24 bug#13226: 24.3.50; set-file-acl on MS Windows shall check ACL string format Michael Albinus
2012-12-19 14:32 ` Stefan Monnier
2012-12-19 14:38   ` Michael Albinus
2012-12-19 16:25     ` Eli Zaretskii
2012-12-19 16:33   ` Eli Zaretskii
2012-12-19 14:34 ` Stefan Monnier
2012-12-19 14:59   ` Michael Albinus [this message]
2012-12-19 15:46     ` Romain Francoise
2012-12-19 15:57       ` Michael Albinus
2012-12-19 16:29     ` Eli Zaretskii
2012-12-19 16:42       ` Romain Francoise
2012-12-19 16:56         ` Eli Zaretskii
2012-12-19 17:44           ` Michael Albinus
2012-12-19 18:36       ` Stefan Monnier
2012-12-19 21:18         ` Eli Zaretskii
2012-12-20  0:53           ` Stefan Monnier
2012-12-22 14:19             ` Eli Zaretskii
2013-01-04 13:20               ` Michael Albinus
2012-12-19 16:23 ` Eli Zaretskii
2012-12-19 16:55   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87licuytom.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=13226@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=romain@orebokech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.