kistler

Well-Known Member
Jan 27, 2005
133
1
166
upon FTP upload for any user, the files are not owned by them, its always a number 32021 ( numbers are different per account) on all files that are uploaded, which i am not sure why... how would i make it so they own the files they upload automatically??
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
kistler said:
upon FTP upload for any user, the files are not owned by them, its always a number 32021 ( numbers are different per account) on all files that are uploaded, which i am not sure why... how would i make it so they own the files they upload automatically??
It's most likely the case that the files are owned correctly and the method you're using to check ownership is simply listing the system user ID instead of the user name.

Compare the user ID in question to the user name listed in /etc/passwd and you should see that they match.
 

kistler

Well-Known Member
Jan 27, 2005
133
1
166
can this be changed, it effects their usage. They can not change the chmod rights to files they put on the server.
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
When a user uploads files, as they upload them, they have to be owned by them.

What seems more likely is that the owner of the files is not being displayed correctly. That number you are seeing is the underlying "user id" that actually owns the files. On Unix/Linux, files are actually owned by user id rather than by the user name. Usually when the owner is displayed it's converted to text form, but if the conversion breaks the system will just display the number.

So, the question is, why are the usernames being displayed as numbers? And for that one, I'm not sure (unless that's what FTP always does/did).
 

kistler

Well-Known Member
Jan 27, 2005
133
1
166
yes the ID matches the User - i guess my real problem is they cant do chmod to any files, they just stay the same at the system default

could this be because of the ID and not User for the owner