Visit Jeremy's Blog.
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 05-02-2003, 11:19 AM   #1
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
Permissions question

I am going to switch OSes from RH8.0 to RH9.0. I plan on doing a full reinstall, but I have three hard drives on the server. One has the OS and apps, the other is used for a file server, and the third is a backup. I'm only going to be formatting the OS drive. Will there be any permission issues in accessing the other two drives after I reinstall?

Will I have to create the same user accounts again in order to regain access to everything? If not, could you explain the mechanics behind it?
Old 05-02-2003, 12:16 PM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Users will need to be recreated. But you could write a script to parse (from your current OS HDD) the /etc/passwd and /etc/shadow ... and write the neccessary useradd command line parameters to a file which you will later be executing on the freshly installed one. Also, did you consider the update option ?
Old 05-02-2003, 12:56 PM   #3
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I've got several issues with the OS that after constant discussion with Redhat on bugzilla have not been resolved. Therefore I want a clean, fresh install.

I think what I'll do is just chmod 777 both drives entirely and see how that works. Then I can just recreate the users and chown the files, chmod them back (and this is a well organized file system... a couple recursive chmods will do the job) and be done with it.

Thanks for the info.
Old 05-02-2003, 03:37 PM   #4
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Or you could leave everything as it is and simply recreate the same users when you do the new install. That's all it takes....
Old 05-02-2003, 04:33 PM   #5
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
777 is a bad idea *search google for answer*

chown -R bobbyJoe.bobbyJoe /path/to/files

to have bobbyJoe free access those files.


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
Question about permissions UnforgotteN Linux - Distributions 6 05-18-2005 08:51 PM
Permissions question sammckee Linux - Newbie 3 09-23-2003 10:55 AM
Permissions question... phil1076 Linux - General 3 09-03-2003 10:50 AM
Permissions Question? gsmonk Linux - General 3 08-27-2003 03:30 PM
Permissions Question jkraeger Linux - General 1 02-25-2003 10:54 AM > Forums > Linux Forums > Linux - Newbie

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