[Pulp-list] Permission denied when doing a sync

Daryl Rose darylrose at outlook.com
Fri Jul 10 20:39:30 UTC 2015


I just setup a Pulp server, and finally figured out how to setup the repo sync.  Documentation does not say were the downloaded rpm's will be put, or how to size the appropriate file system.  I initiated an repo sync of RHEL 6.x.  
There are over 15,000 RPM's to download.  Of course, /var filled up, so I added an additional 50gb to the server, mounted up the newly carved out space, tar copied /var/lib/pulp (preserving permissions) to the new space, wiped out the old contents, then remounted the new drive on /var/lib/pulp.  
I've done this millions and millions of times for other products and other files systems.  I rarely, if ever, have issues with this.  However, this is the one exception.
I tried to start "celery",  but I got "Permission denied" on "/var/lib/pulp/celery", so I reinstalled pulp-server.   I was then able to successfully start celery and all of the related services.
 However, now, when I tried to re-run the sync command, I get: "[Errno 13] Permission denied: '/var/lib/pulp/working/repos'."   As I said, tar copy preserves permissions, including owners and groups.   
/var/lib/pulp/working/repos owner and group are both apache.  Permissions are 755.  Should they be something different?
Thanks
Daryl 

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20150710/33cc479c/attachment.htm>


More information about the Pulp-list mailing list