=== 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 data | 16:27 |
thebiffman_ | Results from getfacl command: https://pastebin.com/8K11Qpga | 16: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 | ||
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? | 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 samba | 21:02 |
thebiffman_ | So when I added read/write with ACL it stopped working | 21:02 |
thebiffman_ | Had to add X aswell | 21:02 |
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: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. THanks | 21:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!