Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Padlocks on Home Folder Content after HDD Upgrade?

  1. #1
    Join Date
    Jan 2008
    Location
    Gnosall, Staffordshire UK
    Beans
    1,781
    Distro
    Ubuntu 12.04 Precise Pangolin

    [SOLVED!] Padlocks on Home Folder Content after HDD Upgrade?

    Hi

    I got a bigger HDD for my laptop so I copied my entire /home folder and burnt it to a CD. Next I removed my HDD and inserted my new bigger one. I did a fresh install of 8.04 (which is what was on my old HDD) separating /home onto a different partition to "/" (i.e. the same partition configuration as my old HDD), loaded in all the updates then copied from the CD the content of /home into my filesystem. I did this with root privilges with the command
    Code:
    gksudo nautilus
    and copied and paste across. The copy went OK but there are some problems:

    1. All the files in /home have padlocks next to them
    2. The wallpaper pic that normally is my desktop background isn't being displayed. The display defaults to the Hardy Heron image.

    EDIT: Forgot to mention that when I burnt /home to the CD-R I wasn't using root priviliges. I guess this is the problem but don't know how to fix it?

    Any suggestions would be appreciated.

    Thank you.

    Mark
    Last edited by mapes12; July 26th, 2009 at 05:03 PM.
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  2. #2
    Join Date
    Mar 2008
    Location
    The Golden State
    Beans
    248
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Use gksudo nautilus again to get root privleges, then right click the folder, then click on properties. Under the Permission tab, change the owner to yourself, then read-write permissions to yourself. That should fix the problem.

  3. #3
    Join Date
    Apr 2007
    Location
    England, United Kingdom
    Beans
    805
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Quote Originally Posted by mapes12 View Post
    Hi

    I got a bigger HDD for my laptop so I copied my entire /home folder and burnt it to a CD. Next I removed my HDD and inserted my new bigger one. I did a fresh install of 8.04 (which is what was on my old HDD) separating /home onto a different partition to "/" (i.e. the same partition configuration as my old HDD), loaded in all the updates then copied from the CD the content of /home into my filesystem. I did this with root privilges with the command
    Code:
    gksudo nautilus
    and copied and paste across. The copy went OK but there are some problems:

    1. All the files in /home have padlocks next to them
    2. The wallpaper pic that normally is my desktop background isn't being displayed. The display defaults to the Hardy Heron image.

    EDIT: Forgot to mention that when I burnt /home to the CD-R I wasn't using root priviliges. I guess this is the problem but don't know how to fix it?

    Any suggestions would be appreciated.

    Thank you.

    Mark

    Just been fiddling around and this is what I came up with.

    Hope it helps i have tested it and it seems to work (only difference is i was no doing it with home folder so the directory on the end might not be fool proof)

    Code:
    sudo chown -hR <USERNAME>
    Code:
    sudo chown -hR <USERNAME /home/<USERNAME>

    Saj
    Ubuntu User Since 6.06 - "Here To Help"
    Ubuntu Beta Tester Since 6.10 - "We have the problems so you don't have too."
    --------------------------------------------------
    Linux Registered User: 452642 Ubuntu Registered User: 17365

  4. #4
    Join Date
    Jan 2008
    Location
    Gnosall, Staffordshire UK
    Beans
    1,781
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Saj

    Tried that and this is the output
    mark@laptop:~$ sudo chown -hR <mark> /home/<mark>
    bash: syntax error near unexpected token `newline'
    mark@laptop:~$ sudo chown -hR /home/mark
    chown: missing operand after `/home/mark'
    Try `chown --help' for more information.
    mark@laptop:~$
    kidux

    Tried that and this is the output:
    Attached Images Attached Images
    Last edited by mapes12; July 21st, 2009 at 07:08 PM.
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  5. #5
    Join Date
    Apr 2007
    Location
    England, United Kingdom
    Beans
    805
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Sorry dont use the <> when typing username.

    Saj


    i typed them to try show that username was a blank for you to fill in my bad
    Ubuntu User Since 6.06 - "Here To Help"
    Ubuntu Beta Tester Since 6.10 - "We have the problems so you don't have too."
    --------------------------------------------------
    Linux Registered User: 452642 Ubuntu Registered User: 17365

  6. #6
    Join Date
    Apr 2007
    Location
    England, United Kingdom
    Beans
    805
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Code:
    sudo chown -hR mark
    Code:
    sudo chown -hR mark /home/mark
    Ubuntu User Since 6.06 - "Here To Help"
    Ubuntu Beta Tester Since 6.10 - "We have the problems so you don't have too."
    --------------------------------------------------
    Linux Registered User: 452642 Ubuntu Registered User: 17365

  7. #7
    Join Date
    Apr 2007
    Location
    England, United Kingdom
    Beans
    805
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Quote Originally Posted by mapes12 View Post
    Saj

    Tried that and this is the output

    kidux

    Tried that and this is the output:


    Fro that screenshot from top downwards the drop down menus should say

    mark
    create and delete files
    ---

    mark
    create and delete files
    ---

    access files
    ---




    and then click apply ot enclosed files and folders and that should work doing it the GUI way.


    Saj
    Ubuntu User Since 6.06 - "Here To Help"
    Ubuntu Beta Tester Since 6.10 - "We have the problems so you don't have too."
    --------------------------------------------------
    Linux Registered User: 452642 Ubuntu Registered User: 17365

  8. #8
    Join Date
    Jan 2008
    Location
    Gnosall, Staffordshire UK
    Beans
    1,781
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Hi Saj

    Just had another go and got this
    mark@laptop:~$ sudo chown -hR mark
    chown: missing operand after `mark'
    Try `chown --help' for more information.
    mark@laptop:~$ sudo chown -hR mark /home/mark
    chown: cannot access `/home/mark/.gvfs': Permission denied
    mark@laptop:~$
    Does this help
    mark@laptop:~$ ls -l /home
    total 20
    drwxr-xr-x 2 root root 16384 2009-07-21 13:52 lost+found
    drwxr-xr-x 35 mark mark 4096 2009-07-21 19:07 mark
    mark@laptop:~$ ls -l /home/mark
    total 52
    drwxr-xr-x 2 mark mark 4096 2009-07-21 19:07 Desktop
    drwxr-xr-x 3 mark mark 4096 2009-07-21 17:09 Documents
    dr-xr-xr-x 3 mark root 4096 2009-07-21 16:54 Examples
    -r--r--r-- 1 mark root 166 2008-06-05 20:51 Holiday Destinations
    -r--r--r-- 1 mark root 155 2008-06-05 20:48 Holiday Destinations~
    drwxr-xr-x 2 mark mark 4096 2009-07-21 14:35 Music
    dr-xr-xr-x 2 mark root 4096 2009-07-12 17:05 PDF
    dr-xr-xr-x 2 mark root 4096 2009-07-19 10:13 Photos
    drwxr-xr-x 3 mark mark 4096 2009-07-21 17:09 Pictures
    drwxr-xr-x 2 mark mark 4096 2009-07-21 14:35 Public
    dr-xr-xr-x 3 mark root 4096 2008-12-10 10:03 pulse-backup
    drwxr-xr-x 2 mark mark 4096 2009-07-21 14:35 Templates
    drwxr-xr-x 2 mark mark 4096 2009-07-21 14:35 Videos
    mark@laptop:~$
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  9. #9
    Join Date
    Jan 2008
    Location
    Gnosall, Staffordshire UK
    Beans
    1,781
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    Fro that screenshot from top downwards the drop down menus should say

    mark
    create and delete files
    ---

    mark
    create and delete files
    ---

    access files
    ---
    Thanks Saj

    But which directory. /home or /home/mark?
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  10. #10
    Join Date
    Apr 2007
    Location
    England, United Kingdom
    Beans
    805
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Padlocks on Home Folder Content after HDD Upgrade?

    I will look into that now,just going to boot up an old machine and simulate the problem.

    Change it through the GUI if possible this time and when i figure it out I will figure out the CL way of doing it.

    Read upto see how to do it in GUI.

    Hope it helps
    Saj
    Ubuntu User Since 6.06 - "Here To Help"
    Ubuntu Beta Tester Since 6.10 - "We have the problems so you don't have too."
    --------------------------------------------------
    Linux Registered User: 452642 Ubuntu Registered User: 17365

Page 1 of 3 123 LastLast

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
  •