Results 1 to 4 of 4

Thread: Changing folder permissions on an old hard drive

  1. #1
    Join Date
    Dec 2011
    Beans
    3

    Changing folder permissions on an old hard drive

    One of my old laptops running 11.10 crashed the other day and will not boot up. A friend recommended using a SATA to USB 2.0 enclosure to retrieve my personnel files from it. I have been successful in connecting the old hard drive to another laptop running 11.04 and viewing all of the folders. However, I am unable to open or copy the majority of these folders and files. I receive a pop-up message indicating I do not have the necessary permissions (See below screen-shot). I have attempted to change the permissions in properties, but again I do not have permission (second screen shot). Is there a way to change the permissions on the old hard drive via my second laptop? One forum suggested reinstalling the hard drive in the old laptop to remove all password restrictions, however this time is not an option at this time.

    Any assistance is greatly appreciated. Thank you.

  2. #2
    Join Date
    Jan 2007
    Beans
    6,540
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Changing folder permissions on an old hard drive

    The quick and easy way to do this is via terminal. Hit Ctrl-T and type:
    Code:
    sudo chown -R username:username /path/to/files
    Obviously "username" is your own user name, and the path to the drive if it's connected via USB will be something like /media/sdb1.

    The command:

    sudo = gives the command super user rights
    chown = change ownership
    -R = "recursively" which makes the command apply to every file and folder within the one your specify

  3. #3
    Join Date
    Dec 2011
    Beans
    3

    Re: Changing folder permissions on an old hard drive

    Apparently the screenshots I included did not make it into the message. Sorry for any confusion.

  4. #4
    Join Date
    Dec 2011
    Beans
    3

    Re: Changing folder permissions on an old hard drive

    Thank you. It worked perfectly, after I figured out the path.

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
  •