From: Dawid <da...@kl...> - 2006-12-08 12:01:59
|
On Fri, 08 Dec 2006 12:33:42 +0100 Miklos Szeredi <mi...@sz...> 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. --=20 Regards, Dawid Wr=F3bel mailto:da...@kl... |