LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   user access? (https://www.linuxquestions.org/questions/linux-newbie-8/user-access-656924/)

fasijee 07-19-2008 10:49 PM

user access?
 
i apply 777 permission to a file but i want to remove option to only owners hand how can i ???

gregg_a_g 07-19-2008 11:39 PM

Look at the documentation for "chmod".

In a shell (command prompt) type:

man chmod


"chmod" changes file mode bits, or permissions.

If you type:

chmod go-rwx

this will change mode (permission) for g (group) and o (others)
by removing (this is the -) r (read) w (write) x(execute).
This leaves only u (user) with read, write and execute permission.

After you do this, if you decide you want to give everyone read permission, you could type:

chmod go+r

and then g (group) and o (others) would get (this is the +) r (read) permission.


All times are GMT -5. The time now is 12:42 AM.