[Samba] Elementary questions
mutetella at denkdran.org
Thu Jan 1 07:03:14 MST 2015
don't know if this is the right place for my elementary questions. But
after searching and reading a lot I still have no exhaustive answers for
If I connect to a samba share via
mount -t cifs //[SERVER]/[SHARE] /[MOUNTPOINT] -o user=[USER]
everything I do within /[MOUNTPOINT] I do as user [USER] on [SERVER]
independently of that user I'm logged in on the client. If this is
correct I don't understand the following:
- On server side there is an user `mutetella` which belongs to group
- A share `public` is defined via
path = /srv/public
guest ok = yes
browsable = yes
write list = @sippe
- The path `/srv/public` owns to `root:sippe`.
- If `/srv/public` has 770 rights and the client has mounted the share
via ``mount -t cifs //[SERVER]/public /[MOUNTPOINT] -o
user=mutetella`` on client sied I only have reading access.
- If `/srv/public` has 777 rights on client side I have read/write access.
Why the path of this share needs world read/write permissions?
Thanks for your help!
More information about the samba