If I am not the file' owner or root, can I use chmod to change the file permission?
Assume I have group/write access to the file, e.g. 775
|
If I am not the file' owner or root, can I use chmod to change the file permission? Assume I have group/write access to the file, e.g. 775 |
|||
|
|
|
In a nutshell: No, you can't do that. Just for the plain reason that you could "steal" another user's file (related source):
There was another question on SO dealing with this here. The trick is to let |
|||
|
|
|
Basic answer is no, unless you have specific rights through the group you and the file is in. |
|||
|
|