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: Eli Zaretskii
Subject: Re: set-file-extended-attributes and backups
Date: Sun, 23 Dec 2012 19:35:12 +0200

> From: Romain Francoise <address@hidden>
> Cc: Paul Eggert <address@hidden>,  address@hidden
> Date: Sun, 23 Dec 2012 17:59:52 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > How about if it tried to copy ACLs, and if that failed, attempted to
> > copy the file modes?  That would DTRT if possible, and fall back on
> > the pre-ACL method if not.
> 
> If we do that we need to change `set-file-acl' to treat ENOTSUP as an
> error otherwise modes won't be copied on filesystems without ACL support.

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.



reply via email to

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