subuser-security / subuser

Run programs on linux with selectively restricted permissions.
http://subuser.org
GNU Lesser General Public License v3.0
890 stars 65 forks source link

Removing directories created by pkg init breaks subuser #259

Closed Fiedzia closed 8 years ago

Fiedzia commented 8 years ago

I was trying to create my own package, but this process is broken.

I've create directory, run pkg init. But then I removed this directory, and now subuser became unusable. Any attempt to do anything prints:

fiedzia@Maciej-PC ~/g/subuser-rust> subuser pkg init
Traceback (most recent call last):
  File "/usr/local/bin/subuser", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
FileNotFoundError: [Errno 2] No such file or directory: '/home/fiedzia/git/subuser-rust/src/subuser/logic/subuser'