I'm trying to add a user to have permission to access a particular directory on a linux filesystem.
I saw this answer here: https://superuser.com/questions/235297/allow-specific-user-permission-to-read-write-my-folder, and ran:
setfacl -m user:tom:rwx /home/to/folder
However, when I run
ls -l the user is not shown as having access to the directory, and I cannot access it as that user.
Is there another way to add a particular user to the directory? I don't want to add the user as the owner of the directory, or add the user to the owner group as this would affect that users' access across the entire system.
Any help would be greatly appreciated!