First time ubunu user, copying a folder to a root directory

Catalin David c.david at jacobs-university.de
Wed May 21 23:05:07 UTC 2008



وفا خلیقی، Vafa Khalighi wrote:
> Hi, I am just a new ubuntu user and used suse previously, ubuntu is 
> far better than suse but I have a bit of problem
>
> when I try to copy or say drag and drop a folder to  a root directory, 
> It does not allow me to do it. I activated my root account and I can 
> activate it by writing su in the terminal but when I open gdm.conf and 
> change Allowroot=false to Allowroot=true, it does not allow me to save 
> it having in mind that I entered su in the terminal so I should have a 
> root permision.
>
> Can you please tell me how can I copy a folder from desktop to a root 
> directory.
>
> Thanks
>
> "I hope to die                                      ___       _____
> before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
> Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
>                                                    \  \/OOOOOOOOOOOOOOO\
>                                                      \ 
> OOOOOOOOOOOOOOOOO|//
> Vafa Khalighi                                        \/\/\/\/\/\/\/\/\/
>                           //  /     \\  \
>                   ^^^^^       ^^^^^
>
> ------------------------------------------------------------------------
> at CarPoint.com.au It's simple! Sell your car for just $30 
> <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT>

You can try...
1) $ sudo su
and then
# nautilus &
and do your job in a GUI mode
or
2) $ sudo cp source destination  //with a -r somewhere around here
or, if you want a cut paste action
$ sudo mv source destination //also with a -r for recursive

That's all i can think right now,
Catalin David




More information about the ubuntu-users mailing list