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: Sat, 29 Dec 2012 19:50:52 +0200

> Date: Sat, 29 Dec 2012 19:20:30 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > From: Stefan Monnier <address@hidden>
> > Cc: address@hidden,  address@hidden
> > Date: Sun, 23 Dec 2012 08:37:52 -0500
> > 
> > >> > +       (ignore-errors
> > >> > +       (set-file-extended-attributes to-name extended-attributes))))
> > >> I'd use something like with-demoted-errors instead.
> > > What about the race condition pointed out by Paul?  Should we try
> > > set-file-extended-attributes first, and fall back on set-file-modes if
> > > that fails (after displaying a message)?
> > 
> > That sounds fine, yes.
> 
> Now done on the trunk.

One side effect of these changes is that set-file-acl and
set-file-selinux-context now return t when they succeeded to set the
ACLs resp. SELinux context, and nil otherwise.  Micheal, could you
please adapt the Tramp handlers to this paradigm?  Thanks.



reply via email to

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