You are not logged in.

#1 2021-06-02 08:29:36

PowaBanga
Member
Registered: 2021-04-05
Posts: 22

Samba, permission denied ???

Hi everyone
I am trying to share a folder with nemo-share, but it return this error to me :

return error 255:net usershare:cannot open usershare. Error Permission denied. You do not have permission to creae a usershare. Ask your administrator to create a user share. ask your administrator to grant you permission to creae shareµ

However, permission are correct... :

groups powabanga
wheel users autologin sambashare powabanga
ls -l /var/lib/samba/
total 1356
-rw------- 1 root root       421888  1 jun 23:53 account_policy.tdb
drwxrwx--- 2 root root         4096 19 déc 08:07 bind-dns
-rw------- 1 root root          696  1 jun 23:53 group_mapping.tdb
drwx------ 3 root root         4096  1 jun 23:53 private
-rw------- 1 root root       528384  1 jun 23:53 registry.tdb
-rw------- 1 root root       421888  1 jun 23:53 share_info.tdb
drwxrwx--T 2 root sambashare   4096  1 jun 23:45 usershares
cat /etc/samba/smb.conf 
[global]
workgroup = WORKGROUP
security = user
map to guest = bad user
guest account = guest
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
hosts allow = 192.168.0.0/24

[guest]
    comment = guest
    path = /tmp/
    public = yes
    only guest = yes
    writable = yes
    printable = no

I don't succed to identify what is wrong. If anyone can help me, that would be great smile

Offline

Board footer

Powered by FluxBB