Add mount option grpid (sr #108432)

This commit is contained in:
wbaumann 2014-04-13 10:11:26 +00:00
parent dc397cc58a
commit aebcb3c26f
8 changed files with 357 additions and 245 deletions

View File

@ -1,6 +1,11 @@
ChangeLog for davfs2
--------------------

2014-04-13 Werner Baumann (werner.baumann@onlinehome.de)
* cache.c, defaults.h, mount_davfs.c, mount_davfs.h:
Add mount option grpid (sr #108432, Thanks to
Miguel Coca)

2014-04-09 Werner Baumann (werner.baumann@onlinehome.de)
* mount_davfs.c, mount_davfs.h:
Replace args->add_mopts.

View File

@ -1,13 +1,13 @@
# #-#-#-#-# mount.davfs.8.po (davfs2) #-#-#-#-#
# German translation of mount.davfs man page.
# Copyright (C) 2007, 2013 Werner Baumann
# Copyright (C) 2007, 2013, 2014 Werner Baumann
# Werner Baumann <werner.baumann@onlinehome.de>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: davfs2 1.4.0\n"
"POT-Creation-Date: 2014-04-05 20:22+0300\n"
"PO-Revision-Date: 2014-04-05 2ß:24+0200\n"
"POT-Creation-Date: 2014-04-13 11:47+0300\n"
"PO-Revision-Date: 2014-04-13 11:52+0200\n"
"Last-Translator: Werner Baumann <werner.baumann@onlinehome.de>\n"
"Language-Team: \n"
"Language: \n"
@ -38,27 +38,27 @@ msgstr "BESCHREIBUNG"

# type: SH
#. type: SH
#: davfs2.conf.5:518 mount.davfs.8:536 umount.davfs.8:79
#: davfs2.conf.5:513 mount.davfs.8:547 umount.davfs.8:79
#, no-wrap
msgid "AUTHORS"
msgstr "AUTOREN"

# type: SH
#. type: SH
#: davfs2.conf.5:524 mount.davfs.8:553 umount.davfs.8:84
#: davfs2.conf.5:519 mount.davfs.8:564 umount.davfs.8:84
#, no-wrap
msgid "DAVFS2 HOME"
msgstr "DAVFS2 HOME"

# type: TH
#. type: Plain text
#: davfs2.conf.5:527 mount.davfs.8:556 umount.davfs.8:87
#: davfs2.conf.5:522 mount.davfs.8:567 umount.davfs.8:87
msgid "@PACKAGE_BUGREPORT@"
msgstr "@PACKAGE_BUGREPORT@"

# type: SH
#. type: SH
#: davfs2.conf.5:529 mount.davfs.8:558 umount.davfs.8:89
#: davfs2.conf.5:524 mount.davfs.8:569 umount.davfs.8:89
#, no-wrap
msgid "SEE ALSO"
msgstr "SIEHE AUCH"
@ -451,12 +451,44 @@ msgstr "Voreinstellung: die primäre Gruppe des Benutzers."
#. type: TP
#: mount.davfs.8:138
#, no-wrap
msgid "B<[no]grpid>"
msgstr "B<[no]grpid>"

#. type: Plain text
#: mount.davfs.8:144
msgid ""
"When this option is set a newly created file will take the group id of the "
"directory in which it is created. This will also apply to all files that are "
"on the server and not in the local cache. (That is because the group id is "
"not stored on the server.)"
msgstr ""
"Wenn diese Option gesetzt ist, erhalten neue Dateien die gleiche Gruppe wie "
"das Verzeichnis, in dem sie erzeugt werden. Dies gilt auch für Dateien, die "
"auf dem Server vorhanden sind, aber nicht im lokalen Cache. (Dies wird "
"gemacht, weil die Gruppe nicht auf dem Server gespeichert ist.)"

#. type: TP
#: mount.davfs.8:144
#, no-wrap
msgid "If the group id of the directory is I<root> this option is ignored."
msgstr "Wenn das Verzeichnis die Gruppe I<root> hat, wird diese Option ignoriert."

# type: Plain text
#. type: Plain text
#: mount.davfs.8:148
msgid "Default: B<nogrpid>."
msgstr "Voreinstellung: B<nogrpid>."

# type: TP
#. type: TP
#: mount.davfs.8:149
#, no-wrap
msgid "B<[no]_netdev>"
msgstr "B<[no]_netdev>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:143
#: mount.davfs.8:154
msgid ""
"The file system needs a (no) network connection for operation. This "
"information allows the operating system to handle the file system properly "
@ -468,52 +500,52 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:145
#: mount.davfs.8:156
msgid "Default: B<_netdev>"
msgstr "Voreinstellung: B<_netdev>"

# type: TP
#. type: TP
#: mount.davfs.8:146
#: mount.davfs.8:157
#, no-wrap
msgid "B<ro>"
msgstr "B<ro>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:149
#: mount.davfs.8:160
msgid "Mount the file system read-only."
msgstr "Das Dateisystem erlaubt nur Lese-Zugriffe."

# type: Plain text
#. type: Plain text
#: mount.davfs.8:151 mount.davfs.8:157
#: mount.davfs.8:162 mount.davfs.8:168
msgid "Default: B<rw>."
msgstr "Voreinstellung: B<rw>."

# type: TP
#. type: TP
#: mount.davfs.8:152
#: mount.davfs.8:163
#, no-wrap
msgid "B<rw>"
msgstr "B<rw>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:155
#: mount.davfs.8:166
msgid "Mount the file system read-write."
msgstr "Auf das Dateisystem kann lesend und schreibend zugegriffen werden."

# type: TP
#. type: TP
#: mount.davfs.8:158
#: mount.davfs.8:169
#, no-wrap
msgid "B<[no]suid>"
msgstr "B<[no]suid>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:163
#: mount.davfs.8:174
msgid ""
"Do not allow set-user-identifier or set-group-identifier bits to take "
"effect. This option is only included for compatibility with the mount "
@ -525,14 +557,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:164
#: mount.davfs.8:175
#, no-wrap
msgid "B<[no]user>"
msgstr "B<[no]user>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:171
#: mount.davfs.8:182
msgid ""
"(Do not) allow an ordinary user to mount the file system. The name of the "
"mounting user is written to I<mtab> so that he can unmount the file system "
@ -548,20 +580,20 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:173
#: mount.davfs.8:184
msgid "Default: ordinary users are not allowed to mount."
msgstr "Voreinstellung: normale Benutzer dürfen nicht mounten."

# type: TP
#. type: TP
#: mount.davfs.8:174
#: mount.davfs.8:185
#, no-wrap
msgid "B<users>"
msgstr "B<users>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:180
#: mount.davfs.8:191
msgid ""
"Like B<user>, but B<any> user is allowed to unmount the file system, not "
"only the mounting user. This is generally not recomended. If the B<user> "
@ -576,7 +608,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:182
#: mount.davfs.8:193
msgid "Default: only the mounting user is allowed to unmount the file system."
msgstr ""
"Voreinstellung: nur der Benutzer, der das Dateisystem einghängt hat, darf es "
@ -584,14 +616,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:183
#: mount.davfs.8:194
#, no-wrap
msgid "B<uid=>I<user>"
msgstr "B<uid=>I<user>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:187
#: mount.davfs.8:198
msgid ""
"The owner of the mounted file system. It may be a numeric ID or a user "
"name. Only when mounted by root, this may be different from the mounting "
@ -603,20 +635,20 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:189
#: mount.davfs.8:200
msgid "Default: ID of the mounting user."
msgstr "Voreinstellung: Kennung des Benutzers."

# type: TP
#. type: TP
#: mount.davfs.8:191
#: mount.davfs.8:202
#, no-wrap
msgid "B<username=>I<WebDAV_user>"
msgstr "B<username=>I<WebDAV_user>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:199
#: mount.davfs.8:210
msgid ""
"Use this name to authenticate with the WebDAV server. This option is "
"intended for use with pam_mount only. When this option is set the "
@ -634,13 +666,13 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:201
#: mount.davfs.8:212
msgid "Default: no username."
msgstr "Voreingestellt: kein username"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:204
#: mount.davfs.8:215
msgid ""
"B<Experimental:> This option is experimental and might be removed. If you "
"think it useful and successfully use it please send a short report."
@ -651,14 +683,14 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:206
#: mount.davfs.8:217
#, no-wrap
msgid "SECURITY POLICY"
msgstr "SICHERHEITSREGELN"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:211
#: mount.davfs.8:222
msgid ""
"B<@PROGRAM_NAME@> needs root privileges for mounting. But running a daemon, "
"that is connected to the internet, with root privileges is a security risk. "
@ -672,7 +704,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:216
#: mount.davfs.8:227
msgid ""
"When invoked by root B<@PROGRAM_NAME@> will run as user B<@USER@> and group "
"B<@GROUP@>. This may be changed in I<@SYS_CONF_DIR@/@CONFIGFILE@>."
@ -683,7 +715,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:220
#: mount.davfs.8:231
msgid ""
"When invoked by an ordinary user it will run with the id of this user and "
"with group B<@GROUP@>."
@ -693,7 +725,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:226
#: mount.davfs.8:237
msgid ""
"As the file system may be mounted over an insecure internet connection, this "
"increases the risk that malicious content may be included in the file "
@ -706,7 +738,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:231
#: mount.davfs.8:242
msgid ""
"Options B<nosuid> and B<nodev> will always be set; even root can not change "
"this."
@ -716,7 +748,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:235
#: mount.davfs.8:246
msgid ""
"For ordinary users to be able to mount, they must be member of group "
"B<@GROUP@> and there must be an entry in I<fstab>."
@ -727,7 +759,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:240
#: mount.davfs.8:251
msgid ""
"When the mount point given in I<fstab> is a relative file name and the file "
"system is mounted by an unprivileged user, the mount point must lie within "
@ -739,7 +771,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:245
#: mount.davfs.8:256
msgid ""
"If in I<fstab> option B<uid> and/or B<gid> are given, an ordinary user can "
"only mount, if her uid is the one given in option B<uid> and he belongs to "
@ -751,7 +783,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:253
#: mount.davfs.8:264
msgid ""
"B<WARNING:> If root allows an ordinary user to mount a file system (using "
"I<fstab>) this includes the permission to read the associated B<credentials> "
@ -769,14 +801,14 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:254
#: mount.davfs.8:265
#, no-wrap
msgid "URLS AND MOUNT POINTS WITH SPACES"
msgstr "URLS UND EINHÄNGEPUNKTE MIT LEERZEICHEN"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:259
#: mount.davfs.8:270
msgid ""
"Special characters like spaces in pathnames are a mess. They are interpreted "
"differently by different programs and protocols, and there are different "
@ -788,7 +820,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:264
#: mount.davfs.8:275
msgid ""
"In I<fstab> spaces must be replaced by a three digit octal escape sequence. "
"Write I<http://foo.bar/path\\(rs040with\\(rs040spaces> instead of I<http://"
@ -801,7 +833,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:268
#: mount.davfs.8:279
msgid ""
"For the I<@CONFIGFILE@> and the I<@SECRETSFILE@> files please see the escape "
"and quotation rules described in the B<@CONFIGFILE@>(5) man page."
@ -811,20 +843,20 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:271
#: mount.davfs.8:282
msgid "On I<command line> you must obey the escaping rules of the shell."
msgstr "Auf der Kommandozeile müssen die Regeln der Shell beachtet werden."

# type: SH
#. type: SH
#: mount.davfs.8:273
#: mount.davfs.8:284
#, no-wrap
msgid "CACHING"
msgstr "CACHE"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:278
#: mount.davfs.8:289
msgid ""
"B<@PROGRAM_NAME@> tries to reduce HTTP-traffic by caching and reusing data. "
"Information about directories and files are held in memory, while downloaded "
@ -836,7 +868,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:286
#: mount.davfs.8:297
msgid ""
"B<@PROGRAM_NAME@> will consider cached information about directories and "
"file attributes valid for a configurable time and look up this information "
@ -854,7 +886,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:292
#: mount.davfs.8:303
msgid ""
"This will not affect the content of files and directory listings. Whenever a "
"file is opened, the server is looked up for a newer version of the file. "
@ -868,14 +900,14 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:294
#: mount.davfs.8:305
#, no-wrap
msgid "LOCKS, LOST UPDATE PROBLEM AND BACKUP FILES"
msgstr "SPERREN, VERLORENGEGANGENE ÄNDERUNGEN UND BACKUP-DATEIEN"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:299
#: mount.davfs.8:310
msgid ""
"WebDAV introduced locks and B<@PROGRAM_NAME@> uses them by default. This "
"will in most cases prevent two people from changing the same file in "
@ -887,7 +919,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:304
#: mount.davfs.8:315
msgid ""
"You might have disabled locks in I<@SYS_CONF_DIR@/@CONFIGFILE@> or I<~/."
"@PACKAGE@/@CONFIGFILE@>."
@ -897,7 +929,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:307
#: mount.davfs.8:318
msgid "The server might not support locks (they are not mandatory)."
msgstr ""
"Möglicherweise unterstützt der Server keine Sperren (sie sind in WevDAV "
@ -905,7 +937,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:311
#: mount.davfs.8:322
msgid ""
"A bad connection might prevent B<@PROGRAM_NAME@> from refreshing the lock in "
"time."
@ -915,7 +947,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:315
#: mount.davfs.8:326
msgid ""
"Another WebDAV-client might use your lock (that is not too difficult and "
"might even happen without intention)."
@ -925,7 +957,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:323
#: mount.davfs.8:334
msgid ""
"B<@PROGRAM_NAME@> will therefore check if the file has been changed on the "
"the server before it uploads a new version. If it finds it impossible to "
@ -941,7 +973,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:331
#: mount.davfs.8:342
msgid ""
"Sometimes locks held by some client on the server will not be released. "
"Maybe the client crashes or the network connection fails. When "
@ -962,7 +994,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:338
#: mount.davfs.8:349
msgid ""
"WebDAV allows to lock files that don't exist (to protect the name when a "
"client intends to create a new file). This locks will be displayed as files "
@ -981,14 +1013,14 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:340
#: mount.davfs.8:351
#, no-wrap
msgid "FILE OWNER AND PERMISSIONS"
msgstr "EIGENTÜMER UND DATEIRECHTE"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:346
#: mount.davfs.8:357
msgid ""
"B<@PACKAGE@> implements Unix permissions for access control. But changing "
"owner and permissions of a file is only B<local>. It is intended as a means "
@ -1002,7 +1034,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:351
#: mount.davfs.8:362
msgid ""
"The server does not know about this. From the servers point of view there is "
"just one user (identified by the credentials) connected. Another WebDAV-"
@ -1015,7 +1047,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:357
#: mount.davfs.8:368
msgid ""
"There is one exeption: The B<execute bit> on files is stored as a property "
"on the sever. You may think of this property as an information about the "
@ -1030,7 +1062,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:363
#: mount.davfs.8:374
msgid ""
"When the file system is unmounted, attributes of cached files (including "
"owner and permissions) are stored in cache, as well as the attributs of the "
@ -1044,34 +1076,34 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:365 umount.davfs.8:67
#: mount.davfs.8:376 umount.davfs.8:67
#, no-wrap
msgid "FILES"
msgstr "DATEIEN"

# type: TP
#. type: TP
#: mount.davfs.8:367
#: mount.davfs.8:378
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@CONFIGFILE@>"
msgstr "I<@SYS_CONF_DIR@/@CONFIGFILE@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:370
#: mount.davfs.8:381
msgid "System wide configuration file."
msgstr "Systemweite Konfigurationsdatei."

# type: TP
#. type: TP
#: mount.davfs.8:371
#: mount.davfs.8:382
#, no-wrap
msgid "I<~/.@PACKAGE@/@CONFIGFILE@>"
msgstr "I<~/.@PACKAGE@/@CONFIGFILE@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:376
#: mount.davfs.8:387
msgid ""
"Configuration file in the users home directory.The user configuration takes "
"precedence over the system wide configuration. If it does not exist, "
@ -1083,14 +1115,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:377
#: mount.davfs.8:388
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@SECRETSFILE@>"
msgstr "I<@SYS_CONF_DIR@/@SECRETSFILE@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:382
#: mount.davfs.8:393
msgid ""
"Holds the credentials for WebDAV servers and the proxy, as well as "
"decryption passwords for client certificates. The file must be read-writable "
@ -1102,14 +1134,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:383
#: mount.davfs.8:394
#, no-wrap
msgid "I<~/.@PACKAGE@/@SECRETSFILE@>"
msgstr "I<~/.@PACKAGE@/@SECRETSFILE@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:393
#: mount.davfs.8:404
msgid ""
"Holds credentials for WebDAV servers and proxy, as well as decryption "
"passwords for client certificates. The file must be read-writable by the "
@ -1130,14 +1162,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:394
#: mount.davfs.8:405
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@CERTS_DIR@>"
msgstr "I<@SYS_CONF_DIR@/@CERTS_DIR@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:401
#: mount.davfs.8:412
msgid ""
"You may store trusted server certificates here, that can not be verified by "
"use of the system wide CA-Certificates. This is useful when your server uses "
@ -1154,20 +1186,20 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:403 mount.davfs.8:412
#: mount.davfs.8:414 mount.davfs.8:423
msgid "Be sure to verify the certificate."
msgstr "Vergiss nicht, das Zertifikat selbst zu prüfen."

# type: TP
#. type: TP
#: mount.davfs.8:404
#: mount.davfs.8:415
#, no-wrap
msgid "I<~/.@PACKAGE@/@CERTS_DIR@>"
msgstr "I<~/.@PACKAGE@/@CERTS_DIR@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:410
#: mount.davfs.8:421
msgid ""
"You may store trusted server certificates here, that can not be verified by "
"use of the system wide CA-Certificates. This is useful when your server uses "
@ -1183,14 +1215,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:413
#: mount.davfs.8:424
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@CERTS_DIR@/@CLICERTS_DIR@>"
msgstr "I<@SYS_CONF_DIR@/@CERTS_DIR@/@CLICERTS_DIR@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:419
#: mount.davfs.8:430
msgid ""
"To store client certificates. Certificates must be in PKCS#12 format. You "
"must configure the B<clientcert> option in I<@SYS_CONF_DIR@/@CONFIGFILE@> or "
@ -1204,14 +1236,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:420
#: mount.davfs.8:431
#, no-wrap
msgid "I<~/.@PACKAGE@/@CERTS_DIR@/@CLICERTS_DIR@>"
msgstr "I<~/.@PACKAGE@/@CERTS_DIR@/@CLICERTS_DIR@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:425
#: mount.davfs.8:436
msgid ""
"To store client certificates. Certificates must be in PKCS#12 format. You "
"must configure the B<clientcert> option in I<~/.@PACKAGE@/@CONFIGFILE@> to "
@ -1224,14 +1256,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:426 umount.davfs.8:69
#: mount.davfs.8:437 umount.davfs.8:69
#, no-wrap
msgid "I<@SYS_RUN@>"
msgstr "I<@SYS_RUN@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:432
#: mount.davfs.8:443
msgid ""
"PID-files of running mount.davfs processes are stored there. This directory "
"must belong to group B<@USER@> with write permissions for the group and the "
@ -1245,14 +1277,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:433
#: mount.davfs.8:444
#, no-wrap
msgid "I<@SYS_CACHE_DIR@>"
msgstr "I<@SYS_CACHE_DIR@>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:440
#: mount.davfs.8:451
msgid ""
"System wide directory for cached files. Used when the file system is mounted "
"by root. It must belong do group B<@USER@> and read, write and execute bits "
@ -1268,14 +1300,14 @@ msgstr ""

# type: TP
#. type: TP
#: mount.davfs.8:441
#: mount.davfs.8:452
#, no-wrap
msgid "I<~/.@PACKAGE@/cache>"
msgstr "I<~/.@PACKAGE@/cache>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:445
#: mount.davfs.8:456
msgid ""
"Cache directory in the mounting users home directory. For every mounted "
"WebDAV resource a subdirectory is created."
@ -1285,7 +1317,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:449
#: mount.davfs.8:460
msgid ""
"B<@PROGRAM_NAME@> will try to create missing directories, but it will B<not> "
"touch I<@SYS_CONF_DIR@>."
@ -1295,21 +1327,21 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:450
#: mount.davfs.8:461
#, no-wrap
msgid "ENVIRONMENT"
msgstr "UMGEBUNGSVARIABLEN"

# type: TP
#. type: TP
#: mount.davfs.8:452
#: mount.davfs.8:463
#, no-wrap
msgid "B<https_proxy http_proxy all_proxy>"
msgstr "B<https_proxy http_proxy all_proxy>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:457
#: mount.davfs.8:468
msgid ""
"If no proxy is defined in the configuration file the value is taken from "
"this environment variables. The proxy may be given with or without scheme "
@ -1321,26 +1353,26 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:459
#: mount.davfs.8:470
msgid "http_proxy=[http://]foo.bar[:3218]"
msgstr "http_proxy=[http://]foo.bar[:3218]"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:461 mount.davfs.8:469
#: mount.davfs.8:472 mount.davfs.8:480
msgid "Only used when the mounting user is root."
msgstr "Wird nur benutzt, wenn der Benutzer root das Dateisystem einhängt."

# type: TP
#. type: TP
#: mount.davfs.8:462
#: mount.davfs.8:473
#, no-wrap
msgid "B<no_proxy>"
msgstr "B<no_proxy>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:467
#: mount.davfs.8:478
msgid ""
"A comma separated list of domain names that shall be accessed directly. "
"B<*> matches any domain name. A domain name starting with B<.> (period) "
@ -1352,27 +1384,27 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:471
#: mount.davfs.8:482
msgid "Not applied when the proxy is defined in I<@SYS_CONF_DIR@>."
msgstr ""
"Wird nicht benutzt, wenn der Proxy in I<@SYS_CONF_DIR@> festgelegt wird."

# type: SH
#. type: SH
#: mount.davfs.8:473
#: mount.davfs.8:484
#, no-wrap
msgid "EXAMPLES"
msgstr "BEISPIELE"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:476
#: mount.davfs.8:487
msgid "B<Non root user (e.g. filomena):>"
msgstr "B<Normaler Benutzer (z.B filomena):>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:479
#: mount.davfs.8:490
msgid "To allow an ordinary user to mount there must be an entry in I<fstab>"
msgstr ""
"Damit ein normaler Benutzer ein Dateisystem einhängen kann, ist ein Eintrag "
@ -1380,13 +1412,13 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:481
#: mount.davfs.8:492
msgid "http://webdav.org/dav /media/dav davfs noauto,user 0 0"
msgstr "http://webdav.org/dav /media/dav davfs noauto,user 0 0"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:486
#: mount.davfs.8:497
msgid ""
"If a proxy must be used this should be configured in I<@SYS_CONF_DIR@/"
"@CONFIGFILE@>"
@ -1396,13 +1428,13 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:488
#: mount.davfs.8:499
msgid "proxy proxy.mycompany.com:8080"
msgstr "proxy proxy.mycompany.com:8080"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:492
#: mount.davfs.8:503
msgid "Credentials are stored in I</home/filomena/.@PACKAGE@/@SECRETSFILE@>"
msgstr ""
"Die vertraulichen Zugangsdaten für den Server werden in I</home/filomena/."
@ -1410,49 +1442,49 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:494
#: mount.davfs.8:505
msgid "proxy.mycompany.com filomena \"my secret\""
msgstr "proxy.mycompany.com filomena \"my secret\""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:496
#: mount.davfs.8:507
msgid "/media/dav webdav-username password"
msgstr "/media/dav webdav-username password"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:500
#: mount.davfs.8:511
msgid "Now the WebDAV resource may be mounted by user filomena invoking"
msgstr "Jetzt kann Benutzerin filomena das Dateisystem einhängen durch "

# type: Plain text
#. type: Plain text
#: mount.davfs.8:502
#: mount.davfs.8:513
msgid "B<mount /media/dav>"
msgstr "B<mount /media/dav>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:506
#: mount.davfs.8:517
msgid "and unmounted by user filomena invoking"
msgstr "und dieselbe Benutzerin filomena kann es aushängen durch"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:508
#: mount.davfs.8:519
msgid "B<umount /media/dav>"
msgstr "B<umount /media/dav>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:512
#: mount.davfs.8:523
msgid "B<Root user only:>"
msgstr "B<Nur Benutzer root:>"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:518
#: mount.davfs.8:529
msgid ""
"Mounts the resource I<https://asciigirl.com/webdav> at mount point I</mount/"
"site>, encrypting all traffic with SSL. Credentials for I<http://webdav.org/"
@ -1467,7 +1499,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:520
#: mount.davfs.8:531
msgid ""
"B<mount -t davfs -o uid=otto,gid=users,mode=775 https://asciigirl.com/"
"webdav /mount/site>"
@ -1477,14 +1509,14 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:524
#: mount.davfs.8:535
msgid "Mounts the resource I<http://linux.org.ar/repos> at I</dav>."
msgstr ""
"Die WebDAV-Resource I<http://linux.org.ar/repos> wird auf I</dav> eingehängt."

# type: Plain text
#. type: Plain text
#: mount.davfs.8:526
#: mount.davfs.8:537
msgid ""
"B<mount.davfs -o uid=otto,gid=users,mode=775 http://linux.org.ar/repos/ /dav>"
msgstr ""
@ -1492,20 +1524,20 @@ msgstr ""

# type: SH
#. type: SH
#: mount.davfs.8:529 umount.davfs.8:74
#: mount.davfs.8:540 umount.davfs.8:74
#, no-wrap
msgid "BUGS"
msgstr "FEHLER"

# type: Plain text
#. type: Plain text
#: mount.davfs.8:532
#: mount.davfs.8:543
msgid "B<@PACKAGE@> does not support links."
msgstr "B<@PACKAGE@> unterstützt keine Links."

# type: Plain text
#. type: Plain text
#: mount.davfs.8:534
#: mount.davfs.8:545
msgid "A B<@PACKAGE@> file system cannot be moved with I<mount --move>."
msgstr ""
"Ein B<@PACKAGE@>-Dateisystem kann nicht mit I<mount --move> verschoben "
@ -1513,7 +1545,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:540
#: mount.davfs.8:551
msgid ""
"This man page was written by Luciano Bello E<lt>luciano@linux.org.arE<gt> "
"for Debian, for version 0.2.3 of davfs2."
@ -1523,7 +1555,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:544
#: mount.davfs.8:555
msgid ""
"It has been updated for this version by Werner Baumann E<lt>werner."
"baumann@onlinhome.deE<gt>."
@ -1533,13 +1565,13 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:547
#: mount.davfs.8:558
msgid "@PACKAGE@ is developed by Sung Kim E<lt>hunkim@gmail.comE<gt>."
msgstr "@PACKAGE@ wurde von Sung Kim E<lt>hunkim@gmail.comE<gt> entwickelt."

# type: Plain text
#. type: Plain text
#: mount.davfs.8:551
#: mount.davfs.8:562
msgid ""
"Version 1.0.0 (and later) of @PACKAGE@ is a complete rewrite by Werner "
"Baumann."
@ -1549,7 +1581,7 @@ msgstr ""

# type: Plain text
#. type: Plain text
#: mount.davfs.8:564
#: mount.davfs.8:575
msgid ""
"B<u@PROGRAM_NAME@>(8), B<@CONFIGFILE@>(5), B<mount>(8), B<umount>(8), "
"B<fstab>(5)"

View File

@ -135,6 +135,17 @@ group name. The mounting user, if not root, must be member of this group.
.br
Default: the primary group of the mounting user.

.TP
.B [no]grpid
When this option is set a newly created file will take the group id
of the directory in which it is created. This will also apply to all files
that are on the server and not in the local cache. (That is because the
group id is not stored on the server.)
.TP
If the group id of the directory is \fIroot\fP this option is ignored.
.br
Default: \fBnogrpid\fR.

.TP
.B [no]_netdev
The file system needs a (no) network connection for operation. This information

View File

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2014-04-05 20:22+0300\n"
"POT-Creation-Date: 2014-04-13 11:47+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -35,24 +35,24 @@ msgid "DESCRIPTION"
msgstr ""

#. type: SH
#: davfs2.conf.5:518 mount.davfs.8:536 umount.davfs.8:79
#: davfs2.conf.5:513 mount.davfs.8:547 umount.davfs.8:79
#, no-wrap
msgid "AUTHORS"
msgstr ""

#. type: SH
#: davfs2.conf.5:524 mount.davfs.8:553 umount.davfs.8:84
#: davfs2.conf.5:519 mount.davfs.8:564 umount.davfs.8:84
#, no-wrap
msgid "DAVFS2 HOME"
msgstr ""

#. type: Plain text
#: davfs2.conf.5:527 mount.davfs.8:556 umount.davfs.8:87
#: davfs2.conf.5:522 mount.davfs.8:567 umount.davfs.8:87
msgid "@PACKAGE_BUGREPORT@"
msgstr ""

#. type: SH
#: davfs2.conf.5:529 mount.davfs.8:558 umount.davfs.8:89
#: davfs2.conf.5:524 mount.davfs.8:569 umount.davfs.8:89
#, no-wrap
msgid "SEE ALSO"
msgstr ""
@ -349,11 +349,37 @@ msgstr ""
#. type: TP
#: mount.davfs.8:138
#, no-wrap
msgid "B<[no]grpid>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:144
msgid ""
"When this option is set a newly created file will take the group id of the "
"directory in which it is created. This will also apply to all files that are "
"on the server and not in the local cache. (That is because the group id is "
"not stored on the server.)"
msgstr ""

#. type: TP
#: mount.davfs.8:144
#, no-wrap
msgid "If the group id of the directory is I<root> this option is ignored."
msgstr ""

#. type: Plain text
#: mount.davfs.8:148
msgid "Default: B<nogrpid>."
msgstr ""

#. type: TP
#: mount.davfs.8:149
#, no-wrap
msgid "B<[no]_netdev>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:143
#: mount.davfs.8:154
msgid ""
"The file system needs a (no) network connection for operation. This "
"information allows the operating system to handle the file system properly "
@ -361,45 +387,45 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:145
#: mount.davfs.8:156
msgid "Default: B<_netdev>"
msgstr ""

#. type: TP
#: mount.davfs.8:146
#: mount.davfs.8:157
#, no-wrap
msgid "B<ro>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:149
#: mount.davfs.8:160
msgid "Mount the file system read-only."
msgstr ""

#. type: Plain text
#: mount.davfs.8:151 mount.davfs.8:157
#: mount.davfs.8:162 mount.davfs.8:168
msgid "Default: B<rw>."
msgstr ""

#. type: TP
#: mount.davfs.8:152
#: mount.davfs.8:163
#, no-wrap
msgid "B<rw>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:155
#: mount.davfs.8:166
msgid "Mount the file system read-write."
msgstr ""

#. type: TP
#: mount.davfs.8:158
#: mount.davfs.8:169
#, no-wrap
msgid "B<[no]suid>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:163
#: mount.davfs.8:174
msgid ""
"Do not allow set-user-identifier or set-group-identifier bits to take "
"effect. This option is only included for compatibility with the mount "
@ -407,13 +433,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:164
#: mount.davfs.8:175
#, no-wrap
msgid "B<[no]user>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:171
#: mount.davfs.8:182
msgid ""
"(Do not) allow an ordinary user to mount the file system. The name of the "
"mounting user is written to I<mtab> so that he can unmount the file system "
@ -423,18 +449,18 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:173
#: mount.davfs.8:184
msgid "Default: ordinary users are not allowed to mount."
msgstr ""

#. type: TP
#: mount.davfs.8:174
#: mount.davfs.8:185
#, no-wrap
msgid "B<users>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:180
#: mount.davfs.8:191
msgid ""
"Like B<user>, but B<any> user is allowed to unmount the file system, not "
"only the mounting user. This is generally not recomended. If the B<user> "
@ -443,18 +469,18 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:182
#: mount.davfs.8:193
msgid "Default: only the mounting user is allowed to unmount the file system."
msgstr ""

#. type: TP
#: mount.davfs.8:183
#: mount.davfs.8:194
#, no-wrap
msgid "B<uid=>I<user>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:187
#: mount.davfs.8:198
msgid ""
"The owner of the mounted file system. It may be a numeric ID or a user "
"name. Only when mounted by root, this may be different from the mounting "
@ -462,18 +488,18 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:189
#: mount.davfs.8:200
msgid "Default: ID of the mounting user."
msgstr ""

#. type: TP
#: mount.davfs.8:191
#: mount.davfs.8:202
#, no-wrap
msgid "B<username=>I<WebDAV_user>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:199
#: mount.davfs.8:210
msgid ""
"Use this name to authenticate with the WebDAV server. This option is "
"intended for use with pam_mount only. When this option is set the "
@ -484,25 +510,25 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:201
#: mount.davfs.8:212
msgid "Default: no username."
msgstr ""

#. type: Plain text
#: mount.davfs.8:204
#: mount.davfs.8:215
msgid ""
"B<Experimental:> This option is experimental and might be removed. If you "
"think it useful and successfully use it please send a short report."
msgstr ""

#. type: SH
#: mount.davfs.8:206
#: mount.davfs.8:217
#, no-wrap
msgid "SECURITY POLICY"
msgstr ""

#. type: Plain text
#: mount.davfs.8:211
#: mount.davfs.8:222
msgid ""
"B<@PROGRAM_NAME@> needs root privileges for mounting. But running a daemon, "
"that is connected to the internet, with root privileges is a security risk. "
@ -510,21 +536,21 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:216
#: mount.davfs.8:227
msgid ""
"When invoked by root B<@PROGRAM_NAME@> will run as user B<@USER@> and group "
"B<@GROUP@>. This may be changed in I<@SYS_CONF_DIR@/@CONFIGFILE@>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:220
#: mount.davfs.8:231
msgid ""
"When invoked by an ordinary user it will run with the id of this user and "
"with group B<@GROUP@>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:226
#: mount.davfs.8:237
msgid ""
"As the file system may be mounted over an insecure internet connection, this "
"increases the risk that malicious content may be included in the file "
@ -532,21 +558,21 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:231
#: mount.davfs.8:242
msgid ""
"Options B<nosuid> and B<nodev> will always be set; even root can not change "
"this."
msgstr ""

#. type: Plain text
#: mount.davfs.8:235
#: mount.davfs.8:246
msgid ""
"For ordinary users to be able to mount, they must be member of group "
"B<@GROUP@> and there must be an entry in I<fstab>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:240
#: mount.davfs.8:251
msgid ""
"When the mount point given in I<fstab> is a relative file name and the file "
"system is mounted by an unprivileged user, the mount point must lie within "
@ -554,7 +580,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:245
#: mount.davfs.8:256
msgid ""
"If in I<fstab> option B<uid> and/or B<gid> are given, an ordinary user can "
"only mount, if her uid is the one given in option B<uid> and he belongs to "
@ -562,7 +588,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:253
#: mount.davfs.8:264
msgid ""
"B<WARNING:> If root allows an ordinary user to mount a file system (using "
"I<fstab>) this includes the permission to read the associated B<credentials> "
@ -573,13 +599,13 @@ msgid ""
msgstr ""

#. type: SH
#: mount.davfs.8:254
#: mount.davfs.8:265
#, no-wrap
msgid "URLS AND MOUNT POINTS WITH SPACES"
msgstr ""

#. type: Plain text
#: mount.davfs.8:259
#: mount.davfs.8:270
msgid ""
"Special characters like spaces in pathnames are a mess. They are interpreted "
"differently by different programs and protocols, and there are different "
@ -587,7 +613,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:264
#: mount.davfs.8:275
msgid ""
"In I<fstab> spaces must be replaced by a three digit octal escape sequence. "
"Write I<http://foo.bar/path\\(rs040with\\(rs040spaces> instead of I<http://"
@ -595,25 +621,25 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:268
#: mount.davfs.8:279
msgid ""
"For the I<@CONFIGFILE@> and the I<@SECRETSFILE@> files please see the escape "
"and quotation rules described in the B<@CONFIGFILE@>(5) man page."
msgstr ""

#. type: Plain text
#: mount.davfs.8:271
#: mount.davfs.8:282
msgid "On I<command line> you must obey the escaping rules of the shell."
msgstr ""

#. type: SH
#: mount.davfs.8:273
#: mount.davfs.8:284
#, no-wrap
msgid "CACHING"
msgstr ""

#. type: Plain text
#: mount.davfs.8:278
#: mount.davfs.8:289
msgid ""
"B<@PROGRAM_NAME@> tries to reduce HTTP-traffic by caching and reusing data. "
"Information about directories and files are held in memory, while downloaded "
@ -621,7 +647,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:286
#: mount.davfs.8:297
msgid ""
"B<@PROGRAM_NAME@> will consider cached information about directories and "
"file attributes valid for a configurable time and look up this information "
@ -632,7 +658,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:292
#: mount.davfs.8:303
msgid ""
"This will not affect the content of files and directory listings. Whenever a "
"file is opened, the server is looked up for a newer version of the file. "
@ -641,13 +667,13 @@ msgid ""
msgstr ""

#. type: SH
#: mount.davfs.8:294
#: mount.davfs.8:305
#, no-wrap
msgid "LOCKS, LOST UPDATE PROBLEM AND BACKUP FILES"
msgstr ""

#. type: Plain text
#: mount.davfs.8:299
#: mount.davfs.8:310
msgid ""
"WebDAV introduced locks and B<@PROGRAM_NAME@> uses them by default. This "
"will in most cases prevent two people from changing the same file in "
@ -655,33 +681,33 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:304
#: mount.davfs.8:315
msgid ""
"You might have disabled locks in I<@SYS_CONF_DIR@/@CONFIGFILE@> or I<~/."
"@PACKAGE@/@CONFIGFILE@>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:307
#: mount.davfs.8:318
msgid "The server might not support locks (they are not mandatory)."
msgstr ""

#. type: Plain text
#: mount.davfs.8:311
#: mount.davfs.8:322
msgid ""
"A bad connection might prevent B<@PROGRAM_NAME@> from refreshing the lock in "
"time."
msgstr ""

#. type: Plain text
#: mount.davfs.8:315
#: mount.davfs.8:326
msgid ""
"Another WebDAV-client might use your lock (that is not too difficult and "
"might even happen without intention)."
msgstr ""

#. type: Plain text
#: mount.davfs.8:323
#: mount.davfs.8:334
msgid ""
"B<@PROGRAM_NAME@> will therefore check if the file has been changed on the "
"the server before it uploads a new version. If it finds it impossible to "
@ -691,7 +717,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:331
#: mount.davfs.8:342
msgid ""
"Sometimes locks held by some client on the server will not be released. "
"Maybe the client crashes or the network connection fails. When "
@ -703,7 +729,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:338
#: mount.davfs.8:349
msgid ""
"WebDAV allows to lock files that don't exist (to protect the name when a "
"client intends to create a new file). This locks will be displayed as files "
@ -714,13 +740,13 @@ msgid ""
msgstr ""

#. type: SH
#: mount.davfs.8:340
#: mount.davfs.8:351
#, no-wrap
msgid "FILE OWNER AND PERMISSIONS"
msgstr ""

#. type: Plain text
#: mount.davfs.8:346
#: mount.davfs.8:357
msgid ""
"B<@PACKAGE@> implements Unix permissions for access control. But changing "
"owner and permissions of a file is only B<local>. It is intended as a means "
@ -729,7 +755,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:351
#: mount.davfs.8:362
msgid ""
"The server does not know about this. From the servers point of view there is "
"just one user (identified by the credentials) connected. Another WebDAV-"
@ -737,7 +763,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:357
#: mount.davfs.8:368
msgid ""
"There is one exeption: The B<execute bit> on files is stored as a property "
"on the sever. You may think of this property as an information about the "
@ -746,7 +772,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:363
#: mount.davfs.8:374
msgid ""
"When the file system is unmounted, attributes of cached files (including "
"owner and permissions) are stored in cache, as well as the attributs of the "
@ -755,30 +781,30 @@ msgid ""
msgstr ""

#. type: SH
#: mount.davfs.8:365 umount.davfs.8:67
#: mount.davfs.8:376 umount.davfs.8:67
#, no-wrap
msgid "FILES"
msgstr ""

#. type: TP
#: mount.davfs.8:367
#: mount.davfs.8:378
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@CONFIGFILE@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:370
#: mount.davfs.8:381
msgid "System wide configuration file."
msgstr ""

#. type: TP
#: mount.davfs.8:371
#: mount.davfs.8:382
#, no-wrap
msgid "I<~/.@PACKAGE@/@CONFIGFILE@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:376
#: mount.davfs.8:387
msgid ""
"Configuration file in the users home directory.The user configuration takes "
"precedence over the system wide configuration. If it does not exist, "
@ -786,13 +812,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:377
#: mount.davfs.8:388
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@SECRETSFILE@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:382
#: mount.davfs.8:393
msgid ""
"Holds the credentials for WebDAV servers and the proxy, as well as "
"decryption passwords for client certificates. The file must be read-writable "
@ -800,13 +826,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:383
#: mount.davfs.8:394
#, no-wrap
msgid "I<~/.@PACKAGE@/@SECRETSFILE@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:393
#: mount.davfs.8:404
msgid ""
"Holds credentials for WebDAV servers and proxy, as well as decryption "
"passwords for client certificates. The file must be read-writable by the "
@ -818,13 +844,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:394
#: mount.davfs.8:405
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@CERTS_DIR@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:401
#: mount.davfs.8:412
msgid ""
"You may store trusted server certificates here, that can not be verified by "
"use of the system wide CA-Certificates. This is useful when your server uses "
@ -834,18 +860,18 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:403 mount.davfs.8:412
#: mount.davfs.8:414 mount.davfs.8:423
msgid "Be sure to verify the certificate."
msgstr ""

#. type: TP
#: mount.davfs.8:404
#: mount.davfs.8:415
#, no-wrap
msgid "I<~/.@PACKAGE@/@CERTS_DIR@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:410
#: mount.davfs.8:421
msgid ""
"You may store trusted server certificates here, that can not be verified by "
"use of the system wide CA-Certificates. This is useful when your server uses "
@ -854,13 +880,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:413
#: mount.davfs.8:424
#, no-wrap
msgid "I<@SYS_CONF_DIR@/@CERTS_DIR@/@CLICERTS_DIR@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:419
#: mount.davfs.8:430
msgid ""
"To store client certificates. Certificates must be in PKCS#12 format. You "
"must configure the B<clientcert> option in I<@SYS_CONF_DIR@/@CONFIGFILE@> or "
@ -869,13 +895,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:420
#: mount.davfs.8:431
#, no-wrap
msgid "I<~/.@PACKAGE@/@CERTS_DIR@/@CLICERTS_DIR@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:425
#: mount.davfs.8:436
msgid ""
"To store client certificates. Certificates must be in PKCS#12 format. You "
"must configure the B<clientcert> option in I<~/.@PACKAGE@/@CONFIGFILE@> to "
@ -883,13 +909,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:426 umount.davfs.8:69
#: mount.davfs.8:437 umount.davfs.8:69
#, no-wrap
msgid "I<@SYS_RUN@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:432
#: mount.davfs.8:443
msgid ""
"PID-files of running mount.davfs processes are stored there. This directory "
"must belong to group B<@USER@> with write permissions for the group and the "
@ -898,13 +924,13 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:433
#: mount.davfs.8:444
#, no-wrap
msgid "I<@SYS_CACHE_DIR@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:440
#: mount.davfs.8:451
msgid ""
"System wide directory for cached files. Used when the file system is mounted "
"by root. It must belong do group B<@USER@> and read, write and execute bits "
@ -914,39 +940,39 @@ msgid ""
msgstr ""

#. type: TP
#: mount.davfs.8:441
#: mount.davfs.8:452
#, no-wrap
msgid "I<~/.@PACKAGE@/cache>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:445
#: mount.davfs.8:456
msgid ""
"Cache directory in the mounting users home directory. For every mounted "
"WebDAV resource a subdirectory is created."
msgstr ""

#. type: Plain text
#: mount.davfs.8:449
#: mount.davfs.8:460
msgid ""
"B<@PROGRAM_NAME@> will try to create missing directories, but it will B<not> "
"touch I<@SYS_CONF_DIR@>."
msgstr ""

#. type: SH
#: mount.davfs.8:450
#: mount.davfs.8:461
#, no-wrap
msgid "ENVIRONMENT"
msgstr ""

#. type: TP
#: mount.davfs.8:452
#: mount.davfs.8:463
#, no-wrap
msgid "B<https_proxy http_proxy all_proxy>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:457
#: mount.davfs.8:468
msgid ""
"If no proxy is defined in the configuration file the value is taken from "
"this environment variables. The proxy may be given with or without scheme "
@ -954,23 +980,23 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:459
#: mount.davfs.8:470
msgid "http_proxy=[http://]foo.bar[:3218]"
msgstr ""

#. type: Plain text
#: mount.davfs.8:461 mount.davfs.8:469
#: mount.davfs.8:472 mount.davfs.8:480
msgid "Only used when the mounting user is root."
msgstr ""

#. type: TP
#: mount.davfs.8:462
#: mount.davfs.8:473
#, no-wrap
msgid "B<no_proxy>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:467
#: mount.davfs.8:478
msgid ""
"A comma separated list of domain names that shall be accessed directly. "
"B<*> matches any domain name. A domain name starting with B<.> (period) "
@ -978,85 +1004,85 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:471
#: mount.davfs.8:482
msgid "Not applied when the proxy is defined in I<@SYS_CONF_DIR@>."
msgstr ""

#. type: SH
#: mount.davfs.8:473
#: mount.davfs.8:484
#, no-wrap
msgid "EXAMPLES"
msgstr ""

#. type: Plain text
#: mount.davfs.8:476
#: mount.davfs.8:487
msgid "B<Non root user (e.g. filomena):>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:479
#: mount.davfs.8:490
msgid "To allow an ordinary user to mount there must be an entry in I<fstab>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:481
#: mount.davfs.8:492
msgid "http://webdav.org/dav /media/dav davfs noauto,user 0 0"
msgstr ""

#. type: Plain text
#: mount.davfs.8:486
#: mount.davfs.8:497
msgid ""
"If a proxy must be used this should be configured in I<@SYS_CONF_DIR@/"
"@CONFIGFILE@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:488
#: mount.davfs.8:499
msgid "proxy proxy.mycompany.com:8080"
msgstr ""

#. type: Plain text
#: mount.davfs.8:492
#: mount.davfs.8:503
msgid "Credentials are stored in I</home/filomena/.@PACKAGE@/@SECRETSFILE@>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:494
#: mount.davfs.8:505
msgid "proxy.mycompany.com filomena \"my secret\""
msgstr ""

#. type: Plain text
#: mount.davfs.8:496
#: mount.davfs.8:507
msgid "/media/dav webdav-username password"
msgstr ""

#. type: Plain text
#: mount.davfs.8:500
#: mount.davfs.8:511
msgid "Now the WebDAV resource may be mounted by user filomena invoking"
msgstr ""

#. type: Plain text
#: mount.davfs.8:502
#: mount.davfs.8:513
msgid "B<mount /media/dav>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:506
#: mount.davfs.8:517
msgid "and unmounted by user filomena invoking"
msgstr ""

#. type: Plain text
#: mount.davfs.8:508
#: mount.davfs.8:519
msgid "B<umount /media/dav>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:512
#: mount.davfs.8:523
msgid "B<Root user only:>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:518
#: mount.davfs.8:529
msgid ""
"Mounts the resource I<https://asciigirl.com/webdav> at mount point I</mount/"
"site>, encrypting all traffic with SSL. Credentials for I<http://webdav.org/"
@ -1065,67 +1091,67 @@ msgid ""
msgstr ""

#. type: Plain text
#: mount.davfs.8:520
#: mount.davfs.8:531
msgid ""
"B<mount -t davfs -o uid=otto,gid=users,mode=775 https://asciigirl.com/"
"webdav /mount/site>"
msgstr ""

#. type: Plain text
#: mount.davfs.8:524
#: mount.davfs.8:535
msgid "Mounts the resource I<http://linux.org.ar/repos> at I</dav>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:526
#: mount.davfs.8:537
msgid ""
"B<mount.davfs -o uid=otto,gid=users,mode=775 http://linux.org.ar/repos/ /dav>"
msgstr ""

#. type: SH
#: mount.davfs.8:529 umount.davfs.8:74
#: mount.davfs.8:540 umount.davfs.8:74
#, no-wrap
msgid "BUGS"
msgstr ""

#. type: Plain text
#: mount.davfs.8:532
#: mount.davfs.8:543
msgid "B<@PACKAGE@> does not support links."
msgstr ""

#. type: Plain text
#: mount.davfs.8:534
#: mount.davfs.8:545
msgid "A B<@PACKAGE@> file system cannot be moved with I<mount --move>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:540
#: mount.davfs.8:551
msgid ""
"This man page was written by Luciano Bello E<lt>luciano@linux.org.arE<gt> "
"for Debian, for version 0.2.3 of davfs2."
msgstr ""

#. type: Plain text
#: mount.davfs.8:544
#: mount.davfs.8:555
msgid ""
"It has been updated for this version by Werner Baumann E<lt>werner."
"baumann@onlinhome.deE<gt>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:547
#: mount.davfs.8:558
msgid "@PACKAGE@ is developed by Sung Kim E<lt>hunkim@gmail.comE<gt>."
msgstr ""

#. type: Plain text
#: mount.davfs.8:551
#: mount.davfs.8:562
msgid ""
"Version 1.0.0 (and later) of @PACKAGE@ is a complete rewrite by Werner "
"Baumann."
msgstr ""

#. type: Plain text
#: mount.davfs.8:564
#: mount.davfs.8:575
msgid ""
"B<u@PROGRAM_NAME@>(8), B<@CONFIGFILE@>(5), B<mount>(8), B<umount>(8), "
"B<fstab>(5)"

View File

@ -193,6 +193,10 @@ static gid_t default_gid;
static mode_t default_file_mode;
static mode_t default_dir_mode;

/* New files get the group id of the directory in which they are created
if this variable is set to 1. */
static int grpid;

/* Directory for cached files and directories. */
static char *cache_dir;

@ -589,6 +593,7 @@ dav_init_cache(const dav_args *args, const char *mpoint)

default_file_mode = args->file_mode;
default_dir_mode = args->dir_mode;
grpid = args->grpid;

table_size = args->table_size;
table = xcalloc(table_size, sizeof(*table));
@ -901,7 +906,11 @@ dav_create(dav_node **nodep, dav_node *parent, const char *name, uid_t uid,
(*nodep)->path = path;
(*nodep)->name = xstrdup(name);
(*nodep)->uid = uid;
(*nodep)->gid = pw->pw_gid;
if (grpid && parent->gid != 0) {
(*nodep)->gid = parent->gid;
} else {
(*nodep)->gid = pw->pw_gid;
}
int ret = create_cache_file(*nodep);

if (!ret)
@ -1026,7 +1035,11 @@ dav_mkdir(dav_node **nodep, dav_node *parent, const char *name, uid_t uid,
(*nodep)->path = path;
(*nodep)->name = xstrdup(name);
(*nodep)->uid = uid;
(*nodep)->gid = pw->pw_gid;
if (grpid && parent->gid != 0) {
(*nodep)->gid = parent->gid;
} else {
(*nodep)->gid = pw->pw_gid;
}
(*nodep)->smtime = (*nodep)->mtime;
(*nodep)->utime = (*nodep)->mtime;
delete_cache_file(parent);
@ -1514,6 +1527,9 @@ add_node(dav_node *parent, dav_props *props)
node->remote_exists = 1;
}

if (grpid && parent->gid != 0)
node->gid = parent->gid;

parent->mtime = node->mtime;
parent->ctime = node->mtime;


View File

@ -107,6 +107,10 @@
/* The device directory. */
#define DAV_DEV_DIR "/dev"

/* Whether new files will automatically have the group id of the parent
directory. */
#define DAV_GRPID 0

/* By default add option "_netdev" to mtab entry.
May be overridden by command line or fstab. */
#define DAV_NETDEV 1

View File

@ -746,7 +746,7 @@ check_fstab(const dav_args *args)
error(EXIT_FAILURE, 0,
_("neither option `user' nor option `users' set in %s"),
_PATH_MNTTAB);
if (args->mopts != n_args->mopts)
if (args->mopts != n_args->mopts || args->grpid != n_args->grpid)
error(EXIT_FAILURE, 0, _("different mount options in %s"),
_PATH_MNTTAB);
if (args->fsuid != n_args->fsuid)
@ -1210,8 +1210,9 @@ write_mtab_entry(const dav_args *args)

if (args->use_utab) {
utab_line = xasprintf("SRC=%s TARGET=%s ROOT=/ "
"OPTS=uid=%i,gid=%i%s%s,helper=%s\n",
"OPTS=uid=%i,gid=%i%s%s%s,helper=%s\n",
url, mpoint, args->fsuid, args->fsgid,
(args->grpid) ? ",grpid" : "",
(!args->privileged) ? ",user=" : "",
(!args->privileged) ? args->uid_name : "",
DAV_FS_TYPE);
@ -1223,11 +1224,12 @@ write_mtab_entry(const dav_args *args)
mntent.mnt_fsname = url;
mntent.mnt_dir = mpoint;
mntent.mnt_type = DAV_FS_TYPE;
mntent.mnt_opts = xasprintf("%s%s%s%s%s,uid=%i,gid=%i%s%s",
mntent.mnt_opts = xasprintf("%s%s%s%s%s%s,uid=%i,gid=%i%s%s",
(args->mopts & MS_RDONLY) ? "ro" : "rw",
(args->mopts & MS_NOSUID) ? ",nosuid" : "",
(args->mopts & MS_NOEXEC) ? ",noexec" : "",
(args->mopts & MS_NODEV) ? ",nodev" : "",
(args->grpid) ? ",grpid" : "",
(args->netdev) ? ",_netdev" : "",
args->fsuid, args->fsgid,
(!args->privileged) ? ",user=" : "",
@ -1500,6 +1502,8 @@ get_options(dav_args *args, char *option)
USERS,
NETDEV,
NONETDEV,
GRPID,
NOGRPID,
RW,
RO,
SUID,
@ -1527,6 +1531,8 @@ get_options(dav_args *args, char *option)
[USERS] = "users",
[NETDEV] = "_netdev",
[NONETDEV] = "no_netdev",
[GRPID] = "grpid",
[NOGRPID] = "nogrpid",
[RW] = "rw",
[RO] = "ro",
[SUID] = "suid",
@ -1605,6 +1611,12 @@ get_options(dav_args *args, char *option)
case NONETDEV:
args->netdev = 0;
break;
case GRPID:
args->grpid = 1;
break;
case NOGRPID:
args->grpid = 0;
break;
case RW:
args->mopts &= ~MS_RDONLY;
break;
@ -1658,6 +1670,7 @@ new_args(void)
dav_args *args = (dav_args *) xcalloc(1, sizeof(dav_args));

args->netdev = DAV_NETDEV;
args->grpid = DAV_GRPID;
args->mopts = DAV_MOPTS;
args->buf_size = DAV_FUSE_BUF_SIZE;

@ -1715,6 +1728,8 @@ log_dbg_config(dav_args *args)
" user: %i", args->user);
syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG),
" netdev: %i", args->netdev);
syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG),
" grpid: %i", args->grpid);
syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG),
" mopts: %#lx", args->mopts);
syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG),
@ -2550,6 +2565,8 @@ usage(void)
" rw : mount read-write\n"
" [no]exec : (don't) allow execution of binaries\n"
" [no]suid : (don't) allow suid and sgid bits to take effect\n"
" [no]grpid : new files (don't) get the group id of the directory\n"
" in which they are created.\n"
" [no]_netdev : (no) network connection needed\n"));
}


View File

@ -49,6 +49,7 @@ typedef struct {
/* Mount options */
int user; /* Command line */
int users; /* Command line */
int grpid; /* Command line */
int netdev; /* Command line */
unsigned long int mopts; /* Command line */
int use_utab;