linux give user permission to folder owned by another user code example Example: how to give permission to a user in linux on a folder sudo chmod u+w myfolder