The scenario :
- Server 1 is a samba file server
- Client1 is Ubuntu 12.04 desktop
In server1 i have configured samba to share A Parent directory called shared , shared contain three sub-folders user1,user2,user3.
[share] security = share valid users = user1,user2,user3 comment = Nour path = /srv/samba/shared browsable = yes guest ok = no read only = no create mask = 0777
I give change the owner for each folder to each user , for example user1 is the owner of folder user1 .
I give the folder permission
The problem is when i connect to the share folder from Ubuntu through connect to server and make the folder as bookmark , all is well and no problem , but when i use fstab to mount shared the permission for user1 on folder user1 is not even to read (access is denied)
om fstab :
//server/shared /mnt/share cifs rw,username=user1,password=123 00
what is the problem ?