maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Permission problems after packaging (https://talk.maemo.org/showthread.php?t=71608)

m750 2011-03-29 19:33

Re: Permission problems after packaging
 
somtime you wrote: truecryptgui and sometime you wrote TruecryptGUI.
Mybe the trouble is with lower/uper case? (check al files)

darkmdmn 2011-03-29 20:10

Re: Permission problems after packaging
 
Yeah, I checked all files, but I don't really know where in the control file I need to put either 'truecryptgui' or 'TruecryptGUI', which one should be 'source' and 'package'?

Rob1n 2011-03-30 07:42

Re: Permission problems after packaging
 
Quote:

Originally Posted by darkmdmn (Post 977931)
This is really annoying. Now i am in the correct directory, and when i do 'ls' it returns "TruecryptGUI", however, when i then try to run this program or try to get any information about it xterm says it doens't exist... How's that possible?

That sounds like filesystem corruption to me. "ls" is just looking at the metadata (stored in the superblock) whereas anything else will need to read the actual file data.

darkmdmn 2011-03-30 08:04

Re: Permission problems after packaging
 
So is there some way to check for filesystem corruption? Is it likely that i created this myself by maybe deploying the app wrong?

epitaph 2011-03-30 08:13

Re: Permission problems after packaging
 
Quote:

Originally Posted by darkmdmn (Post 978290)
So is there some way to check for filesystem corruption? Is it likely that i created this myself by maybe deploying the app wrong?

fsck.ext3? If it is installed with HAM or FAM, then no.

darkmdmn 2011-03-30 08:16

Re: Permission problems after packaging
 
Quote:

Originally Posted by epitaph (Post 978297)
fsck.ext3? If it is installed with HAM or FAM, then no.

I have installed it with HAM, so that shouldn't give a problem than.

nicolai 2011-03-30 08:16

Re: Permission problems after packaging
 
Quote:

Originally Posted by darkmdmn (Post 977931)
This is really annoying. Now i am in the correct directory, and when i do 'ls' it returns "TruecryptGUI", however, when i then try to run this program or try to get any information about it xterm says it doens't exist... How's that possible?

ls -l <FULL_PATH_TO_YOUR_FILE>

it might be a symlink to a non existent file.

Nicolai

darkmdmn 2011-03-30 08:21

Re: Permission problems after packaging
 
Quote:

Originally Posted by nicolai (Post 978300)
ls -l <FULL_PATH_TO_YOUR_FILE>

it might be a symlink to a non existent file.

Nicolai

Same output as before:
-rwxr-xr-x 1 root root 64248 Feb 26 14:15 /usr/bin/truecryptgui/TruecryptGUI

What i find strange is the date above. I have uninstalled the app multiple times yesterday to try to get it working, yet the time is somewhere in February...

Rob1n 2011-03-30 08:59

Re: Permission problems after packaging
 
Quote:

Originally Posted by darkmdmn (Post 978290)
So is there some way to check for filesystem corruption?

Depends - if it's on the rootfs then no, there's no tools for testing/fixing ubifs filesystems. If it's actually under /opt (and symlinked) then you could use fsck to check the optfs (using, for example, backupmenu).

Quote:

Originally Posted by darkmdmn (Post 978290)
Is it likely that i created this myself by maybe deploying the app wrong?

No, deploying the app normally should not cause any corruption.

Actually, ldd worked earlier, which should have read the actual file, making filesystem corruption less likely to be an issue.

Can you try the following, so we can see exactly what does/doesn't work:
Code:

cd /usr/bin/truecryptgui
ls -l TruecryptGUI
ldd TruecryptGUI
file TruecryptGUI
./TruecryptGUI


Willem Liu 2011-03-30 09:04

Re: Permission problems after packaging
 
Hi

I'm not sure if I've ran into the same problems a while ago, but I've had something similar in the past.

http://talk.maemo.org/showthread.php?t=61921


All times are GMT. The time now is 10:51.

vBulletin® Version 3.8.8