You are not logged in.

#1 2015-07-13 14:19:10

tsaber
Member
Registered: 2015-04-10
Posts: 27

SAMBA can't mount second share "permission denied"[solved]

//tsabubeita/dl /mnt/sambat cifs uid=1000,gid=1000,credentials=/home/tsaber/samba,ip=192.168.2.7,x-systemd.automount 0 0
#//tsabubeita/dl2 /mnt/dambat cifs uid=1000,gid=1000,credentials=/home/tsaber/samba,ip=192.168.2.7,x-systemd.automount 0 0

when I uncomment the second line I get permission denied error.

the second line leads to sda3 which is already chmod 777 'nt

Help

6 hours I'm sitting here big_smile I can't stop.

EDIT: update

I changed the primary usergroup on the server as well as chmod 755 not only the directory of the share but all parent directories thereof.
After that it finally works

Last edited by tsaber (2015-07-13 19:22:23)

Offline

#2 2016-03-20 19:01:08

hduyudh
Member
Registered: 2016-03-13
Posts: 8

Re: SAMBA can't mount second share "permission denied"[solved]

Mind if you can share your smb.conf?

Offline

Board footer

Powered by FluxBB