![]() |
Permission problems after packaging
Hey guys,
Some time ago I started developing a front-end GUI for the truecrypt commandline util. My program is working pretty well, so I started packaging it for Maemo5. I couldn't find a real good tutorial that worked, so I tried a bit myself. I now have a .deb package (packaged with MADDE), which installs without problems. When I try to run the application from the menu, it never starts. I also tried to run it straight from the /usr/bin, than I get a permission denied error. I also chmodded the program to 755, and root had all the necessary permissions, yet the program doesn't start even with root permissions... I really hope that someone can help me with this problem, because it is becoming pretty annoying xD Because i'm sort of new to the developing on a UNIX system, please let me know what files i need to post, because I have no idea what you guys need as additional info. Thanks in advance, Mark |
Re: Permission problems after packaging
When you do "ls -l /path/to/file" you will see the files permissions.
It should look like this "rxwr-wr-w root root filename" r = read x= executable w= write Do you see the "x" on the file? Edit: Oops.. missed that you chmodded to 755... |
Re: Permission problems after packaging
Yeah, it returns something like:
-rwxr-xr-x 1 root root [date] [file] |
Re: Permission problems after packaging
Did you use python? How are you trying to launch the program?
Did you use /usr/bin/python /path/to/file (I am no expert either) |
Re: Permission problems after packaging
I'm using QT Creator, so it's written in C++. I then packaged it with MADDE. Installed it with admin permissions through XTerm, then tried to launch it using the menu (which only highlights the icon, nothing more), when that didn't work, i tried to launch the program by executing /usr/bin/truecryptgui (the location where the program is installed) as root.
|
Re: Permission problems after packaging
Quote:
Quote:
I hope this helps! |
Re: Permission problems after packaging
Quote:
|
Re: Permission problems after packaging
Quote:
And can you post the output of dpkg -L <your_package> I guess some files are missing in you .deb |
Re: Permission problems after packaging
Quote:
The output is: /usr /usr/bin /usr/bin/truecryptgui /usr/bin/truecryptgui/TruecryptGUI /usr/share /usr/share/applications /usr/share/applications/hildon /usr/share/applications/truecryptgui.desktop /usr/share/doc /usr/share/doc/truecryptgui /usr/share/doc/truecryptgui/copyright |
Re: Permission problems after packaging
and your command is
/usr/bin/truecryptgui/TruecryptGUI or /usr/bin/truecryptgui ? |
All times are GMT. The time now is 14:05. |
vBulletin® Version 3.8.8