cosmic_outsider

Registered
Mar 18, 2008
2
0
51
Hi, I've got an error with WHM. When I creates an user in WHM by web browser, or by script I get permisson denied error. The /home/user_name directory was created with owner "root" and the public_html and public_ftp directories appears don't be created.

This is the log:

Code:
[email protected] [/scripts]# ./wwwacct user.*.com user password
+===================================+
| New Account Info                  |
+===================================+
| Domain: user.*.com
| UserName: user
| PassWord: password
+===================================+

This ok? y
Checking input data......Done
WWWAcct 12.1.0 (c) 1997-2008 cPanel, Inc.......Done
Running pre creation script (/scripts/prewwwacct)......Done
Adding User......Done
Keeping Shell Access (y)......Done
Copying skel files from /root/cpanel3-skel/ to /home/user/...tar: ./public_html: Cannot mkdir: Permission denied
tar: ./public_ftp: Cannot mkdir: Permission denied
tar: .: Cannot utime: Operation not permitted
tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: Error exit delayed from previous errors
...Done
safe_userchgid: chown: /home/user/public_html: Permission denied at /usr/local/cpanel/Cpanel/SafetyBits.pm line 76.
Adding Entries to httpd.conf......Done
Setting up Mail & Local Domains......Done
Configuring DNS......Done
Restarting apache......Done
Updating Authentication Databases......Done
Setting up Frontpage<sup>&reg;</sup>......Done
Sending Account Information......Done
Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done
Setting up Domain Pointers......Done
Setting Reseller Privs......Done
Account Creation Complete!!!......Done
Account Creation Ok


Dns Zone check is enabled.
+===================================+
| New Account Info                  |
+===================================+
| Domain: user.*.com
| Ip: 207.210.111.220 (n)
| HasCgi: y
| UserName: user
| PassWord: password
| CpanelMod: x3
| HomeRoot: /home
| Quota: 0 Meg
| NameServer1: *
| NameServer2: *
| NameServer3:
| NameServer4:
| Contact Email:
| Package: default
+===================================+
Changing password for user
Password for user has been changed
localdomains...valiases ...vdomainaliases...vfilters...Bind reconfiguring on vps using rndc
Updating ftp passwords for user
Ftp password files updated.
Ftp vhost passwords synced
/home/user/public_html does not exist or is not a directory!
wwwacct creation finished
Account Creation Ok
Someone can help me?
Thanks =)