emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#9002: closed (file-error Doing chown operation n


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#9002: closed (file-error Doing chown operation not permitted)
Date: Sat, 16 Jul 2011 22:00:04 +0000

Your message dated Sat, 16 Jul 2011 14:59:10 -0700
with message-id <address@hidden>
and subject line Re: bug#9002: file-error Doing chown operation not permitted
has caused the GNU bug report #9002,
regarding file-error Doing chown operation not permitted
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9002
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: file-error Doing chown operation not permitted Date: Tue, 05 Jul 2011 20:55:51 +0800
R runs the command dired-do-rename.

Try this:

Have two directories, both owned by you, but on separate disks.

Try to move a file that is NOT owned by you from one to the other.

Move `/cf/updates/df.j3d' to `/home/jidanni/df.j3d' failed:
(file-error Doing chown operation not permitted /home/jidanni/df.j3d)

That is because emacs is not using the mv(1) command like it should, but
instead resorting to a different error prone half home baked method or
something.

Tested on Debian.

P.S.,
file-error: Doing chown #looks better than
file-error Doing chown



--- End Message ---
--- Begin Message --- Subject: Re: bug#9002: file-error Doing chown operation not permitted Date: Sat, 16 Jul 2011 14:59:10 -0700 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
On 07/16/11 14:27, Glenn Morris wrote:
> Emacs 23.3 does not give this error, but the trunk does. This seems to
> be a result of the changes in
> 
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8306

Right you are, and thanks for reporting it.  I fixed it in
bzr 105261 on the trunk.  copy-file's help string says "try to
transfer the uid and gid", with the implication that it's OK
if the attempt fails and no diagnosis should be made.

The doc uses stronger language for file modes ("This function always
sets the file modes") so a diagnostic is more appropriate there
and I left that one alone.


--- End Message ---

reply via email to

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