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 |
When preserving, the seconds part of every regular file's mtime must |
76 |
be preserved exactly. The sub-second part must either be set to zero, |
77 |
or set to the greatest value supported by the operating system and |
78 |
filesystem that is not greater than the sub-second part of the |
79 |
original time. |
80 |
|
81 |
For any given destination filesystem, the package manager must ensure |
82 |
that for any two preserved files $a$, $b$ in that filesystem the |
83 |
relation $\mbox{mtime}(a) \leq \mbox{mtime}(b)$ still holds, if it |
84 |
held under the original image directory. |
85 |
|
86 |
In other EAPIs, the behaviour with respect to file modification times |
87 |
is undefined. |
88 |
|
89 |
\begin{centertable}{Preservation of file modification times (mtimes)} |
90 |
\label{tab:mtime-preserve} |
91 |
\begin{tabular}{ l l } |
92 |
\toprule |
93 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
94 |
\multicolumn{1}{c}{\textbf{mtimes preserved?}} \\ |
95 |
\midrule |
96 |
\t{0} & Undefined \\ |
97 |
\t{1} & Undefined \\ |
98 |
\t{2} & Undefined \\ |
99 |
\t{3} & Yes \\ |
100 |
\t{4} & Yes \\ |
101 |
\bottomrule |
102 |
\end{tabular} |
103 |
\end{centertable} |
65 |
|
104 |
|
66 |
\subsection{Configuration File Protection} |
105 |
\subsection{Configuration File Protection} |
67 |
\label{sec:config-protect} |
106 |
\label{sec:config-protect} |
68 |
- |
|
|