Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

smb.conf :

[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 chmod 700

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 ?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.