The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

wrong ftp owner

Discussion in 'General Discussion' started by kistler, Jun 16, 2006.

  1. kistler

    kistler Well-Known Member

    Joined:
    Jan 27, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    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??
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    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.
     
  3. kistler

    kistler Well-Known Member

    Joined:
    Jan 27, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    can this be changed, it effects their usage. They can not change the chmod rights to files they put on the server.
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Does the numerical user reference you see on the files match the relevant user id in /etc/passwd?
     
  5. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    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).
     
  6. kistler

    kistler Well-Known Member

    Joined:
    Jan 27, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  7. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Say what? But yes, probably, if you mean what I think you might mean.
     
Loading...

Share This Page