--- 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 ---