|
Re: [sshfs] follow_symlinks weird behaviour.: msg#00007file-systems.fuse.sshfs
> > If you'd start sshfs in the recommended way (as user, not from > > /etc/fstab), then all your problems would be solved, and sshfs would > > run as user not as root, which is more secure. > I am using fstab entry because of /etc/rc.d/netfs script provided with > my distro does 'mount -a -t smbfs,fuse,nfs,etc.'. I set > NetworkManager-Dispatcher to starat/stop this script when I am > connected/disconnected from the network. Thus it automatically mounts > and umounts network filesystems here. Both scripts are to be run as root > obviously. That's why I use the not recommended way of mounting. > > Anyway, what you suggested is not helping at all. The mountpoint > directory's permission are overwritten no matter if I am mounting as > root or not, so anyone can see anything inside. Only if you use '-oallow_other'. Otherwise only the mounting user will be permitted to access the filesystem, which is what you want AFAICS. 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. 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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [sshfs] follow_symlinks weird behaviour.: 00007, Dawid Wróbel |
|---|---|
| Next by Date: | Re: [sshfs] follow_symlinks weird behaviour.: 00007, Dawid Wróbel |
| Previous by Thread: | Re: [sshfs] follow_symlinks weird behaviour.i: 00007, Dawid Wróbel |
| Next by Thread: | Re: [sshfs] follow_symlinks weird behaviour.: 00007, Dawid Wróbel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |