X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=man%2Ftmpfiles.d.xml;h=0081a6762aee3bc3d137b09c03c1be93b2a49ef4;hb=abef3f91ce5fa9eeffceead885d2d2cabd9f1c96;hp=5d8c2b5b3297a0c673e78106c267a746bb0e8a8e;hpb=1ebab2103d8f82822318e708363c0cc2b930289e;p=elogind.git diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 5d8c2b5b3..0081a6762 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -368,6 +368,22 @@ r! /tmp/.X[0-9]*-lock ignored for x, r, R, L lines. + + Optionally, if prefixed with + ~ the access mode is masked + based on the already set access bits for + existing file or directories: if the existing + file has all executable bits unset then all + executable bits are removed from the new + access mode, too. Similar, if all read bits + are removed from the old access mode they will + be removed from the new access mode too, and + if all write bits are removed, they will be + removed from the new access mode too. In + addition the sticky/suid/gid bit is removed unless + applied to a directory. This + functionality is particularly useful in + conjunction with Z.