Giving a single user write permissions
If filesystem is mounted with the acl
option (default in ext4 in any modern Ubuntu - if not, add it to /etc/fstab
), you can use setfacl
:
setfacl -m u:USERNAME:r FILENAME
would give user USERNAME read access to FILENAME.