Author Topic: folder rights assignment error  (Read 1219 times)

garfstudio

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
folder rights assignment error
« 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

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: folder rights assignment error
« Reply #1 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!
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,

garfstudio

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: folder rights assignment error
« Reply #2 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:~#

garfstudio

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: folder rights assignment error
« Reply #3 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?

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: folder rights assignment error
« Reply #4 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!
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,