LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 02: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, 07:07 AM   #2
r3sistance
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 07:08 AM.
 
Old 08-09-2009, 07:06 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 01:08 PM
Samba Permissions - RWX for all Users joshnya Linux - Newbie 2 05-17-2005 11:28 AM
RWX permissions w/ Knoppix? suprpenguin04 Linux - General 1 11-02-2004 11:41 AM
Question about ownership/permissions infornography Linux - Newbie 7 07-28-2004 05:57 AM
WinXp and Redhat Sharing RWX permissions mickboda Linux - General 1 03-14-2004 04:41 AM

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

All times are GMT -5. The time now is 10:07 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
Open Source Consulting | Domain Registration