bin
HELP: No files on my system are owned by user or group bin. What good are
they? Historically they were probably the owners of binaries in /bin? It is
not mentioned in the FHS, Debian Policy, or the changelogs of base-passwd
or base-files.
LSB 1.3 lists bin as legacy, and says: "The 'bin' UID/GID is included for
compatibility with legacy applications. New applications should no longer
use the 'bin' UID/GID."
该
base-passwd
包保证系统中存在某些用户和某些组。文档位于/usr/share/doc/base-passwd/users-and-groups.txt.gz
(或)( Debian Salsa/usr/share/doc/base-passwd/users-and-groups.html
在线提供的源代码):因此,它是LSB规范的一部分,并且由于 Debian 过去的目标是 LSB 合规性,因此 Ubuntu 有一个
bin
用户和组。/usr
是历史 Unix 中用户主目录的原始路径,所以有一个bin
用户负责/usr/bin
- 比较 root 用户在这些(以及一些更现代的 - Solaris 等)系统中的实现方式,它有/
,没有/root
,作为主目录。