A
alerman
I have written a script that copies files from a test server to a
production server. The userID's and groupID's are the same on both
servers and we are using NIS.
I set the permissions on the test server to alerman:www-data (I own it,
it is in the web users group) so that the web server can read and
execute it.
The files copy over to the new server, but are always alerman:alerman .
This means that my web server cant read them because of permissions
issues.
Any suggestions?
I have tried both File::Copy and using `cp -p from to`
production server. The userID's and groupID's are the same on both
servers and we are using NIS.
I set the permissions on the test server to alerman:www-data (I own it,
it is in the web users group) so that the web server can read and
execute it.
The files copy over to the new server, but are always alerman:alerman .
This means that my web server cant read them because of permissions
issues.
Any suggestions?
I have tried both File::Copy and using `cp -p from to`