Change file permission
I have a file its file mode is 111 , a user want to update this file , but they are in different group , so can not update it , can advise if I want this user can read and write this file but remains the premission unchanged ( file mode : 111 ) , what can i do ?
Thanks |
Nothing.
Permissions '111' mean that no-one can read or write to the file. This is Linux security at work. |
Quote:
|
Add a system group and assign it to the user and change the file owner group , is it ok ?
Thx |
Presumably, there was some reason that the permissions were originally set this way; maybe it was a mistake, maybe there is a risk if the permissions are not very restricted.
Once you have considered that question, you should be in a position to say what the permissions should be (who should be able to do what). Then a reading of 'man chmod' should help you to do what you want. You should not just open up permissions on a file 'because someone wants it' without considering the potential consequences. |
All times are GMT -5. The time now is 03:46 PM. |