0

so ubuntu noob here but I'm in a group with different people having different usernames. So I made a directory, and I want to share this with a single user from that group. How do I achieve this? I want to give rwx access.

Thank you!!

ai_boy
  • 71

1 Answers1

1

You can use setfacl

setfacl -m u:username:rwx myfolder

This sets permissions for specific users, without changing the ownership of the directory.

Prvt_Yadav
  • 444
  • 8
  • 17
  • thanks! I actually tried it but I got the error setfacl: folder_name operation not supported. Unfortunately I don't have root access so I can't try apt-get. Could you please suggest what to do? – ai_boy Nov 07 '18 at 06:08
  • @ai_boy check this one https://unix.stackexchange.com/q/402415/255251 – Prvt_Yadav Nov 07 '18 at 06:11