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!!


You can use setfacl

setfacl -m u:username:rwx myfolder

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

  • 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 7 '18 at 6:08
  • @ai_boy check this one unix.stackexchange.com/q/402415/255251 – Prvt_Yadav Nov 7 '18 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.