From e8f31f5bc3a9f852d5c67a7b9c02bf99581ebf48 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 25 Jun 2008 14:50:45 -0700 Subject: [PATCH] Use : instead of . Use the newer : notation rather than ., which is ambiguous for usernames containing periods and deprecated in chown. Thanks to Kurt Roeckx for identifying instances in the Policy manual. --- debian/changelog | 2 ++ policy.sgml | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index bcdab3e..4d3e8ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ debian-policy (3.8.0.2) UNRELEASED; urgency=low + * Use : notation rather than . notation in + multiple places. Thanks, Kurt Roeckx. (Closes: #488039) * Fix typo in 3.8.0.0 upgrading-checklist entry. Patch from Kobayashi Noritada. (Closes: #487701) diff --git a/policy.sgml b/policy.sgml index 7c8cfe1..c9bd84f 100644 --- a/policy.sgml +++ b/policy.sgml @@ -5637,7 +5637,7 @@ rmdir /usr/local/share/emacs 2>/dev/null || true The /usr/local directory itself and all the subdirectories created by the package should (by default) have permissions 2775 (group-writable and set-group-id) and be - owned by root.staff. + owned by root:staff.

@@ -7543,7 +7543,7 @@ endscript

- Files should be owned by root.root, and made + Files should be owned by root:root, and made writable only by the owner and universally readable (and executable, if appropriate), that is mode 644 or 755.

@@ -8045,7 +8045,7 @@ http://localhost/doc/package/filename

Mailboxes are generally mode 660 - user.mail unless the system + user:mail unless the system administrator has chosen otherwise. A MUA may remove a mailbox (unless it has nonstandard permissions) in which case the MTA or another MUA must recreate it if needed. @@ -8053,7 +8053,7 @@ http://localhost/doc/package/filename

- The mail spool is 2775 root.mail, and MUAs should + The mail spool is 2775 root:mail, and MUAs should be setgid mail to do the locking mentioned above (and must obviously avoid accessing other users' mailboxes using this privilege).

@@ -8644,8 +8644,8 @@ name ["syshostname"]: Games which require protected, privileged access to high-score files, saved games, etc., may be made set-group-id (mode 2755) and owned by - root.games, and use files and directories with - appropriate permissions (770 root.games, for + root:games, and use files and directories with + appropriate permissions (770 root:games, for example). They must not be made set-user-id, as this causes security problems. (If an attacker can subvert any set-user-id game they can -- 2.39.2