Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

takein brakes with PermissionError on 0444-Files #15

Open
kimdiallo opened this issue Oct 30, 2019 · 0 comments
Open

takein brakes with PermissionError on 0444-Files #15

kimdiallo opened this issue Oct 30, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@kimdiallo
Copy link
Contributor

[ziggy@stardust ~]$ uberspace-takeout takein --skip-item Cronjobs --skip-item WebDomains --skip-item MailDomain --tar-file ~/takeout_testkim_2019-10-30_16_39_16.tar.bz2
reading /home/ziggy/takeout_testkim_2019-10-30_16_39_16.tar.bz2
takein: Takeout Marker (internal)
takein: Homedirectory
Traceback (most recent call last):
  File "/usr/bin/uberspace-takeout", line 11, in <module>
    load_entry_point('uberspace-takeout', 'console_scripts', 'uberspace-takeout')()
  File "/opt/takeout/uberspace_takeout/__main__.py", line 35, in main
    Takeout().takein(tar_path, args.username, args.skip_item)
  File "/opt/takeout/uberspace_takeout/__init__.py", line 47, in takein
    item.takein()
  File "/opt/takeout/uberspace_takeout/items/base.py", line 42, in takein
    self.storage.unstore_directory(self.storage_path, self.path())
  File "/opt/takeout/uberspace_takeout/storage.py", line 157, in unstore_directory
    self.tar.extractall(system_path, members)
  File "/opt/takeout/lib64/python3.6/tarfile.py", line 2010, in extractall
    numeric_owner=numeric_owner)
  File "/opt/takeout/lib64/python3.6/tarfile.py", line 2052, in extract
    numeric_owner=numeric_owner)
  File "/opt/takeout/lib64/python3.6/tarfile.py", line 2122, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "/opt/takeout/lib64/python3.6/tarfile.py", line 2163, in makefile
    with bltn_open(targetpath, "wb") as target:
PermissionError: [Errno 13] Permission denied: '/home/ziggy/opt/takeout/.git/objects/pack/pack-5111435b3c0c230631acdb1df7ca81f285d9ba29.idx'
[ziggy@stardust ~]$
[ziggy@stardust ~]$ ls -la opt/takeout/.git/objects/pack/pack-5111435b3c0c230631acdb1df7ca81f285d9ba29.idx
-r--r--r--. 1 ziggy ziggy 11572 Sep 24 10:02 opt/takeout/.git/objects/pack/pack-5111435b3c0c230631acdb1df7ca81f285d9ba29.idx
[testkim@andromeda ~]$ ls -la opt/takeout/.git/objects/pack/pack-5111435b3c0c230631acdb1df7ca81f285d9ba29.idx
-r--r--r-- 1 testkim testkim 11572 Sep 24 12:02 opt/takeout/.git/objects/pack/pack-5111435b3c0c230631acdb1df7ca81f285d9ba29.idx
@brutus brutus added the bug Something isn't working label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants