Ubuntu – Gaining access to a folder which requires you to be the admin/owner

administratorfilesfolderpermissions

Hey there, I'm trying to install a gedit plugin called zoom, and in order for it to be picked up by gedit it needs to be extracted in this folder
/usr/lib/gedit-2/plugins.

My problem is I can't copy paste the files into that directory. I tried changing the permissions on that folder but it says "You are not the owner, so you cannot change these permissons".

How do I fix this?

Best Answer

You can simply copy the file using the command line.

sudo cp SOURCEFILE DESTINATION

This will run cp as root.

Related Question