[Pulp-list] Permission denied when doing a sync

Dennis Kliban dkliban at redhat.com
Fri Jul 10 20:48:05 UTC 2015



----- Original Message -----
> 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?
> 

If you have SELinux enabled you need to also run the following command:

sudo chcon -R --type=httpd_sys_rw_content_t /var/lib/pulp

> Thanks
> 
> Daryl
> 
> 
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list