View previous topic :: View next topic |
Author |
Message |
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Apr 09, 2009 6:49 am Post subject: gwenview fails to display other users' files |
|
|
Hi,
I find gwenview to be a good image viewer in general but it won't display other users' files even though it has read permissions on the files and directories.
Code: |
bash-3.2#ls -ail
total 250929
1663671 drwxr-xr-x 13 root root 84 2009-04-04 11:21 .
42 drwxr-xr-x 18 prof users 64 2009-04-04 11:08 ..
1663674 drwx------ 2 root root 5 2008-09-28 21:35 .comments
1716533 -rw-r--r-- 1 root root 3478798 2008-07-08 03:52 DSCF0526.JPG
1716534 -rw-r--r-- 1 root root 3629884 2008-07-08 03:52 DSCF0527.JPG
1716535 -rw-r--r-- 1 root root 3381068 2008-07-08 03:52 DSCF0528.JPG
|
navigating to this directory with gwenview running as user prof shows it to be empty!
Is there something I'm overlooking here?
TIA, Gentree. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
bekkra n00b
Joined: 13 Sep 2004 Posts: 57
|
Posted: Fri Apr 10, 2009 1:35 pm Post subject: |
|
|
The viewer itself behaves just like any other application that accesses files.
File and directory permissions set what you see.
You get a message when you try to navigate to a directory that you have insufficient privileges to ( like "/root" ) as a user.
The permissions in the example should be all right, but there's no information about the upstream permissions. Are you allowed to navigate to the directory at all with any other tool ? (Like bash )
// _________________ Bugs don't "go away" ( Steve McGuire ) |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sat Apr 11, 2009 1:19 pm Post subject: |
|
|
well bash was what I posted. Just to confirm this is with user prof:
Code: | $ whoami
prof
$ ls -ail /svn/img/
total 250929
1663671 drwxr-xr-x 13 root root 84 2009-04-04 11:21 .
42 drwxr-xr-x 18 prof users 64 2009-04-04 11:08 ..
1716533 -rw-r--r-- 1 root root 3478798 2008-07-08 03:52 DSCF0526.JPG
1716534 -rw-r--r-- 1 root root 3629884 2008-07-08 03:52 DSCF0527.JPG
1716535 -rw-r--r-- 1 root root 3381068 2008-07-08 03:52 DSCF0528.JPG |
So apparently gwen is doing something other than just reading file permissions.
thanks for your reply.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Tue Apr 14, 2009 12:49 am Post subject: |
|
|
You can see the listing, but can you actually read the files? |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Tue Apr 14, 2009 10:38 am Post subject: |
|
|
No, as I posted it shows the directory as being empty . Subdirs are shown when they exist an I can navigate them but none of the content of the directories is shown.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
Posted: Tue Apr 14, 2009 12:10 pm Post subject: |
|
|
I think what paulbiz meant was can you read those files with a CLI utility as user prof? Like 'file /svn/img/*.JPG'?
If so, it's probably time to post 'emerge --info' and 'emerge -pv gwenview'. |
|
Back to top |
|
|
bekkra n00b
Joined: 13 Sep 2004 Posts: 57
|
Posted: Tue Apr 14, 2009 12:21 pm Post subject: |
|
|
In fact, I've tried just this example and I found nothing strange.
With the permissions in the example, my installation behaved as it should.
Bring us the version information as Nerevar requested ! _________________ Bugs don't "go away" ( Steve McGuire ) |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Apr 15, 2009 10:30 am Post subject: |
|
|
Code: | gwenview: WARNING: Pixmap not found for mimetype image/jpeg |
I've just found this on console. There is one directory where a jpeg file was renamed without a file extension, this one shows correctly. So clearly it is not permissions and it can decode a jpeg as long as it's not called a jpeg
Smells like some yukky mimetype crap going on. Why the hell can't linux read file headers like it used to instead of trying to emulate some other broken OS?
I'll have to chase down this message.
thx _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
|