You are not logged in.
I have file-server (server) that shares with samba.
I use file-server with two computer (cpu1, cpu2).
With cpu1 I connect to file-server with this (etc/fstab):
//192.168.0.1/baita /media/baita cifs username=example,password=password123,iocharset=utf8,rw 0 0
//192.168.0.1/pute /media/pute cifs username=example,password=password123,iocharset=utf8,rw 0 0With cpu2 I connect to file-server with this (autofs):
* -fstype=cifs,rw,iocharset=utf8,user=example,pass=password123 ://${host}/&I can access to file-server from both computers (cpu1,cpu2) without any problems.
I modified umask for every computer (/etc/profile):
#Set our umask
umask 0007But still I have problems with default permission. For example when directory is created permissions are:
drwxr-x--- 2 example users 4096 3.7. 19:53 testBut I want this:
drwxrwx--- 2 example users 4096 3.7. 19:53 testI want default permission for every created directory or file to be ug+rw, but now it is u+rw and g+r. How can I fix this?
Thank you!
Offline
you need to add the create mask parameter with your users shared directories in smb.conf,
create mask = 750
Offline