Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: garfstudio on November 17, 2020, 03:33:01 pm

Title: folder rights assignment error
Post by: garfstudio on November 17, 2020, 03:33:01 pm
Hello everyone.
i can't assign rights on shared folders from zential web panel. Everything goes well, the system registers but the pc wondows give error access. Has anyone had the same problem?

Thanks
Title: Re: folder rights assignment error
Post by: doncamilo on November 17, 2020, 04:52:05 pm
 :)

Compare the permissions granted on the shares and the ACLs effectively configured in your shared folders:

Code: [Select]
sudo testparm
sudo getfacl /home/samba/shares/<your-shared-folder>

Paste here these commands outputs.

Cheers!
Title: Re: folder rights assignment error
Post by: garfstudio on November 17, 2020, 06:11:30 pm
ok, i saw that a user is missing. Instead it is present on the zentyal web page. Why?

...
root@dc1:~# getfacl /home/samba/shares/03_IB_PRODUZIONE
getfacl: Removing leading '/' from absolute path names
# file: home/samba/shares/03_IB_PRODUZIONE
# owner: root
# group: adm
user::rwx
user:root:rwx
user:GSVDESIGN\134gferrari:rwx
user:GSVDESIGN\134mfiore:rwx
user:GSVDESIGN\134pdegiorgio:rwx
user:GSVDESIGN\134sdionisi:rwx
user:GSVDESIGN\134mlucconi:rwx
user:GSVDESIGN\134ddiventura:rwx
user:GSVDESIGN\134pdeglieffetti:rwx
user:GSVDESIGN\134dpalmieri:rwx
group::rwx
group:adm:rwx
group:GSVDESIGN\134domain\040admins:rwx
group:GSVDESIGN\134work_ib:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:GSVDESIGN\134gferrari:rwx
default:user:GSVDESIGN\134mfiore:rwx
default:user:GSVDESIGN\134pdegiorgio:rwx
default:user:GSVDESIGN\134sdionisi:rwx
default:user:GSVDESIGN\134mlucconi:rwx
default:user:GSVDESIGN\134ddiventura:rwx
default:user:GSVDESIGN\134pdeglieffetti:rwx
default:user:GSVDESIGN\134dpalmieri:rwx
default:group::rwx
default:group:adm:rwx
default:group:GSVDESIGN\134domain\040admins:rwx
default:group:GSVDESIGN\134work_ib:rwx
default:mask::rwx
default:other::---

root@dc1:~# ^C
root@dc1:~#
Title: Re: folder rights assignment error
Post by: garfstudio on November 20, 2020, 03:20:53 pm
hi, I also tried to assign the rights directly from the web page with firefox of the virtual machine. Nothing new users are written. Qulacuno has an idea?
Title: Re: folder rights assignment error
Post by: doncamilo on November 20, 2020, 03:39:53 pm
 :)

Try to create groups of users instead of defining permissions one by one, and use these groups to configure the acl's in the file-sharing module..
When you'll save the changes Zentyal will regenerate the acl's of the folders.

Cheers!