In Linux, I am user1 and my friend is user2 and we are in the same group. In my home, I set read and execute permission to one program says /home/user1/some_program
. How can I "grant" user2 to run /home/user1/some_program
from his session but run as my id? We are both not root.
setfacl -mu:username:rwx myfolder 或 myfile
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.