About to re-install: Secondary HD concerns.

Asked by Derek White

I am about to re-install 9.04. I have a secondary HD and would like to prepare for what needs done when I re-install, if anything.

I assume Ubuntu will find and mount it using the label, like it does now.

Will I just need to chown -R? Will I even have to do anything if I use the same username?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Thomas Krüger
Solved:
Last query:
Last reply:
Revision history for this message
Best Thomas Krüger (thkrueger) said :
#1

If you reinstall the OS there security context of the file system will keep intact. The permissions are stored by a numeric id (run "id" to see your's). The first user account on Ubuntu has the id 1000. So it should be able to access what the first user on the old system was able to access regardless of the username.

BTW: if you do a "chown -R" make sure not just to copy over system files like lets say in /etc. That could also overwrite the security context and reduce your system security.

Revision history for this message
Derek White (d-man97) said :
#2

Thank you for your answer.

I completed the re-install. The same uid was kept; so, as you stated, all permissions worked just fine.

It was a secondary drive (data backup/misc. files), so system security was not a factor.

Revision history for this message
Derek White (d-man97) said :
#3

Thanks Thomas Krüger, that solved my question.