Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-09-2009, 03:02 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Post effect of attempting change of /FS ownership or rwx permissions

my system (CentOs5.3) became erratic after i tried to change wholesale the ownership of the /FS. is it possible to change ownership or rwx permissions of files in linux? what is the safeguard available to preserve the consistency of the program files in linux against such an attempt by su?
Old 08-09-2009, 08:07 AM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Changing ownership of / is not a good idea. If you are placing private/secure data then the preferred way would be to use an encrypted filesystem that only you have the key for. You can create a folder say /home/user/<username>/ and change the ownership of that to whoever, however anything with root permissions can view anything within the filesystem. However An encrypted file system's out can only be veiwed in it's encrypted form without the private key and so encryption sounds like the way I would suggest.

So you could place it down as /home/user/<username>/private/ with the private directory being the root of the encrypted filesystem. However I could have misunderstood what you meant.

Last edited by r3sistance; 08-09-2009 at 08:08 AM.
Old 08-09-2009, 08:06 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
This page shows how to fix the perms and ownerships for you.
If you want to change the default perms anywhere other than your personal home dir, you really need to do some reading up. The installed defaults are pretty good.
As you are using CENTOS, I recommend these manuals:


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
Enabling rwx permissions on my removable USB hard disk? mejpark SUSE / openSUSE 11 10-10-2006 02:08 PM
Samba Permissions - RWX for all Users joshnya Linux - Newbie 2 05-17-2005 12:28 PM
RWX permissions w/ Knoppix? suprpenguin04 Linux - General 1 11-02-2004 12:41 PM
Question about ownership/permissions infornography Linux - Newbie 7 07-28-2004 06:57 AM
WinXp and Redhat Sharing RWX permissions mickboda Linux - General 1 03-14-2004 05:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

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