T
T
Twelfth Doctor2017-08-04 12:21:36
linux
Twelfth Doctor, 2017-08-04 12:21:36

Why is ACL not working?

Hello! I put ACL rights on the directory But for some reason I can't create a file on behalf of the superb user in the /home/u26 folder
[email protected]:~# setfacl -Rdm u:superb:rw /home/u26

[email protected]:/# cd /home/u26
[email protected]:/home/u26# su superb
[email protected]:/home/u26$ touch test.txt
touch: cannot touch 'test.txt': Permission denied

In /etc/fstab I wrote:
/dev/vda      /             ext4      defaults,acl,noatime errors=remount-ro  0 1

After changes in /etc/fstab restarted the server.
Ubuntu Server OS 16.04
UPD:
Probably some kind of bug in /etc/fstab because mount -a throws an error
[email protected]:/# mount -a
mount: /etc/fstab: parse error: ignore entry at line 1.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2017-08-04
@verdex

noatime errors
Comma is missing

M
Maxim Terentiev, 2017-08-05
@maxitso

you gave the rights to read, write, but did not give execution (x), that is, the user will not be able to get into the directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question