LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2003, 10:40 PM   #1
rootbryan
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
change permitions


How can i do to change permissions of all type?
and specially
How can i do to change permissions to mount/unmount devices?
 
Old 09-13-2003, 11:40 PM   #2
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
To change permissions on a file, you would use the "chmod" command type "man chmod" at the console to learn more.
But basic syntax is like this "chmod ??? /file"
Where ??? is the permissions you want to assign it can be a combination of rwx,
The first ? is for you the owner of the file
The second ? is for the group that owns that file
The third ? is for everyone else
you would be better off learn about the number system ie 777
also look into sticky bits and guid etc.

To change permissions on mounting issues look at the /etc/fstab file.
It has the permissions in there for mounted filesystems once again you can "man fstab" to learn more.
 
  


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
Fat32 permitions jocast Linux - Software 10 01-05-2005 10:09 AM
File permitions jocast Linux - Networking 3 08-24-2004 10:16 PM
Mounting permitions / fstab Exio Linux - Hardware 1 05-18-2004 05:56 PM
No write permitions :( Exio Linux - Networking 8 05-16-2004 05:10 PM
Permitions to groups dtournas Linux - Newbie 5 08-29-2003 11:31 AM


All times are GMT -5. The time now is 11:17 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