Skip to content

upack 7zip,rar error  #11

@liuchuang

Description

@liuchuang

pip install sflock in centos7,upack 7zip and rar file,the error message:
Traceback (most recent call last):
f = unpack(sys.argv[1])
File "/root/sflock/lib/python2.7/site-packages/sflock/main.py", line 49, in unpack
f.children = plugin.unpack(password, duplicates)
File "/root/sflock/lib/python2.7/site-packages/sflock/unpack/rar.py", line 33, in unpack
filepath, dirpath,
File "/usr/lib64/python2.7/subprocess.py", line 568, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

after chmod +x sflock/lib/python2.7/site-packages/sflock/data/zipjail.elf it will be ok。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions