Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On the client, exit and login as foo. The share is still mounted, but you can unmount and re-mount it if you want - foo is a member of group root and also a sudoer.
Either way, try to create a file:
cd /mnt/server
touch fromfoo
touch: creating `fromfoo': Permission denied.
Well, sure, that makes sense, after all the directory is owned by root, and it's 755, so only root can write on it...
But, does the directory really belong to root? The server doesn't think so, because if you look at that directory on the server (instead of from the client), you see:
Now, on the client, the directory /mnt/server IS owned by foo, with permissions 777... at least, until the mount, and then it changes to being owned by root with permissions 755, hence root can create a file but foo cannot.
Is this caused by the serve or the client? I'm inclined to believe it's the client, because we CAN create files from the Windoze clients.
What setup on server and/or client do we need in order to be able to see the "real" permissions - or if we can't do that, what do we do other than being root to be able to create files on the server's share?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.