It is currently Wed Jul 15, 2026 8:12 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 1:24 pm  (#1) 
Offline
New Member

Joined: Sep 10, 2018
Posts: 4
GIMP Version: 2.10.6
Operating System: Linux
GIMP Experience: Basic Level

List any ERROR messages you received:
Could not read the contents of media
Error opening directory '/media': Permission denied




Hi, folks!

Using Ubuntu 18.04 and Gimp 2.10.6 here.

I'm trying to access my data disk... and for some reason pic files won't open in Gimp. Access is denied. I'm also trying to load pics from withing Gimp itself, and access is denied to the /media directory (when I try to find the data disk mounted under the /media directory).

The data disk is accessible for other programs. Gimp is the problem, it seems. (I didn't have this problem when using Ubuntu 16.04 and an older Gimp version.)

Anyone with info on what could be wrong?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 1:34 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4500
Location: Canada
check your /media permissions.
I can open my /media under Ubuntu just fine.

tim@tim-HP-Pavilion-dv4-Notebook-PC:~$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 18.04.1 LTS
Release:   18.04
Codename:   bionic
tim@tim-HP-Pavilion-dv4-Notebook-PC:~$ ls -als /m*
/media:
total 12
4 drwxr-xr-x   3 root root 4096 Apr 23 14:03 .
4 drwxr-xr-x  24 root root 4096 Aug 25 07:26 ..
4 drwxr-x---+  3 root root 4096 Sep 10 07:12 tim

/mnt:
total 8
4 drwxr-xr-x  2 root root 4096 Feb 28  2018 .
4 drwxr-xr-x 24 root root 4096 Aug 25 07:26 ..
tim@tim-HP-Pavilion-dv4-Notebook-PC:~$

_________________
TinT


Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 1:45 pm  (#3) 
Offline
New Member

Joined: Sep 10, 2018
Posts: 4
Hmm... I seem to get the same info as you did, trandoductin.

And... I do get permission to access the data disk in Ubuntu. The other programs work fine. They can open files without a problem. It's Gimp that, for some completely weird reason, doesn't get access.


Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 1:46 pm  (#4) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4500
Location: Canada
That's odd. I don't know what else to suggest

_________________
TinT


Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 1:56 pm  (#5) 
Offline
New Member

Joined: Sep 10, 2018
Posts: 4
Ubuntu is so weird. At times, it's great. At times, it's about to give me a heart attack.


Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 1:58 pm  (#6) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4500
Location: Canada
just for kicks can you try

sudo chmod +r /media


because I can only seem to reproduce your error when I
sudo chmod -r /media

_________________
TinT


Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 5:38 pm  (#7) 
Offline
New Member

Joined: Sep 10, 2018
Posts: 4
Hmm... In the Ubuntu Software “manager”, on Gimp's own “page”, there is a special button called “Permissions”. In the list of permissions it serves you, the last one seems to potentially give you the problem I've had up until now. (See pic.) This seems to be the culprit. I've managed to enter the data disk now. <phew!>


Attachments:
File comment: The culprit.
Gimp permission setting.jpg
Gimp permission setting.jpg [ 139.54 KiB | Viewed 4974 times ]
Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 7:21 pm  (#8) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4500
Location: Canada
nice find

_________________
TinT


Top
 Post subject: Re: Gimp access to /media directory (Ubuntu)
PostPosted: Mon Sep 10, 2018 7:25 pm  (#9) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4500
Location: Canada
I don't know how to get to see whatyou're seeing though. I used the flatpak installation for GIMP so i run gimp from command line

_________________
TinT


Top
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group