Product Code Database
Example Keywords: battlefield -smartphones $18-183
   » » Wiki: Home Directory
Tag Wiki 'Home Directory'.

A home directory is a file system directory on a containing for a given user of the system. The specifics of the home directory (such as its name and location) are defined by the operating system involved; for example, / (FHS) systems use /home/{{angbr|username}} and Windows systems between 2000 and Server 2003 keep home directories in a folder named Documents and Settings.

A user's home directory is intended to contain that user's files; including text documents, music, pictures, videos, etc. It may also include their configuration files of preferred settings for any software they have used there and might have tailored to their liking: bookmarks, favorite wallpaper and themes, stored to any external services accessed via a given software, etc. The user can install executable software in this directory, but it will only be available to users with permission to execute files in this directory. The home directory can be organized further with the use of sub-directories.

The content of a user's home directory is protected by file-system permissions, and by default is accessible to all authenticated users and administrators. Any other user that has been granted administrator privileges has authority to access any protected location on the including other users home directories.

Separating user data from system-wide data avoids redundancy and makes backups of important files relatively simple. Furthermore, Trojan horses, , and running under the user's name and with their privileges will in most cases only be able to alter the files in the user's home directory, and perhaps some files belonging to workgroups the user is a part of, but not actual .

Default home directory per operating system
{{angle bracket|root}}/usr/{{angbr|username}}$HOME
Unix-based "Home Directory Definition". Accessed on July 23, 2009{{angbr|root}}/home/{{angbr|username}}
/ (FHS)/home/{{angbr|username}}
/ Solaris/export/home/{{angbr|username}}
Microsoft Windows NT{{angbr|root}}\WINNT\Profiles\{{angbr|username}}%USERPROFILE%<br>%HOMEDRIVE%%HOMEPATH%
Microsoft Windows 2000, XP, and 2003{{angbr|root}}\Documents and Settings\{{angbr|username}}
Microsoft Windows Vista, 7, 8, 10, and 11{{angbr|root}}\Users\{{angbr|username}}

The file on many Linux systems defines the subdirectories created for users by default. Creation is normally done with the first login by Xdg-user-dirs, a tool to help manage "well known" user directories like desktop, downloads, documents, pictures, videos, or music. The tool is also capable of localization (i.e. translation) of the folders' names.

Other features, per operating system

In Unix, the working directory is automatically set to a user's home directory when they . In many built-in commands, typing the (tilde) character is equivalent to specifying the current user's home directory.

The Unix has access to all directories on the file system, and hence can access home directories of all users. The superuser's home directory on older systems was , but on many newer systems it is located at (Linux, BSD), or (Mac OS X).

In the operating system, a user's home directory is called the root directory, and the equivalent of a Unix/DOS/Windows/AmigaOS root directory is referred to as the Master File Directory.

Single-user operating systems
Single-user operating systems simply have a single directory or partition for all user files, there is no individual directory setup per user (though users can still setup and maintain directories inside this main working directory manually).
  • versions 2 and up have "System" and "Work" partitions on hard disks by default.
  • (and its successors) have a /home directory which contains the files belonging to the single user of the system.
  • Versions of Windows prior Windows 95 OEM Service Release 2 did not have a user folder but, since that release, became in-effect the single user's home directory.
  • and in a single-user, non-networked setup, is used, as well as when logged in as superuser.

See also

Page 1 of 1
Page 1 of 1


Pages:  ..   .. 
Items:  .. 


General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 


Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs