[otrs-cvs] module-tools InstallTestsystem.pl,1.1,1.2

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/module-tools
In directory lancelot:/tmp/cvs-serv32453

Modified Files:
	InstallTestsystem.pl 
Log Message:
Chown the whole directory recursively instead of just the log file.

Author: mab

Index: InstallTestsystem.pl
===================================================================
RCS file: /home/cvs/module-tools/InstallTestsystem.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -2 -u -d -r1.1 -r1.2
--- InstallTestsystem.pl	27 Nov 2012 15:39:24 -0000	1.1
+++ InstallTestsystem.pl	4 Dec 2012 13:14:09 -0000	1.2
@@ -198,5 +198,7 @@
 print STDERR "--- Creating logfile...\n";
 system("sudo touch $InstallDir/otrs.log");
-system("sudo chown $Config{PermissionsOTRSUser} $InstallDir/otrs.log");
+
+# make sure we've got the correct rights set (e.g. in case you've downloaded the files as root)
+system("sudo chown -R $Config{PermissionsOTRSUser}:$Config{PermissionsOTRSGroup} $InstallDir");
 
 # link Fred
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.