Parent directory does not allow write... on freebsd7

dimwhit

New member
Joined
Sep 30, 2008
Messages
3
Hi,

We run directadmin under a jail in FreeBSD 7.0, since the last upgrade of directadmin (ver. 1.32.3) we get an error creating resellers/users;

Code:
Details

Unix User created successfully

User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home


Parent directory does not allow write, or one of the directories didn't
allow search (execution) permission



Error Creating Domain

As far as I can see however the domain is created succesfully. Directadmin with debugging doesn't show any errors whenever we create a user.

Code:
drwx--x--x  5 1010  1010   512 Sep 22 13:36 .
drwxr-xr-x  8 root  wheel  512 Sep 23 12:55 ..
-rw-r--r--  1 1010  1010   751 Sep 22 12:03 .cshrc
-rw-r--r--  1 1010  1010   248 Sep 22 12:03 .login
-rw-r--r--  1 1010  1010   158 Sep 22 12:03 .login_conf
-rw-------  1 1010  1010   276 Sep 22 12:03 .rhosts
-rw-r-----  1 1010  mail    34 Sep 22 12:03 .shadow
-rw-r--r--  1 1010  1010   975 Sep 22 12:03 .shrc
drwx--x--x  3 1010  1010   512 Sep 22 12:03 domains
lrwxr-xr-x  1 1010  1010    36 Sep 22 12:03 public_html -> ./domains/horeca.xxx.tld/public_html

Has anyone noticed this error also or can tell me what directadmin does just after the 'Domains directory created successfully in user's home' message?
The user is added to sshd_config also
 
Exact same here: we run latest DirectAdmin version on a CentOS (Linux, version 3.x -- so a retty old Linux install). This is a VPS.

John
 
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh all
 
As a reminder to self and coming follow up I'll take a look what exactly broke the upgrade in a cosmetic way in our non supported beta production platform (the user didn't mention any loss of service/problems except for this message) ;)

Btw, this error seems to brake supported FreeBSD version upgrade too as far as I can see (seen it on 6.x also). I didn't have a change to take a look at a fresh install of DA on supported FreeBSD versions.
 
Hello,

I believe the error comes from creating the domain's directory in /var/spool/virtual, if /var/spool/virtual is not chmod to 1777.
I'm changing the error message to be more clear on that, since it doesn't reference anything in the message.

John
 
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh all

Since I run this command as a result of mistake that I had when I create an account is not accessible "Address Found before you execute this command above its not I did not
 
Back
Top