Description of problem: The fact that the directory can't be chmoded doesn't mean it can't be used. I have an existing directory owned by root, but it has sufficient permissions to be used. Version-Release number of selected component: mock-1.2.7-1.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python -tt /usr/bin/mockchain -r fedora-21-x86_64 -a https://copr-be.cloud.fedoraproject.org/results/tflink/taskotron/fedora-21-x86_64 libtaskotron-0.3.13-1.fc21.src.rpm -l /var/tmp/taskotron-mockchain executable: /usr/bin/mockchain kernel: 3.19.3-200.fc21.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: mockchain:250:main:OSError: [Errno 1] Operation not permitted: '/var/tmp/taskotron-mockchain' Traceback (most recent call last): File "/usr/bin/mockchain", line 391, in <module> sys.exit(main(sys.argv)) File "/usr/bin/mockchain", line 250, in main os.chmod(local_tmp_dir, 0o755) OSError: [Errno 1] Operation not permitted: '/var/tmp/taskotron-mockchain' Local variables in innermost frame: local_tmp_dir: '/var/tmp/taskotron-mockchain' cfg: 'fedora-21-x86_64' args: ['/usr/bin/mockchain', 'libtaskotron-0.3.13-1.fc21.src.rpm'] pid: 7449 pkgs: ['libtaskotron-0.3.13-1.fc21.src.rpm'] opts: <Values at 0x7f7268e484d0: {'mock_option': [], 'chroot': 'fedora-21-x86_64', 'cont': False, 'localrepo': '/var/tmp/taskotron-mockchain', 'repos': ['https://copr-be.cloud.fedoraproject.org/results/tflink/taskotron/fedora-21-x86_64'], 'recurse': False, 'tmp_prefix': 'kparal', 'uniqueext': 'kparal-7449', 'logfile': None}>
Created attachment 1011825 [details] File: backtrace
Created attachment 1011826 [details] File: environ
Fixed in * 56b8f3c chmod directory only if we really created it [RHBZ#1209532]
Thanks!
mock-1.2.8-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/mock-1.2.8-1.fc22
mock-1.2.8-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mock-1.2.8-1.fc21
mock-1.2.8-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.2.8-1.fc20
mock-1.2.8-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.8-1.el7
mock-1.2.8-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.2.8-1.el6
Package mock-1.2.8-1.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing mock-1.2.8-1.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6057/mock-1.2.8-1.el7 then log in and leave karma (feedback).
mock-1.2.8-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.8-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
This update fixed this bug. Thank you.
mock-1.2.8-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.10-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.10-1.el7
mock-1.2.10-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.2.10-1.el6
mock-1.2.10-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.10-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.