Ubuntu 14.04 – How to Change Home Directory

Tags:
Ubuntu
Windows 7
Hi,
I've a dual boot system, Windows 7 with Ubuntu 14.04,. There is only one user in Ubuntu and only one in Windows too.
How can I point my Ubuntu user's Documents, Downloads, Pictures etc. Folders to the one on Windows 7 User's? So that whatever OS I'm in, I've the same documents / downloads / pics folder when I save / open my files?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Occasionally a system administrator may need to change a user’s home directory in Ubuntu 14.04. With superuser privileges, the administrator should invoke the ‘usermod’ command with the ‘-d’ option, followed by the name of the user’s new home directory. It is not necessary to copy all existing files to the new home directory; if desired, this can be accomplished with the ‘-m’ flag. If the new home directory does not yet exist, ‘usermod’ will create it. For more options and examples of syntax, users can consult the ‘man’ page for ‘usermod’ in the Linux terminal.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Brijesh
    As said by using usermod can try.
    14,450 pointsBadges:
    report
  • Subhendu Sen
    You can try Ext2 volume manager application which allows to define mount points for linux partitions. From here you can point your ubuntu's users folder.
    140,480 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: