Author Topic: Zentyal 4.2 samba files permission  (Read 2025 times)

BrunovonTroba

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +3/-0
    • View Profile
Zentyal 4.2 samba files permission
« on: November 20, 2015, 02:57:34 pm »
Problem:
Share created with RW permission for group "all" and Admin permission for group "domain admins"
One person can't delete file created by other
In this case file permissions are 664, dir are 770

Changed to:
Share changed to Admin for group "all" and admin for group "domain admins"
Still one person can't delete file created by other
File permissions are 664, dir are 775

Is there any way for more than 1 person to share file permissions?

EDIT: Problem only occurs if files are already in folders (moved with disks from old system and placed in folders through console). ACL checkbox does nothing, any changes are not submitted to file rights after changing file permisions.
New files transferred through network to server looks and works ok.
« Last Edit: November 20, 2015, 03:39:32 pm by BrunovonTroba »

BrunovonTroba

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +3/-0
    • View Profile
Re: Zentyal 4.2 samba files permission
« Reply #1 on: November 28, 2015, 05:33:56 pm »
Ok, i found, what was a problem - I am mounting volumes "by hand" as early prepared or already existing but assigning new Zentyal. The problem was that i did not mount them with proper acl option. The right way is:
mount -o rw,acl,user_xattr,usrquota,grpquota -L "volumelabel" /mountpoint
or
mount -o rw,acl,user_xattr,usrquota,grpquota /dev/md0 /mountpoint
or in fstab same way as / volume
But...
it does not resolve problems with ACL change when try to change it from dashboard - existing files ACL's are not changing to proper one to give right permisions to files (it worked fine on Zential 2.2)