Results 1 to 5 of 5

Thread: Copying folders

  1. #1
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Beans
    162
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Copying folders

    I want to copy /home/tim/Documents/Thunderbird Backup/lpg8fh0p.default into /etc/thunderbird/profile but I get this error message
    Code:
    Error while moving "lpg8fh0p.default".
    There was an error moving the file into /etc/thunderbird/profile.
    Error moving file: Permission denied
    Help! Thanks

  2. #2
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Copying folders

    Are you using sudo to write to /etc?

  3. #3
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Beans
    162
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Copying folders

    Quote Originally Posted by mikewhatever View Post
    Are you using sudo to write to /etc?
    I'm using the GUI. Sorry I'm not experienced enough with the terminal but if you could teach me what to put in there it would be great!

  4. #4
    Join Date
    May 2007
    Location
    Bolton, UK
    Beans
    668
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Copying folders

    Applications > Accessories > Terminal

    Enter:

    sudo cp -r "/home/tim/Documents/Thunderbird Backup/lpg8fh0p.default" /etc/thunderbird/profile
    This will copy the folder, leaving the original where it is.

    If you want to move the folder, deleting the original:
    sudo mv "/home/tim/Documents/Thunderbird Backup/lpg8fh0p.default" /etc/thunderbird/profile

    Alternatively, if you want to do it graphically, press Alt+F2 and type: gksu nautilus

    This opens the file browser as root. Be careful though.
    Last edited by steeleyuk; January 1st, 2009 at 04:26 PM.

  5. #5
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Copying folders

    Sure, alt+f2, type is gksudo nautilus and copy whatever you like.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •