Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: /Home permissions are Root - Need to change

  1. #1
    Join Date
    Oct 2012
    Location
    Eugene, Or
    Beans
    246
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question /Home permissions are Root - Need to change

    Reinstalled Ubuntu 12.04 with Root & Home on Different Partitions. Copied over 2 Directories "Documents & Downloads" from my Home Backup (Full partition Backup of Home). tried to change the owner via gksu nautilus but no luck. did not change. Now if change folder inside Downloads Dir say "Wifi on Dell Latitude D600" (which i did) only changes the Folder properties not the the files inside the folder. I can change the file Properties Individually (which i did). How can change all Files in Downloads & Documents to my current User easily?? I found this would this work http://askubuntu.com/questions/12974...up-memberships or what is the way to do it in the Terminal? If need more Info let me know. Any info would be Appreciated thanks
    The Answer Please if at all Possible

  2. #2
    Join Date
    Nov 2009
    Location
    Gainesville, VA
    Beans
    459
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: /Home permissions are Root - Need to change

    Are you asking how to change the file ownership?

  3. #3
    Join Date
    Oct 2012
    Location
    Eugene, Or
    Beans
    246
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: /Home permissions are Root - Need to change

    yes im asking how to change file Ownership preferably gui. bu i will do in the terminal also.
    The Answer Please if at all Possible

  4. #4
    Join Date
    Mar 2008
    Beans
    523
    Distro
    Ubuntu Development Release

    Re: /Home permissions are Root - Need to change

    You will need to change the ownership of the files, and it is MUCH easier and more reliable to do it through the console. I will give you directions, but you MUST be extremely careful, as anything run as root (using sudo) that includes -r can have catastrophic consequences if misused.

    Very simply, open up a terminal (boot into single user mode if you have to) and assuming your username for your desktop is steve,

    Code:
    sudo chown -R steve:steve /home/steve
    That will change the owner and group owner of your home directory and everything in it. In plain english that more or less means:

    As the root user (sudo), change ownership (chown), recursively (-R), to the user named steve and the group named steve (steve:steve), of steve's home directory (/home/steve)

    If you're forced to boot into single user root terminal mode, you can skip the sudo.

    If any part of that is unclear, PLEASE ask for clarification.
    Last edited by VeeDubb; April 23rd, 2013 at 06:39 AM.
    My blog about getting your life in gear: Growing Up After 30.

    My Photography: Stephen Michael Photography.

  5. #5
    Join Date
    Nov 2009
    Location
    Gainesville, VA
    Beans
    459
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: /Home permissions are Root - Need to change

    ^^He beat me to it. And don't forget to go over the man page:

    man chown

    Cheers.
    Last edited by Diametric; April 23rd, 2013 at 06:42 AM.

  6. #6
    Join Date
    Oct 2012
    Location
    Eugene, Or
    Beans
    246
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: /Home permissions are Root - Need to change

    Ok i did sudo chown -R craig:craig /home/craig I get error chown: cannot access `/home/craig/.gvfs': Permission denied back whts going on now?
    The Answer Please if at all Possible

  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    5,526
    Distro
    Ubuntu

    Re: /Home permissions are Root - Need to change

    Quote Originally Posted by Redalien0304 View Post
    Ok i did sudo chown -R craig:craig /home/craig I get error chown: cannot access `/home/craig/.gvfs': Permission denied back whts going on now?
    What does

    Code:
    ls -al ~/.gvfs
    show you.

    And do you have any samba or network shares mounted?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  8. #8
    Join Date
    Oct 2012
    Location
    Eugene, Or
    Beans
    246
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: /Home permissions are Root - Need to change

    Output of ls -al ~/.gvfs
    dr-x------ 2 craig craig 0 Apr 22 16:45 .
    drwxr-xr-x 28 craig craig 4096 Apr 22 21:00 ..

    No samba or network shares
    The Answer Please if at all Possible

  9. #9
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    5,526
    Distro
    Ubuntu

    Re: /Home permissions are Root - Need to change

    I did find this which gives some info on gvfs

    http://ubuntuforums.org/showthread.php?t=791693


    Whether the info is helpful for this or not...
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  10. #10
    Join Date
    Apr 2012
    Beans
    6,180

    Re: /Home permissions are Root - Need to change

    That's normal, it's nothing to worry about imho - .gvfs is like a mount point for user-mounted Nautilus network shares, you shouldn't be trying to change the ownership on those anyhow (they are not really part of 'your' home directory). It's always created without read permissions for anyone except the owner (not even root).

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •