spacecabbie
Verified User
As topic says running the command on one of the domains:
[root@spacedock scripts]# ./set_permissions.sh domaindir bla-bla.info
***********************************************
Thu Aug 27 13:32:38 CEST 2020 : ./set_permissions.sh domaindir
Directories found, setting permissions for /home/bbla/domains/bla-bla.info/public_html and private_html
[root@spacedock scripts]#
I my case i did stupid stuff like chown user:user .... the script does restore ownership although it does not for the main dir /home/user/ but the domains directory themselves but it still leaves the filerights in mess.
So I wonder is this intended as in the script only reset rights ? The guide implies it does. (https://help.directadmin.com/item.php?id=173)
If it's not intended might i suggest i simple ownership check I am crap at writing scripts but still it doesn't seem to hard to do a quick check ?
Any ways just thought i would mention it here before i go of ranting about bug against the DA helpdesk ?
----==update==----
./set_permissions.sh domaindirs
Does actually work and fix.
[root@spacedock scripts]# ./set_permissions.sh domaindir bla-bla.info
***********************************************
Thu Aug 27 13:32:38 CEST 2020 : ./set_permissions.sh domaindir
Directories found, setting permissions for /home/bbla/domains/bla-bla.info/public_html and private_html
[root@spacedock scripts]#
I my case i did stupid stuff like chown user:user .... the script does restore ownership although it does not for the main dir /home/user/ but the domains directory themselves but it still leaves the filerights in mess.
So I wonder is this intended as in the script only reset rights ? The guide implies it does. (https://help.directadmin.com/item.php?id=173)
If it's not intended might i suggest i simple ownership check I am crap at writing scripts but still it doesn't seem to hard to do a quick check ?
Any ways just thought i would mention it here before i go of ranting about bug against the DA helpdesk ?
----==update==----
./set_permissions.sh domaindirs
Does actually work and fix.
Last edited: