Re: sshfs and sed -i

2008-09-09 Thread Johannes Wiedersich
On 2008-09-09 08:40, Johann Spies wrote: > What does "ls -l testfilec" show you about the permissions and > ownership on the file? Thanks for your help. The culprit seems to be the 'non-posix-conformality' of OpenSSH (see my other post). Cheers, Johannes signature.asc Description: OpenPGP digi

[solved] Re: sshfs and sed -i

2008-09-09 Thread Johannes Wiedersich
On 2008-09-08 17:27, Johannes Wiedersich wrote: > On lenny, I have mounted a remote directory via sshfs: > $ sshfs [EMAIL PROTECTED]:/path/to/dir dir > > $ sed -i s/foo/bar/ testfilec > sed: cannot rename ./sedz1MMtd: Operation not permitted This seems to be related to this point in //usr/sh

Re: sshfs and sed -i

2008-09-08 Thread Johann Spies
On Mon, Sep 08, 2008 at 05:27:18PM +0200, Johannes Wiedersich wrote: > On lenny, I have mounted a remote directory via sshfs: > $ sshfs [EMAIL PROTECTED]:/path/to/dir dir > > Within dir I can touch, cp, mv or edit files at will (as expected by the > permissions). > > $ touch testfile > $ nano tes

sshfs and sed -i

2008-09-08 Thread Johannes Wiedersich
On lenny, I have mounted a remote directory via sshfs: $ sshfs [EMAIL PROTECTED]:/path/to/dir dir Within dir I can touch, cp, mv or edit files at will (as expected by the permissions). $ touch testfile $ nano testfile $ mv testfile testfilea $ cp testfilea testfilec $ sed s/foo/bar/ testfilec baz