Fix permisisions of /var/www/virtual/domain - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: Fix permisisions of /var/www/virtual/domain (/thread-6526.html) |
Fix permisisions of /var/www/virtual/domain - TimeRider - 04-26-2009 02:12 AM Hi, have ran vhcs for many years, now testing this on second server, with a view to moving domains over to this. Problem is, I have created the domains in ispcp, copied over the contents of the /var/www/virtual to the new server, is there a way to automatically fix the permissions/ownership (ownership being the issue) for many domains? I think in vhcs set-gui-permissions covered this, but it seems in ispcp this is not the case? Is there s script in the setup dir that will help here? Thanks Steve! RE: Fix permisisions of /var/www/virtual/domain - sci2tech - 04-26-2009 02:38 AM Please use search. I do remember that such scripts were posted before (I did it at least once). There is one in a topic where Nicolas improved a script that I posted (also related to VHCS migration). Later:// Found it: http://www.isp-control.net/forum/thread-4092.html RE: Fix permisisions of /var/www/virtual/domain - Lucan - 04-26-2009 02:55 AM This Script was once posted: Code: #!/bin/bash It sets the file permission and the chmod of the files. But it have to be performed for every customer at the htdocs folder I think. Maybe that helps you RE: Fix permisisions of /var/www/virtual/domain - sci2tech - 04-26-2009 02:57 AM Much better is http://www.isp-control.net/forum/thread-4092-post-34811.html#pid34811. And will fix all folders at once |