These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Command to run after making changes to a domain? on the new forum.
I've tried different forms of commands but nothing seems to happen; chown apache:apache /home/NEWDOMAIN/public_html/tmp
tmp is still owned by the domains user.
I tried /usr/bin/sh /var/bin/cho.sh no error, no change. Thanks
Are you saying that the files inside tmp are still owned by the domain user? you could try chown -R /home/domain/public_html/tmp to change ownership recursively.
Why are you trying to change such ownership from within the domain's public_html?
I'm just trying to get the chown command to run, if it runs then ll /home/DOMAINNAME/public_html/tmp would show the /tmp subdirectory with user apache as owner but it doesn't so I'd have to guess that the command is not running.....