How to read a directory path from a txt file

Samuel Kamau wachkama at gmail.com
Mon Jun 2 13:18:31 EDT 2014


On Monday, June 2, 2014 12:24:59 PM UTC-4, Denis McMahon wrote:
> On Mon, 02 Jun 2014 08:13:23 -0700, Samuel Kamau wrote:
> 
> 
> 
> > I have permission issues with my web server.
> 
> 
> 
> Hacks to fix permissions problems are dangerous. There is probably a 
> 
> better way to fix this issue.
> 
> 
> 
> -- 
> 
> Denis McMahon, denismfmcmahon at gmail.com

The issue is that i use jenkins to deploy my files to the web server. Jenkins takes possession of all files as username and group name. This over right the right permissions on the web server. I want the script to be restoring the right privileges after jenkins deploys a new build.



More information about the Python-list mailing list