shanti
Verified User
Hi
I am sorry to cross-post but i think my original post wont catch any attention for i may have postet it to the wrong thread.
forum.directadmin.com
i already investigated fs.protected_symlinks and also ran the set_permission.sh-script - but to no success .. i really could use some ideas on that :-(
somehow, besides all files and folders created during domain-creation as target-user , the public_html-folder is created as root:root .. also causing the symlink to have wrong permissions , but since this action doesnt seem to be triggered by any DA-script , i cant debug it properly.
system is a debian "buster" with latest patches.
thank you for any input on this
best regards
-c-
I am sorry to cross-post but i think my original post wont catch any attention for i may have postet it to the wrong thread.
Error Creating Domain
Hi, I experience a strange behavior on one of our system recently after a migration. when adding a domain , DA reports "permission denied" Error creating /home/admin/domains/testdomain.xyz/public_html/cgi-bin mkdir(/home/admin/domains/testdomain.xyz/public_html/cgi-bin) error: Keine...

i already investigated fs.protected_symlinks and also ran the set_permission.sh-script - but to no success .. i really could use some ideas on that :-(
# cat /etc/sysctl.d/protect-links.conf
###################################################################
# Protected links
#
# Protects against creating or following links under certain conditions
# Debian kernels have both set to 1 (restricted)
# See https://www.kernel.org/doc/Documentation/sysctl/fs.txt
fs.protected_hardlinks = 0
fs.protected_symlinks = 0
#osdefault# fs.protected_hardlinks = 1
#osdefault#fs.protected_symlinks = 1
#fs.enforce_symlinksifowner = 0
#fs.protected_symlinks_create = 0
somehow, besides all files and folders created during domain-creation as target-user , the public_html-folder is created as root:root .. also causing the symlink to have wrong permissions , but since this action doesnt seem to be triggered by any DA-script , i cant debug it properly.
system is a debian "buster" with latest patches.
thank you for any input on this
best regards
-c-