Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-17-2007, 08:31 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2004
Distribution: Gentoo
Posts: 26
Rep:
|
sshfs vs. shfs
Anybody had experience enough with shfs and/or sshfs to compare/contrast the two? I'm having difficulty with shfs and a 2.6.20 linux kernel, but sshfs doesn't deal with file permissions quite as seamlessly.
Just looking for opinions and likes/dislikes for the two.
|
|
|
|
07-18-2007, 02:54 PM
|
#2
|
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,591
|
I had some permission problems with sshfs until I added some options ("sshfs --help" for details):
Code:
sshfs -o follow_symlinks,reconnect,workaround=rename user@host: /some/directory/
|
|
|
|
07-18-2007, 07:55 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2004
Distribution: Gentoo
Posts: 26
Original Poster
Rep:
|
Quote:
|
Originally Posted by macemoneta
I had some permission problems with sshfs until I added some options ("sshfs --help" for details):
Code:
sshfs -o follow_symlinks,reconnect,workaround=rename user@host: /some/directory/
|
Does this solve the problem/feature that all users accessing a mounted share have mount-owner privileges on that share? In other words, if root mounts a volume with the allow_other option set, then any action that user bob takes on that mounted share will be with the privileges that root has. In other words, bob can now delete files on the mounted share that he normally would not be allowed to, just because the share was mounted by root originally.
|
|
|
|
07-18-2007, 07:59 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2004
Distribution: Gentoo
Posts: 26
Original Poster
Rep:
|
Quote:
|
Originally Posted by airman99
Does this solve the problem/feature that all users accessing a mounted share have mount-owner privileges on that share? In other words, if root mounts a volume with the allow_other option set, then any action that user bob takes on that mounted share will be with the privileges that root has. In other words, bob can now delete files on the mounted share that he normally would not be allowed to, just because the share was mounted by root originally.
|
Well, looks like the option default_permissions takes care of the above issue and causes the kernel to check permissions like what would occur on a local volume.
That's what happens when you sit down and actually read the documentation. :-)
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|