Copy files to folder I dont own

Hi,

I need to move some ICC profiles to the folder:
usr/share/color/icc
However, Im not the owner of that folder so how do I do this?

Cheers
Peter

1 Like

It would help to know which distro you using.
You can change the owership with root priviledge. But how to do that will be different depending upon your distro.

1 Like

You can try:

sudo chown $USER:$USER /usr/share/color/icc
2 Likes

Ubuntu 18.04.5 LTS

Also, Im hoping that these profiles will be available here (Paper type):

1 Like

I tried writing this in terminal:

sudo chown $USER:$USER /usr/share/color/icc

But I wrote it wrong somehow… do I write it all at once? Do I write $USER?

Never type, always copy paste.

1 Like

Yeay - thanks :slight_smile:

The text in the example command line “$USER” is a callout to substitute the value of the environment variable “USER” at that location in the command. The login mechanism put that variable in your shell & user environment for any commands run.

1 Like