HOME

TheInfoList



OR:

A home directory is a file system directory on a multi-user
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
containing files for a given
user Ancient Egyptian roles * User (ancient Egyptian official), an ancient Egyptian nomarch (governor) of the Eighth Dynasty * Useramen, an ancient Egyptian vizier also called "User" Other uses * User (computing), a person (or software) using an ...
of the system. The specifics of the home directory (such as its name and location) are defined by the operating system involved; for example,
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, whi ...
/ BSD ( FHS) systems use /home/ and
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for se ...
systems between 2000 and
Server 2003 Server may refer to: Computing * Server (computing), a computer program or a device that provides functionality for other programs or devices, called clients Role * Waiting staff, those who work at a restaurant or a bar attending customers and ...
keep home directories in a folder named Documents and Settings.


Description

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:
web browser A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used o ...
bookmarks, favorite desktop wallpaper and
themes Theme or themes may refer to: * Theme (arts), the unifying subject or idea of the type of visual work * Theme (Byzantine district), an administrative district in the Byzantine Empire governed by a Strategos * Theme (computing), a custom graphical ...
, stored passwords 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 Most file systems include attributes of files and directories that control the ability of users to read, change, navigate, and execute the contents of the file system. In some cases, menu options or functions may be made visible or hidden dependi ...
, 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 file system including other users home directories.


Benefits

Separating user data from system-wide data avoids redundancy and makes backups of important files relatively simple. Furthermore, Trojan horses, viruses, and worms 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
system file A system file in computers is a critical computer file without which a computer system may not operate correctly. These files may come as part of the operating system, a third-party device driver or other sources. Microsoft Windows and MS-DOS mark t ...
s.


Default home directory per operating system


Subdirectories

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


Unix

In Unix, the working directory is automatically set to a user's home directory when they log in. In many built-in commands, typing the ( tilde) character is equivalent to specifying the current user's home directory. The Unix
superuser In computing, the superuser is a special user account used for system administration. Depending on the operating system (OS), the actual name of this account might be root, administrator, admin or supervisor. In some cases, the actual name of t ...
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 macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lap ...
).


VMS

In the
OpenVMS OpenVMS, often referred to as just VMS, is a multi-user, multiprocessing and virtual memory-based operating system. It is designed to support time-sharing, batch processing, transaction processing and workstation applications. Customers using Ope ...
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). * AmigaOS versions 2 and up have "System" and "Work" partitions on hard disks by default. *
BeOS BeOS is an operating system for personal computers first developed by Be Inc. in 1990. It was first written to run on BeBox hardware. BeOS was positioned as a multimedia platform that could be used by a substantial population of desktop users an ...
(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 Windows 95 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of operating systems. The first operating system in the 9x family, it is the successor to Windows 3.1x, and was released to manufacturi ...
OEM Service Release 2 did not have a user folder but, since that release, became in-effect the single user's home directory. *
NeXTSTEP NeXTSTEP is a discontinued object-oriented, multitasking operating system based on the Mach kernel and the UNIX-derived BSD. It was developed by NeXT Computer in the late 1980s and early 1990s and was initially used for its range of propri ...
and
OPENSTEP OpenStep is a defunct object-oriented application programming interface (API) specification for a legacy object-oriented operating system, with the basic goal of offering a NeXTSTEP-like environment on non-NeXTSTEP operating systems. OpenStep wa ...
in a single-user, non-networked setup, is used, as well as when logged in as superuser.


See also

* Directory (computing) * Filesystem Hierarchy Standard *
My Documents My Documents is the commonly recognized name of a special folder in Microsoft Windows (starting with Windows Vista, it is called Documents only, and the actual name of the folder might be different when the language of the installed copy of ...
* Root directory * Working directory


References

{{Reflist Computer file systems File system directories