Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-15-2010, 03:30 AM   #1
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
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 ?

Old 12-15-2010, 03:43 AM   #2
LQ Newbie
Registered: Aug 2004
Posts: 9

Rep: Reputation: 1
Permissions '111' mean that no-one can read or write to the file. This is Linux security at work.
Old 12-15-2010, 03:59 AM   #3
LQ Newbie
Registered: Dec 2010
Posts: 2

Rep: Reputation: 1
Originally Posted by jalalski View Post
Permissions '111' mean that no-one can read or write to the file. This is Linux security at work.
exactly ...
Old 12-15-2010, 05:34 AM   #4
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Add a system group and assign it to the user and change the file owner group , is it ok ?

Old 12-15-2010, 07:05 AM   #5
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,064

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any log file for checking file permission change history in RHEL 5.1? bilalcochin Linux - Newbie 3 04-02-2010 10:57 AM
change file permission of a mouse device file permanently alexandre_fs Linux - General 5 01-09-2007 07:30 AM
mass file permission change help mattd7591 Linux - Security 4 07-31-2006 11:03 AM
how to change the file permission ?? AK prince Slackware 17 08-05-2005 01:16 PM
Cannot Change File Permission dsuratman Linux - Newbie 12 11-03-2003 02:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration