Results 1 to 5 of 5

Thread: how to access locked folder

  1. #1
    Join Date
    Jan 2008
    Location
    Milwaukee, WI
    Beans
    174
    Distro
    Ubuntu Development Release

    how to access locked folder

    I used photorec to recover photos of my trip to Europe from a crashed flash card. It seams to have recovered my photos but it saves them to a folder with a lock and red x on it. I'm thinking these folders are only accessable to root. Can anyone tell me how to unlock this folder so I can have my pix.

    Thanks

  2. #2
    credobyte is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2009
    Beans
    1,559
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: how to access locked folder

    Code:
    sudo chown -R user:user /path_to_photos
    Replace user:user with your username ( eg. credobyte:credobyte ) and /path_to_photos with an actual path of your recovered pictures.

  3. #3
    Join Date
    May 2009
    Location
    Jah's Pocket
    Beans
    733
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how to access locked folder

    Quote Originally Posted by jeremyjjbrown View Post
    I used photorec to recover photos of my trip to Europe from a crashed flash card. It seams to have recovered my photos but it saves them to a folder with a lock and red x on it. I'm thinking these folders are only accessable to root. Can anyone tell me how to unlock this folder so I can have my pix.

    Thanks

    If it is accessible by root then you can change the permissions by running `gksu nautilus`

    This will open a nautilus window with root prvilages, then just browse to the files, right click and change the owner to your user.
    MyBlog
    Sledgehammer engineering, if it doesn't work, hit it damn hard.

  4. #4
    Join Date
    Jan 2008
    Location
    Milwaukee, WI
    Beans
    174
    Distro
    Ubuntu Development Release

    Re: how to access locked folder

    Worked great, Thanks

    My girlfriend will be very happy to see our pictures.

  5. #5
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,151
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: how to access locked folder

    Quote Originally Posted by jeremyjjbrown View Post
    I used photorec to recover photos of my trip to Europe from a crashed flash card. It seams to have recovered my photos but it saves them to a folder with a lock and red x on it. I'm thinking these folders are only accessable to root. Can anyone tell me how to unlock this folder so I can have my pix.

    Thanks
    Open a terminal ( Applications > Accessories > Terminal)
    Type:
    Code:
    mkdir flashcard
    Code:
    cd flashcard
    Code:
    cp /path/to/present-location-of pictures/* .
    Code:
    cd ..
    Code:
    chmod -R 755 flashcard
    This will create a folder flashcard and access it. Then all that is placed in the present location folder of your pictures will be copied to this new folder. Change "/path/to/present-location-of pictures/" to whatever folder name you are using now.
    Next you will jump one folder up the tree and change the file mode bits so you should be able to access them.
    DeMus

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
  •