/srv/irclogs.ubuntu.com/2021/01/10/#ubuntu-server.txt

=== denningsrogue7 is now known as denningsrogue
=== Napsterbater is now known as Guest35284
=== Napsterbater_ is now known as Napsterbater
=== vlm_ is now known as vlm
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:26
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 data16:27
thebiffman_Results from getfacl command: https://pastebin.com/8K11Qpga16:28
thebiffman_I have set the share as writeable=yes in the samba configuration.16:29
=== denningsrogue4 is now known as denningsrogue
=== halvors1 is now known as halvors
ktosiekthebiffman_: are you sure the client logs in as "andreas"?20:45
ktosiekalso, just to make things clear: are you in a AD/Kerberos environment?20:45
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 samba21:02
thebiffman_So when I added read/write with ACL it stopped working21:02
thebiffman_Had to add X aswell21:02
ktosiekoh, 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:05
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:06
thebiffman_Will continue tomorrow, for now its sleepy times. THanks21:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!