tramp-devel
[Top][All Lists]
Advanced

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

scp method fails setting rights


From: Isak Johnsson
Subject: scp method fails setting rights
Date: Tue, 4 Jan 2005 11:05:19 +0100

Hello!

I'm using GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.4.0) of 2004-07-13 with Tramp 2.0.39.

Saving a file on a remote server using scp fails if I'm not the owner of the file, even though I've write permissions to both the file and its directory.

The reason is, I believe, that scp reports failure setting permissions on the file, which I'm not allowed to do because I'm not the owner.

A solution would be to just not alter the permissions on existing files. Unfortunately scp has no option for this, the only one is -p to "Preserves modification times, access times, and modes from the original file". I guess that it's possible to use this and afterwards touch the file, but it sounds a bit awkward. What do you think?

Would it be a good thing to make tramp ignore this particular error?

Or, should I just choose another method than scp?

Thanks in advance, and a happy new year to you all!

Isak Johnsson





reply via email to

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