Please find, for review, the debconf templates of davfs2. This review will last from Friday, May 18, 2007 to Monday, May 28, 2007. Please send reviews as unified diffs (diff -u) against the original files. Comments about your proposed changes will be appreciated. Your review should be sent as an answer to this mail. When appropriate, I will send intermediate requests for review, with "[RFRn]" (n>=2) as a subject tag. When we will reach a consensus, I send a "Last Chance For Comments" mail with "[LCFC]" as a subject tag. Finally, the reviewed templates will be sent to the package maintainer as a bug report, and a mail will be sent to this list with "[BTS]" as a subject tag. --
Template: davfs2/suid_file Type: boolean Default: false _Description: Should unprovileged users be allowed to mount WebDAV resources? The file /sbin/mount.davfs must have the SUID bit set if you want to allow unprivileged (non-root) users to mount WebDAV resources. . Choosing this option is discouraged for security reasons. If you choose it, more details will be required. . Otherwise, only root will be allowed to mount WebDAV resources. This can later be changed by running 'dpkg-reconfigure davfs2'. Template: davfs2/user_name Type: string Default: davfs2 _Description: User running the mount.davfs daemon: Once the davfs resource has been mounted, the daemon may drop the root privileges and will run with an unprivileged user ID. . Please choose which login name should be used by the daemon. Template: davfs2/group_name Type: string Default: davfs2 _Description: Group for the users allowed to mount WebDAV resources: When mounting WebDAV resources, a file is created in /var/run/mount.davfs. This directory will be owned by the group entered here. Template: davfs2/new_user Type: boolean Default: true _Description: Do you want to create the user? The "${user_name}" user does not exist on the system and will be created if you choose this option. Template: davfs2/new_group Type: boolean Default: true _Description: Do you want to create the group? The "${group_name}" group does not exist on the system and will be created if you choose this option. Template: davfs2/non_root_users_confimed Type: note #flag:translate!:3,5 _Description: Unprivileged users allowed to mount WebDAV resources The "${group_name}" group and the "${user_name}" user will be used by davfs2. All users who should be granted the right to mount WebDAV resources should be added to that group: . usermod -a -G ${group_name} <username> . The following should also be added to /etc/fstab: . https://webdav.site.com/path /mnt davfs rw,users,noauto 0 0 . More options can optionaly be used. Please read the mount.davfs man page for more information.
--- ../davfs2.old/debian/templates 2007-05-10 07:30:19.520818338 +0200 +++ debian/templates 2007-05-14 08:07:58.973649018 +0200 @@ -1,62 +1,60 @@ Template: davfs2/suid_file Type: boolean Default: false -_Description: Do you want to allow non-root users mount WebDAV resources? +_Description: Should unprovileged users be allowed to mount WebDAV resources? The file /sbin/mount.davfs must have the SUID bit set if you want to allow - non-root users to mount webdav resources. + unprivileged (non-root) users to mount WebDAV resources. . - Files with SUID root are normally avoided. + Choosing this option is discouraged for security reasons. If you + choose it, more details will be required. . - If you answer confirmative to this question, more details will be required. - Otherwise, non-root users can not mount webdav resources. - . - You can always change your opinion with "dpkg-reconfigure davfs2" + Otherwise, only root will be allowed to mount WebDAV resources. This can + later be changed by running 'dpkg-reconfigure davfs2'. Template: davfs2/user_name Type: string Default: davfs2 -_Description: When invoked by root, the mount.davfs daemon will run as this user: - mount.davfs starts with effective user-id 'root' to be able to mount. After - mounting it changes its id permanently to that of the mounting user. When - the mounting user is root, the mount.davfs daemon will run as the following declared user. +_Description: User running the mount.davfs daemon: + Once the davfs resource has been mounted, the daemon may drop the + root privileges and will run with an unprivileged user ID. + . + Please choose which login name should be used by the daemon. Template: davfs2/group_name Type: string Default: davfs2 -_Description: The non-root users of davfs2 must be part of this group: - For creating a file in /var/run/mount.davfs you must provide a group to - own this directory. If you give a non-existant group, it will be created for - you. +_Description: Group for the users allowed to mount WebDAV resources: + When mounting WebDAV resources, a file is created in + /var/run/mount.davfs. This directory will be owned by the group + entered here. Template: davfs2/new_user Type: boolean Default: true -_Description: Do you want to create this new user? - The user "${user_name}" will be created because it doesn't exist in your - system and will be used by davfs2 if you answer confirmative. +_Description: Do you want to create the user? + The "${user_name}" user does not exist on the system and will be + created if you choose this option. Template: davfs2/new_group Type: boolean Default: true -_Description: Do you want to create this new group? - The group "${group_name}" will be created because it doesn't exist in your - system and will be used by davfs2 if you answer confirmative. +_Description: Do you want to create the group? + The "${group_name}" group does not exist on the system and will be + created if you choose this option. Template: davfs2/non_root_users_confimed Type: note -_Description: Non-root users can now mount webdav resources - The group "${group_name}" and the user "${user_name}" will be used by davfs2. You must add to this - group all your users that you want to grant access. Like this: +#flag:translate!:3,5 +_Description: Unprivileged users allowed to mount WebDAV resources + The "${group_name}" group and the "${user_name}" user will be used by + davfs2. All users who should be granted the right to mount WebDAV + resources should be added to that group: . usermod -a -G ${group_name} <username> . - Remember to add a line similar to this one in the /etc/fstab: + The following should also be added to /etc/fstab: . https://webdav.site.com/path /mnt davfs rw,users,noauto 0 0 . - Please, note that you should use http if your server doesn't support https - connections. The mount point, the name of the server and the path must be - adapted to your requirements. - . - More options can be used optionaly, please check the mount.davfs manpage + More options can optionaly be used. Please read the mount.davfs man page for more information. --- ../davfs2.old/debian/control 2007-05-10 07:30:19.488818302 +0200 +++ debian/control 2007-05-14 07:59:35.493632782 +0200 @@ -9,10 +9,13 @@ Package: davfs2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser -Description: mount a WebDAV resource as a regular file system - DAVFS2 is a Linux file system driver that allows you to mount a WebDAV - resource as a regular file system. It allows files in a remote Web resource - to be edited using standard applications that interact with the file system - (e.g. text editors). It uses coda for file system operations and the neon - library for WebDAV access. It supports SSL and proxy servers. The code is - based on uservfs (uservfs.sf.net). +Description: mount WebDAV resources as regular file systems + DAVFS2 is a Linux file system driver that allows mouting a WebDAV + resource as a regular file system. + . + It allows files in a remote Web resource to be edited using standard + applications that interact with the file system (e.g. text + editors). It uses coda for file system operations and the neon + library for WebDAV access. It supports SSL and proxy servers. The + code is based on uservfs (uservfs.sf.net). +
Source: davfs2 Section: utils Priority: extra Maintainer: Luciano Bello <luciano@linux.org.ar> Build-Depends: debhelper (>= 4.0.0), po-debconf, libssl-dev, libxml2-dev, libneon26-dev Uploaders: Marcela Tiznado <mlt@debian.org> Standards-Version: 3.7.2 Package: davfs2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Description: mount WebDAV resources as regular file systems DAVFS2 is a Linux file system driver that allows mouting a WebDAV resource as a regular file system. . It allows files in a remote Web resource to be edited using standard applications that interact with the file system (e.g. text editors). It uses coda for file system operations and the neon library for WebDAV access. It supports SSL and proxy servers. The code is based on uservfs (uservfs.sf.net).
Attachment:
signature.asc
Description: Digital signature