change permissions to copy pictures into backgrounds

NoOp glgxg at sbcglobal.net
Mon May 7 18:31:13 UTC 2012


On 05/07/2012 09:12 AM, Colin Law wrote:
> On 7 May 2012 17:05, Thomas Blasejewicz <thomas at s7.dion.ne.jp> wrote:
...
>> I am sorry, but I don't understand what that "gksu gedit &" means.
>> Yet, I still would like to know the trick necessary to copy a few extra
>> pictures into the "backgrounds" folder.
>> The screen tells me, I am not the "owner" and thus have not the permission
>> to do so.
>>
>> Well, I AM the owner of the computer, its one and only user = adminstrator
>> rights and the owner of the pictures in questions.
>> And I refuse to believe, that copying a few pictures will endanger the
>> entire system and cannot be allowed.
>>
>> So, if there is a trick to copy my pictures into the (my) backgrounds folder
>> -  I would like to know.
>> If not ... strange, very strange!
> 
> Can you just explain very carefully what you are trying to do.  Tell
> us where the files are at the moment and where you are trying to copy
> them to.   Don't talk about the "backgrounds" folder, tell us exactly
> where you are trying to copy to.
...

ls  /usr/share/backgrounds
Arboreal_ballet_by_Bob_Farrell.jpg
Aubergine_Sea_by_Wyatt_Kirby.jpg
Berries_by_Orb9220.jpg
Bird_by_Magnus.jpg
contest
cosmos
edgy-final-ubuntu.png
Fabric_by_Just_Jeanette.jpg
feisty-final-ubuntu.png
Green_by_Alan_Mattila.jpg
Grey_day_by_Drew__.jpg
Holes_by_FireCobold.jpg
Ilunabarra_Azkainetik_by_Garuna_bor-bor.jpg
La_no_alto_by_Allyson_Souza.jpg
Quandro_by_Tomas_Vasconcelo.jpg
Signpost_by_maroubal2.jpg
space-01.jpg
space-02.jpg
space-03.jpg
space-04.jpg
space-05.jpg
Tiny_Worlds_by_matthileo.jpg
Touch_the_light_by_Matt_Katzenberger.jpg
Tri_Narwhal_by_momez.jpg
Ubuntu-Blubuntu_1600x1200.png
Ubuntu-DawnOfUbuntu_1600x1200.jpg
ubuntu-edgy-smooth-chocolate.png
ubuntu-smooth-chocolate.png
Variations-On-Natty-Narwhal-1_by_madeinkobaia.jpg
warty-final-ubuntu.png
White_flowers_by_Garuna_bor-bor.jpg

@Thomas: That folder (/usr/share/backgrounds) is owned by 'root'. To
copy files into that folder, you can do as compdoc has recommended,
and/or you can use the 'cp' command from the terminal. Open the terminal:

$ gksu nautilus

That will open Nautilus in root mode.
Warning: Be *very* careful doing this as you can delete/move/edit
critical system files here. Always exit from this mode after you've
accomplished what you need.
Now go to where your pictures are that you wish to copy, select them,
and then copy them to /usr/share/backgrounds the same way that you copy
any other file in Nautilus.

$ sudo cp <path-to-your-pictures>/<your-picture>
/usr/share/backrounds/<your-picture>

See:
https://help.ubuntu.com/community/UsingTheTerminal
<https://help.ubuntu.com/community/UsingTheTerminal#File_.26_Directory_Commands>
[5. cp]

This is considerably safer than using 'gksu nautilus'.

Oyasumi nasai

Gary





More information about the ubuntu-users mailing list