Re: xampp install-wrong user name-tinycore linux
Posted: 12. January 2009 21:34
Usernames are just a nice visual style for the guy sitting in front of the monitor. If you want to access some folder, Linux is comparing your UID with the UID of the folder, and if you have sufficient rights, you will be able to access this folder. In tarballs, the uid, gid and permission of the file are saved. When you make an untar, then the uid and gid are restored. If these uid/gid does not exist on your computer then just the number is displayed. Because of this, all important usernames should have the same uid on every Linux system. root = 0 and nobody = highest available uid.
If you would now tar an folder inside your home directory, then your uid will be saved. Let's make an example:
On your system, user tc has the uid 1001. Now you tar the folder, and extract it on another computer. Let's assume you have an user called dummy with the uid 1001 on that other computer. After untaring the folder, it will look like this:
On a system without an user having the uid 1001 it would look like this:
You understand what i mean?
glitzi
If you would now tar an folder inside your home directory, then your uid will be saved. Let's make an example:
- Code: Select all
drwxr-xr-x tc root 1024 testfolder
On your system, user tc has the uid 1001. Now you tar the folder, and extract it on another computer. Let's assume you have an user called dummy with the uid 1001 on that other computer. After untaring the folder, it will look like this:
- Code: Select all
drwxr-xr-x dummy root 1024 testfolder
On a system without an user having the uid 1001 it would look like this:
- Code: Select all
drwxr-xr-x 1001 root 1024 testfolder
You understand what i mean?
glitzi