|
Re: [sshfs] sshfs: pwd writes to standard err not to standard out - error w: msg#00020file-systems.fuse.sshfs
Hi Miklos, thank you very much for your feedback. Please find attached the outputs of executing pwd and /bin/pwd Regards Bernd On Thursday 14 December 2006 12:14, Miklos Szeredi wrote: > > we are currently experimenting with replacing client sided nfs mounts > > with sshfs, since this has significant security advantages. At a first > > glance, sshfs seams to be really a great alternative. Thank you very much > > for your great work! > > > > Of course there are still some open issues. The feature request for > > implementing locking was also one of the first observations when trying > > to use sshfs for mounting remote home directories ;-) since this prevents > > KDE from running properly. > > This is a limitation of the SFTP protcol, not the client. Protocol > changes would require changes to the sftp-server from the OpenSSH > package as well, which is currently outside the scope of this project. > > > When testing various applications, I found that acroread (version 7.0.8) > > does not work properly if it is invoked from an sshfs mounted directory. > > After looking at the wrapper script, I found out that the problem is that > > pwd prints it's output to standard error instead standard out: The > > acroread wrapper script contains the line > > > > cwd="`/bin/pwd 2> /dev/null`" > > > > If this is invoked on a local file system, cwd is assigned the correct > > value. If it is invoked within a sshfs mounted directory, cwd will be > > empty since pwd writes the output to standard error. > > > > Yet another very strange observation: if I issue the command > > > > $ /bin/pwd > > > > I get the error message > > > > /bin/pwd: couldn't find directory entry in `..' with matching i-node > > > > using > > > > pwd > > > > however returns on standard error the current working directory ... This > > is even more strange, since pwd is actually /bin/pwd. > > can you try > > strace /bin/pwd > > Thanks, > Miklos
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Fuse-sshfs mailing list Fuse-sshfs@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/fuse-sshfs |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [sshfs] sshfs issue: 00020, Miklos Szeredi |
|---|---|
| Next by Date: | Re: [sshfs] sshfs: pwd writes to standard err not to standard out - error when starting acroread: 00020, Miklos Szeredi |
| Previous by Thread: | Re: [sshfs] sshfs: pwd writes to standard err not to standard out - error when starting acroreadi: 00020, Miklos Szeredi |
| Next by Thread: | Re: [sshfs] sshfs: pwd writes to standard err not to standard out - error when starting acroread: 00020, Miklos Szeredi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |