LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-19-2008, 11:49 PM   #1
fasijee
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
user access?


i apply 777 permission to a file but i want to remove option to only owners hand how can i ???
 
Old 07-20-2008, 12:39 AM   #2
gregg_a_g
LQ Newbie
 
Registered: Dec 2002
Posts: 9

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


Reply


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
squid "access.log" access denied no user name jatender Linux - Server 1 10-02-2007 05:28 AM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 06:49 PM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 01:04 AM
where I can find user type Access gorup type and access satishpatel Linux - General 0 04-07-2004 06:29 AM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 PM.

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