-   Linux - Newbie (
-   -   File permission to specific user ! (

noony123 01-13-2011 05:36 AM

File permission to specific user !
Hi all,

i have created a file (by root user) called test.txt. Then i created a user bob. Now i want only bob to read/write/execute this file and no other user shall have any permission on it.

How can i do it ?

sycamorex 01-13-2011 05:42 AM

First you need to change the owner of the file to bob and then grant read/write/execute permissions only to the user (bob).
Have a look at the following article:

grail 01-13-2011 05:42 AM

Have a look at chown and chmod.

noony123 01-13-2011 07:11 AM

Thanks a lot guys :-)

All times are GMT -5. The time now is 01:39 AM.