[16:26] <thebiffman_> Hello. I am trying to setup a samba share ontop of my newly created raid 1 (mdadm raid) in my home network. I am having my usual trouble with access rights in linux. I want to be able to set read or read+write access on a per-user basis for the share/dir. After some searching it seems that ACLs could do the trick but I cant seem to get it to work. I can no longer access the share at all after adding my user to the acl rules.
[16:27] <thebiffman_> Its not a solution to simply change owner or something since I need to be able to set these permissions on several users, not just my user.
[16:27] <thebiffman_> Output from ls -lh: drwxrwxr-x+ 3 root root 4.0K Jan 10 13:28 data
[16:28] <thebiffman_> Results from getfacl command: https://pastebin.com/8K11Qpga
[16:29] <thebiffman_> I have set the share as writeable=yes in the samba configuration.
[20:45] <ktosiek> thebiffman_: are you sure the client logs in as "andreas"?
[20:45] <ktosiek> also, just to make things clear: are you in a AD/Kerberos environment?
[21:02] <thebiffman_> ktosiek: I figured it out, sorry that I forgot to write it here. The problem was that apparently the user needed execute access to be able to browse the folder over samba
[21:02] <thebiffman_> So when I added read/write with ACL it stopped working
[21:02] <thebiffman_> Had to add X aswell
[21:05] <ktosiek> oh, you are right, I've missed that! "execute" on directories has a different meaning than on files, no matter if it's local or over samba.
[21:06] <thebiffman_> Ah! There my noob knowledge about access management in Linux bites me in the behind again =) But you learn a little bit each time, so its all good.
[21:08] <thebiffman_> Will continue tomorrow, for now its sleepy times. THanks