When I install xampp on a tinycore linux system the user/group name for the mysql directory, lan.tmp and config.inc.php files are all assigned to the root user. They should be assigned to nobody/nogroup since the mysqlserver is running under the nobody user. What needs to change in the install script to get the install right. This is for xampp 1.6.8a.

I had no problems with Xampp and any Linux distributions (SuSE, Ubuntu, Knoppix etc.), I think there is a problem with tinycore, not with Xampp. Usually the mysql files do not have ownsership nobody:nogroup on any distribution.

Yes I would agree there is something about tinycore linux that is perhaps confusing the install script. That's what I'm trying to track down. See the ps output list below. Notice there are two mysqlserver services running, mysqld-safe under root and mysqld under nobody. So does anybody have any ideas as to why the install script does this. What's tripping it up?

mysqld_safe is always running as root, that's necessary to acquire the port on the network interface. The main server is running under whatever user you want. In case of XAMPP it is user nobody.

Could you please post the exact path of the files you are talking about! There are a lot of MySQL files and most of them are owned by root:root, and that's normal. It is only necessary for a small amount of the xampp files to be owned by another user:group.

bigpcman wrote:/opt/lampp/var/mysql (assigned to root needs to be nobody)

Yes, that's correct. The mysql folder belongs to nobody:root, the subfolders and files are either owned by nobody:root or nobody:nogroup. If your permissions are wrong, then it could be a problem with the tar program. Ownership is saved in the tarball, so maybe there was an error during untar.

bigpcman wrote:/opt/lamp/phpmyadmin/confi.inc.php (same as above)

No, not really. Should be owned by root. The config file from an original PMA Installation is also owned by root.

bigpcman wrote:/opt/lampp/htdocs/xampp/lang.tmp (same as above)

[/quote]Yes, that should be also owned by nodboy, otherwise the language selection in XAMPP will not work.

Could be. A google search for "busybox tar" displayed a lot of results with tar problems in busybox. If you have enough space on your system, then you could install the original tar and try to install XAMPP again.

OK, now I'm really confused. I switched to bash as the shell script and installed xampp again, actually several times to see what I would end up with. Installing from the /home/tc directory xampp-linux-1.6.8a.tar.gz either as user tc or root ends up with the previously mentioned post files all being assigned user 65534 instead of nobody. There is no user 65534 on the system. Any ideas? I'm using "tar -xzvf /home/tc/xampp-linux-1.6.8a.tar.gz -C /opt"

OK, strange. Could you make a test and change the uid of nobody to 65534? That's the normal uid of this user (theoretically you can use everyone). I don't know how tar works, but maybe it is working with uid's instead of usernames.

Wow that worked. I changed the passwd and group file contents uid numbers to 65534 and now the xampp install does indeed end up with the user nobody assigned correctly. Can you explain what this means. Oh by the way I discovered that installing the bash shell did not actually change the tar command file so I have been running the busybox shell tar command all along no matter what shell I selected.