Find the answer to your Linux question:
Results 1 to 4 of 4
Greetings! While trying to "fix" one of the user accounts on my flash drive's Maya XFCE user accounts (accidentally deleted it's Public folder and any new folder I make under ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    48

    Accidentally Deleted Public Folder/$Home warning


    Greetings!

    While trying to "fix" one of the user accounts on my flash drive's Maya XFCE user accounts (accidentally deleted it's Public folder and any new folder I make under the same name lacks the profile icon other Public folders have, so I suppose it really isn't a real one). Now whenever I boot up or switch users, I get a box reading; "User's $Home/.dmrc file is being ignored. This prevents the default session and language from being saved. User's $Home directory must be owned by user and not writable by other users."

    Any hints how to remedy both situations? Thanks!

    Jim in NYC

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    917
    Delete the home folder you created.
    Delete the user's account
    userdel <username>
    useradd username -m

    This will recreate the user's home directory and allow them to log in as normal.

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    48
    Quote Originally Posted by mizzle View Post
    Delete the home folder you created.
    Delete the user's account
    userdel <username>
    useradd username -m

    This will recreate the user's home directory and allow them to log in as normal.
    olders

    Thanks for swift reply! Is there a way to do this without deleting the Documents and Photo folders?

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by jimwg View Post
    olders

    Thanks for swift reply! Is there a way to do this without deleting the Documents and Photo folders?
    You can try changing the ownership / permissions of the home directory all subdirectories/files, e.g.:

    Code:
    chown -R <userid>:<groupid> /home/<userid>
    Code:
    chmod 0700 /home/<userid>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •