I am trying to create repos for openstack(i am part of openstack-sig group) at /project/repos/openstack(repos.fedorapeople.org) but it fails with Permission Denied.
$ mkdir /project/repos/openstack/openstack-wallaby mkdir: cannot create directory ‘/project/repos/openstack/openstack-wallaby’: Permission denied
Seems something changed recently which caused this, i see system booted 4days back with uptime.
ls -l is listing ids instead of userid and groupid so looks like something messed the ids with username/group name:- ls -l /project/repos/openstack total 32 -rw-rw-r--. 1 101231 219019 215 May 2 2018 00README.txt drwxrwsr-x. 15 101231 219019 4096 Oct 22 2019 EOL drwxrwsr-x. 2 101231 219019 4096 Sep 19 2019 openstack-queens drwxrwsr-x. 2 189564 219019 4096 Sep 19 2019 openstack-rocky drwxrwsr-x. 2 189564 219019 4096 Sep 20 2019 openstack-stein drwxrwsr-x. 2 189564 219019 4096 Mar 5 11:45 openstack-train drwxrwsr-x. 2 101231 219019 25 Apr 12 2016 openstack-trunk drwxrwsr-x. 2 189564 219019 4096 Mar 5 10:51 openstack-ussuri drwxrwsr-x. 2 189564 219019 4096 Mar 5 10:50 openstack-victoria
with id ykarel it returns different id for openstack-sig:- $ id ykarel uid=1494207519(ykarel) gid=1494207519(ykarel) groups=1494207519(ykarel),1494357692(fedora-contributor),1494357860(fedorabugs),1494358696(openstack-sig),1494357691(signed_fpca),1494358698(packager)
1494358696 vs 219019 for openstack-sig, same issue is with user id.
Please let me know in case some more information is needed.
Metadata Update from @smooge: - Issue assigned to smooge
I will take this as I missed it during the initial run.
Metadata Update from @smooge: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: authentication, low-gain, low-trouble, ops
# chown -cR 1494207519:1494358696 ./openstack # ls -ld openstack* drwxrwsr-x. 10 ykarel openstack-sig 4096 Nov 11 10:19 openstack drwxrwxr-x. 7 156695 172478 4096 Jun 27 2016 openstack-m
Metadata Update from @smooge: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Thanks can successfully create repos now.
@smooge please also set group to openstack-sig for openstack-m I found out there are obsolete images there that needs to be cleaned up (FTR openstack-m was previous name for OSP Director / OpenStack TripleO )
Thanks in advance!
ok I see commenting doesn't reopen, I'll create a new ticket and link to this
followup for openstack-m https://pagure.io/fedora-infrastructure/issue/10620
Log in to comment on this ticket.