View Full Version : [SOLVED] How do I change file permissions in terminal?

Lord Xeb
June 26th, 2008, 09:37 PM
My brother wants to add brushs to gimp 2.0 but he can't since the permissions of gimp is root. How do I change the permissions over to him?

June 26th, 2008, 10:03 PM
It'd be safer to just add the brushes with sudo.
Or sudo su, if it's going to be a lot of commands.

June 26th, 2008, 10:52 PM
man chmod
man chown

June 26th, 2008, 10:55 PM
I think it would be safer, not to mention easier, to put them in ~/.gimp-2.4/brushes/

Lord Xeb
June 26th, 2008, 11:28 PM
No, really? It would be nice if he could be the permissions are in root! I do not understand the damn man files since they really do explain things in lamins. Besides I fixed it with Ubuntu Tweak and adding a script cadd "Browse as root"

June 26th, 2008, 11:29 PM
chown changes file owner, chmod changes file permissions

June 26th, 2008, 11:51 PM
chown -R *newowner* *file or directory*

this will change the owner to the *newowner* user for everything in the *file or directory*. note, don't use the asterisks.

June 27th, 2008, 12:33 AM
No, really? It would be nice if he could be the permissions are in root!

~ means your home directory. If you open nautilus and press ctrl+h, it'll show you hidden files and folders. Go to the folder that says .gimp2.4 and go to the 'brushes' subdirectory. He has permission to put them there, and they'll show up in GIMP, but only for him.

Lord Xeb
June 27th, 2008, 02:25 AM
This is not what I mean... It is in /usr/share/gimp or something like that. I got it so I don't need any help.