Results 1 to 4 of 4

Thread: Lost ownership of home dir after fedora

  1. #1
    Join Date
    Jul 2011
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    Lost ownership of home dir after fedora

    I'm on a university computer that automatically mounts a remote filesystem.
    I recently installed fedora locally and stupidly created a user with the same username.
    And now I don't own my home directory even after recursively chowning.
    I think if I give one of the accounts a new name and/or id I'd be fine.
    but I can't be logged in to do that.
    So I've tried creating a temp account in the terminal but I'm having issues giving the account a password.
    I've also tried to no avail:
    Code:
    gksudo gnome-control-center
    gksudo users-admin
    I've tried what's suggest here but I'm not sure the fedora account's uid is 500.
    Is there anything I can do, short of reinstalling ubuntu? I don't mind just getting rid of fedora.

  2. #2
    Join Date
    Oct 2006
    Location
    New York
    Beans
    1,118
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Lost ownership of home dir after fedora

    I think if you make the users have the same userid on both sides it should be smooth sailing.

    so as root,
    usermod -u newuid username

    and then make sure everything in that directory is owned by the right person.

    id -u username, will tell you what their current number is, so do that in either ubuntu or fedora, and then on the other change it to that number.
    Last edited by hwttdz; October 23rd, 2011 at 05:39 PM.
    xubuntu minimal, extensive experience, lshw: http://goo.gl/qCCtn
    blog: http://goo.gl/yLg78
    Linux viruses: http://goo.gl/6OCKA

  3. #3
    Join Date
    Jul 2011
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Lost ownership of home dir after fedora

    Yeah, I guess this can't be fixed without having root.
    Guess I'll ask the staff and wait and see.
    Thanks for getting back so quickly!

  4. #4
    Join Date
    Dec 2009
    Location
    Vermont
    Beans
    853
    Distro
    Ubuntu

    Re: Lost ownership of home dir after fedora

    This may not pertain but Ubuntu starts it's UID at 1000 whereas Fedora begins at 500. So, even though you might have the same name and password, if your UID in Ubuntu is 1001 and your UID in Fedora is 501, you won't be able to access Jack. If you think this is the issue, you can change the user name and password of your present account, then create a new one with the correct Username, Password, and UID.
    Linux: You reap what you tweak.

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
  •