Chapter 10 - Files¶
10.1 Binaries¶
(Shared with Debian, see: Debian Policy Manual, Section 10.1)
10.2 Libraries¶
(Shared with Debian, see: Debian Policy Manual, Section 10.2)
10.4 Scripts¶
(Shared with Debian, see: Debian Policy Manual, Section 10.4)
10.5 Symbolic links¶
(Shared with Debian, see: Debian Policy Manual, Section 10.5)
10.6 Device files¶
(Modifies: Debian Policy Manual, Section 10.6)
Packages must not include device files in the package file tree.
If a package needs any special device files that are not included in the base system, it must call MAKEDEV in the postinst script, after notifying the user [1].
Packages must not remove any device files in the postrm or any other script. This is left to the system administrator.
Ubuntu uses the serial devices /dev/ttyS*. Programs using the old
/dev/cu* devices should be changed to use /dev/ttyS*.
10.7 Configuration files¶
Editor’s note: This section is considerably similar to the Debian policy. Review is suggested.
10.7.1 Definitions¶
(Shared with Debian, see: Debian Policy Manual, Section 10.7.1)
10.7.2 Location¶
(Shared with Debian, see: Debian Policy Manual, Section 10.7.2)
10.7.3 Behavior¶
(Shared with Debian, see: Debian Policy Manual, Section 10.7.3)
10.7.5 User configuration files (“dotfiles”)¶
(Shared with Debian, see: Debian Policy Manual, Section 10.7.5)
10.8 Log files¶
(Shared with Debian, see: Debian Policy Manual, Section 10.8)
10.9 Permissions and owners¶
(Shared with Debian, see: Debian Policy Manual, Section 10.9)
← (Chapter 9 - The Operating System) | (Chapter 11 - Customized programs) →