From f44c4e1c5ddb6f31644335df1c0ae6f91d189a20 Mon Sep 17 00:00:00 2001 From: Christoph Goehre Date: Fri, 24 Jul 2009 13:36:42 +0200 Subject: allow to disable chmod on incoming If you share a repository with a group, it may be possible you are not allowed to change permission on incoming. Setting incoming_permissions to zero will disable this chmod. Closes: #535558 --- doc/mini-dinstall.1 | 4 +++- doc/mini-dinstall.conf | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/mini-dinstall.1 b/doc/mini-dinstall.1 index 5973a29..d8df2e9 100644 --- a/doc/mini-dinstall.1 +++ b/doc/mini-dinstall.1 @@ -119,7 +119,9 @@ Additional GnuPG keyrings to use for signature verification. .TP .B incoming_permissions The permissions for the \fIincoming\fR directory. \fBmini\-dinstall\fR will -attempt to set the directory's permissions at startup. Defaults to 0750. +attempt to set the directory's permissions at startup. A value of zero (\''0\'' +or \''0000\'') will disable permission setting. Doing this, you MUST set +permission for incoming by hand! Defaults to 0750. .TP .B keyrings GnuPG keyrings to use for signature verification of changes files. Setting this diff --git a/doc/mini-dinstall.conf b/doc/mini-dinstall.conf index 0c8d372..6c1e022 100644 --- a/doc/mini-dinstall.conf +++ b/doc/mini-dinstall.conf @@ -40,6 +40,8 @@ extra_keyrings = ~/.gnupg/pubring.gpg, ~/.gnupg/other.gpg # The permissions for the incoming directory. If you want to use # mini-dinstall for a group of people, you might want to make this # more permissive. +# A value of zero ('0' or '0000') will disable the permission setting on every +# mini-dinstall run. Doing this, you MUST set permission for incoming by hand. incoming_permissions = 0750 ### The remaining options can also be specified in a per-distribution -- cgit v1.2.3