Odd file ownership

lbauer

Verified User
Joined
Dec 26, 2004
Messages
16
Hello,

I just did a fresh install of DA, and added my first User. I noticed that when I logged in as the user, It showed that he had used 26mb of space, which was way too high. This users id number in /etc/passwd was 501. So I did a:

find / -user 501

and it listed the users files, but also a bunch of files in:

/usr/local/directadmin/customapache/
/var/www/icons
/var/www/html
/var/www/manual

If I had to guess, it might be a bug in the installer, not setting the owner for these files after install, but that is only a guess.

My question is, would it be safe to chmod these files to root? How should their ownership be setup? I don't want to mess up DA.

Thanks,
Linc
 
I believe this has been addressed before. If I recall correctly is is caused by the installation as well as customapache when they download updates from DA's file server or something like that. It had to do with the files being download with other ownerships (501) and there is a chance that there would be a match between the files and an actual user on you computer. So yes you should chmod those to either root or diradmin.

For some reason I thought this had been taken care of, apparently not.

Of course I may not be remembering this correctly, which is why there is always a search feature with these forums.
 
Last edited:
Back
Top