emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-file-extended-attributes and backups


From: Stefan Monnier
Subject: Re: set-file-extended-attributes and backups
Date: Sun, 23 Dec 2012 19:59:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> How about changing its return value instead?  Say, return t if ACLs
> set, nil otherwise.  It always bothers me to have an API that silently
> fails without any tangible indication.

I think it should fail (i.e. signal an error) for any case where the
file's ACLs were not set as requested.

The error signaled should be different for "ACLs not supported" and "you
do not have the right to set ACL on this file".


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]