1

its a whm centos install with pure-ftp. When I ftp into the server with the normal account I get the to the root successfully: /home/user_name

I'm trying to set up a dev domain on the server, so created the account: [email protected], in cpanel its there successfully, I pointed it to /home/user_name/subdomains/dev, also created the subdomain and can view it successfully.

The problem is when I log in with the new [email protected] account, it logs in successfully, but shows me a blank 'ls -l' listing. I can upload files using both filezilla and netbeans, all reports success, but when I navigate to /home/user_name/subdomains/dev its empty.

Also sestatus:

SELinux status:                 disabled

Log files: /var/log/messages:

Mar  1 05:23:23 server pure-ftpd: (?@ip-address) [INFO] New connection from ip-address
Mar  1 05:23:23 server pure-ftpd: (?@ip-address) [INFO] [email protected] is now logged in
Mar  1 05:23:24 server pure-ftpd: ([email protected]@ip-address) [NOTICE] /home/user-name/subodmains/dev//test.php.new uploaded  (110 bytes, 0.77KB/sec)
Mar  1 05:23:24 server pure-ftpd: ([email protected]@ip-address) [NOTICE] File successfully renamed or moved: [test.php.new]->[test.php]
Mar  1 05:23:24 server pure-ftpd: ([email protected]@ip-address) [INFO] Logout.

also the log file at:

/usr/local/apache/domlogs/user_name

for the [email protected] account is empty.

Been at this since last night, and I'm completely lost, any help or direction would be great. cheers

7
  • Can you see the files if you log in with your normal account? Have you checked the permissions for the new users?
    – boburob
    Mar 1, 2012 at 11:39
  • yep. if I log in with the normal account I can put/get files ok. where would I check permissions for the new user?
    – Daithí
    Mar 1, 2012 at 11:48
  • chown dev /home/user_name/subdomains/dev
    – boburob
    Mar 1, 2012 at 12:02
  • no joy. chown: dev': invalid user` tried with with username:dev as well but didn't work either.
    – Daithí
    Mar 1, 2012 at 12:25
  • isn't the ftp accounts and system accounts different? don't think i should be creating linux users for each ftp account I want. I'll try creating a new ftp account with the same root dir as the working default account
    – Daithí
    Mar 1, 2012 at 12:26

0

You must log in to answer this question.

Browse other questions tagged .