Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Folder permissions

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Brian W
Posts: 16
Joined: 2023-03-26 14:34
Has thanked: 7 times

[Solved] Folder permissions

#1 Post by Brian W »

I am trying to change user permissions for a folder but am being told the folder doesn't exist.

I am writing sudo chmod 766 /usr/lib/GIMP/2.0/plug-ins I have tried with "gimp" in lower case but the same thing.
Last edited by Brian W on 2023-09-03 16:06, edited 1 time in total.

User avatar
Northpoint
Posts: 91
Joined: 2020-12-19 10:51
Location: USA
Has thanked: 51 times
Been thanked: 13 times

Re: Folder permissions

#2 Post by Northpoint »

Debian 12:

Code: Select all

coffee@buster:/usr/lib/gimp/2.0$ ls -l
total 16
drwxr-xr-x   2 root root 4096 Aug 15 09:31 environ
drwxr-xr-x   2 root root 4096 Aug 15 09:31 interpreters
drwxr-xr-x   2 root root 4096 Aug 15 09:31 modules
drwxr-xr-x 123 root root 4096 Aug 15 09:31 plug-ins
lower case. What does your output show?
Get your linux on.

Brian W
Posts: 16
Joined: 2023-03-26 14:34
Has thanked: 7 times

Re: Folder permissions

#3 Post by Brian W »

Northpoint wrote: 2023-09-03 12:46 Debian 12:

Code: Select all

coffee@buster:/usr/lib/gimp/2.0$ ls -l
total 16
drwxr-xr-x   2 root root 4096 Aug 15 09:31 environ
drwxr-xr-x   2 root root 4096 Aug 15 09:31 interpreters
drwxr-xr-x   2 root root 4096 Aug 15 09:31 modules
drwxr-xr-x 123 root root 4096 Aug 15 09:31 plug-ins
lower case. What does your output show?
What do I use instead of coffee@buster?

User avatar
Northpoint
Posts: 91
Joined: 2020-12-19 10:51
Location: USA
Has thanked: 51 times
Been thanked: 13 times

Re: Folder permissions

#4 Post by Northpoint »

Just do this :

Code: Select all

ls -l /usr/lib/gimp/2.0/

coffee@buster:/usr/lib/gimp/2.0$ is just my prompt in the term window
Get your linux on.

Brian W
Posts: 16
Joined: 2023-03-26 14:34
Has thanked: 7 times

Re: Folder permissions

#5 Post by Brian W »

I have:

total 0
drwxr-xr-x 1 root root 22 Jan 16 2023 environ
drwxr-xr-x 1 root root 28 Jan 16 2023 interpreters
drwxr-xr-x 1 root root 502 Jan 16 2023 modules
drwxr-xr-x 1 root root 2430 Mar 30 18:51 plug-ins

User avatar
Northpoint
Posts: 91
Joined: 2020-12-19 10:51
Location: USA
Has thanked: 51 times
Been thanked: 13 times

Re: Folder permissions

#6 Post by Northpoint »

Why do you need to change permissions on the plugins directory?
Get your linux on.

User avatar
Northpoint
Posts: 91
Joined: 2020-12-19 10:51
Location: USA
Has thanked: 51 times
Been thanked: 13 times

Re: Folder permissions

#7 Post by Northpoint »

In any case, do this:

Code: Select all

cd /usr/lib/gimp/2.0

Code: Select all

sudo chmod 766 plug-ins
Note the original permissions on it are 755 in case something breaks.
Get your linux on.

Brian W
Posts: 16
Joined: 2023-03-26 14:34
Has thanked: 7 times

Re: Folder permissions

#8 Post by Brian W »

Thank you. I wanted to be able to remove the old G'mic qt plugin and put in a later version using a GUI. I don't understand why the gimp compilers put it there instead of the user folder. Anyway, after following your instructions, I now just get a permanent "busy" cursor when I try to open the plugins folder. I might have to change it back and find out how to replace plugins using terminal.

EDIT: 777 worked. Now I have an upgraded and updated gmic. Thank you so much for your help - it really is appreciated! :D

User avatar
Northpoint
Posts: 91
Joined: 2020-12-19 10:51
Location: USA
Has thanked: 51 times
Been thanked: 13 times

Re: [Solved] Folder permissions

#9 Post by Northpoint »

Anytime, I am glad I could help :)
Get your linux on.

Post Reply