LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-21-2009, 11:09 AM   #1
linuxFreshMan
Member
 
Registered: Nov 2009
Distribution: Ubuntu 9, RedHatLinux
Posts: 46

Rep: Reputation: 0
Exclamation What are the steps to change the default permissions of the whole file system


Hi every one, i really want some help about this, my questions is how can i be able to change the default permissions for all files i make.. in other words, how to change the default permissions permanently without the need of changing them individually.. even if i halted the system i want my new file permissions to be saved.. i really hope that i made it clear. thanks a lot and help shall be appreciated..
 
Old 11-21-2009, 11:24 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

If your looking to set default permissions to files and directories you create then look into umask
Code:
man umask
This explains it a little bit: Understanding umask

Kind regards,

Eric
 
Old 11-21-2009, 11:45 AM   #3
linuxFreshMan
Member
 
Registered: Nov 2009
Distribution: Ubuntu 9, RedHatLinux
Posts: 46

Original Poster
Rep: Reputation: 0
thanks a lot dear EricTRA it really helped..
 
Old 11-21-2009, 11:46 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
You're welcome

Kind regards,

Eric
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing default file permissions upon file creation ceci2 Linux - Newbie 7 10-01-2009 08:27 AM
What config file do you change to change default run level McPriMa Linux - Newbie 2 08-05-2009 05:45 PM
Default File Permissions? dmccauley Linux - Newbie 2 02-22-2006 02:08 PM
how to restore the default file permissions (whole system) ? bbbb Linux - General 2 11-05-2005 05:10 AM
Change default file permissions bmorel Linux - Newbie 4 05-08-2005 08:06 PM


All times are GMT -5. The time now is 07:45 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration