logo       

Re: [sshfs] follow_symlinks weird behaviour.: msg#00008

file-systems.fuse.sshfs

Subject: Re: [sshfs] follow_symlinks weird behaviour.

On Fri, 08 Dec 2006 12:33:42 +0100 Miklos Szeredi <miklos@xxxxxxxxxx>
wrote:

> Only if you use '-oallow_other'. Otherwise only the mounting user
> will be permitted to access the filesystem, which is what you want
> AFAICS.

Mmm indeed. I assumed that if the mountpoint dir is 755 after mounting,
other users can see what's inside as well, but actually all they can
see is:
[lolek@kromka mnt]$ ls -l /mnt
d????????? ? ? ? ? ? klej

I might be wrong but this looks rather hackish to me ;) Wouldn't it be
better if it set the correct permissions on mountpoint dir instead?
However currently we can avoid root from having a look inside the
mountpoint dir and that's nice as well.

> Yes, a new option could be added which does this for an arbitrary user
> instead of the mounting user, but a clearner and more secure solution
> is to just run the sshfs filesystem as user.
Best I guess would be to be able to start the sshfs as root and
drop privileges into the user given with -o. Same way kismet
does it, for example.

--
Regards,
Dawid Wróbel mailto:dawid@xxxxxxxx

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise