Lines 60-67
as follows:
Link Here
|
60 |
set*id bit set. |
60 |
set*id bit set. |
61 |
\end{compactitem} |
61 |
\end{compactitem} |
62 |
|
62 |
|
63 |
On SELinux systems, the SELinux context must also be preserved. Other file attributes, including |
63 |
On SELinux systems, the SELinux context must also be preserved. Other |
64 |
modification time, may be discarded. |
64 |
file attributes may be discarded. |
|
|
65 |
|
66 |
\subsection{File modification times} |
67 |
|
68 |
\featurelabel{mtime-preserve} |
69 |
In EAPIs listed in table~\ref{tab:mtime-preserve}, the package manager |
70 |
must preserve modification times of regular files. This includes files |
71 |
being compressed before merging. Exceptions to this are files newly |
72 |
created by the package manager and binary object files being stripped |
73 |
of symbols. |
74 |
|
75 |
The integer seconds part of the modification time is guaranteed to be |
76 |
preserved. The package manager may also preserve sub-second |
77 |
timestamps; in this case, the full precision available with the |
78 |
underlying operating system, filesystems, and programming language |
79 |
must be used. Timestamps of all files installed in the same |
80 |
destination filesystem must be handled in a consistent way, especially |
81 |
their ordering must be preserved. |
82 |
|
83 |
In other EAPIs, the behaviour with respect to file modification times |
84 |
is undefined. |
85 |
|
86 |
\begin{centertable}{Preservation of file modification times (mtimes)} |
87 |
\label{tab:mtime-preserve} |
88 |
\begin{tabular}{ l l } |
89 |
\toprule |
90 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
91 |
\multicolumn{1}{c}{\textbf{mtimes preserved?}} \\ |
92 |
\midrule |
93 |
\t{0} & Undefined \\ |
94 |
\t{1} & Undefined \\ |
95 |
\t{2} & Undefined \\ |
96 |
\t{3} & Yes \\ |
97 |
\t{4} & Yes \\ |
98 |
\bottomrule |
99 |
\end{tabular} |
100 |
\end{centertable} |
65 |
|
101 |
|
66 |
\subsection{Configuration File Protection} |
102 |
\subsection{Configuration File Protection} |
67 |
\label{sec:config-protect} |
103 |
\label{sec:config-protect} |
68 |
- |
|
|