LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-09-2009, 03:02 AM   #1
ruchinder
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
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,133

Rep: Reputation: 97
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
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,254

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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:
http://www.linuxtopia.org/online_boo...ide/index.html
http://www.linuxtopia.org/online_boo...ide/index.html
 
  


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
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


All times are GMT -5. The time now is 08:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration