8000 Can't open via icon, must use sudo · Issue #20 · ryran/pyrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't open via icon, must use sudo #20

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

Open
chsados opened this issue Nov 28, 2013 · 1 comment
Open

Can't open via icon, must use sudo #20

chsados opened this issue Nov 28, 2013 · 1 comment

Comments

@chsados
Copy link
chsados commented Nov 28, 2013

I can only seem to open Pyrite via command line using sudo - when I click the icon nothing happens

OS: Ubuntu 13.10

@chiriones
Copy link

Same thing happens for me. If I run pyrite from the command line as a regular user, I get the error:

Traceback (most recent call last):
File "/usr/share/pyrite/pyrite.py", line 37, in
import modules.core
ImportError: No module named modules.core

OS: Ubuntu 14.04

Update===============
$ sudo chmod 755 /usr/share/pyrite/modules/
$ sudo chmod 755 /usr/share/pyrite/ui/

That fixed it. I can run by clicking the icon now, or by running pyrite from the command line as a regular user.

Update#2=============
The above fix got the gui working but I could not encrypt because the .gnupg directory in my home directory was owned by root. Make it owned by me (chiriones) and in my default group (chiriones)
$ sudo chown chiriones:chiriones ~/.gnupg/

Update#3=============
Task Status side panel had the message
can't open '/home/chiriones/.gnupg/random_seed': Permission denied
note: random_seed file not updated

all the files in the directory are owned by root, so
$ sudo chown chiriones:chiriones ~/.gnupg/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0