Add option _netdev to utab-entry
This commit is contained in:
parent
93084fab4b
commit
215a91a0d5
@ -1,6 +1,10 @@
|
|||||||
ChangeLog for davfs2
|
ChangeLog for davfs2
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
2021-01-28 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
|
* mount_davfs.c, write_mtab_entry:
|
||||||
|
Add option _netdev to utab-entry.
|
||||||
|
|
||||||
2020-08-24 Werner Baumann (werner.baumann@onlinehome.de)
|
2020-08-24 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
* mount_davfs.c, main:
|
* mount_davfs.c, main:
|
||||||
Remove gnulib.
|
Remove gnulib.
|
||||||
|
@ -1219,9 +1219,10 @@ write_mtab_entry(const dav_args *args)
|
|||||||
if (args->use_utab) {
|
if (args->use_utab) {
|
||||||
if (asprintf(&utab_line,
|
if (asprintf(&utab_line,
|
||||||
"SRC=%s TARGET=%s ROOT=/ "
|
"SRC=%s TARGET=%s ROOT=/ "
|
||||||
"OPTS=uid=%i,gid=%i%s%s%s,helper=%s\n",
|
"OPTS=uid=%i,gid=%i%s%s%s%s,helper=%s\n",
|
||||||
url, mpoint, args->fsuid, args->fsgid,
|
url, mpoint, args->fsuid, args->fsgid,
|
||||||
(args->grpid) ? ",grpid" : "",
|
(args->grpid) ? ",grpid" : "",
|
||||||
|
(args->netdev) ? ",_netdev" : "",
|
||||||
(!args->privileged) ? ",user=" : "",
|
(!args->privileged) ? ",user=" : "",
|
||||||
(!args->privileged) ? args->uid_name : "",
|
(!args->privileged) ? args->uid_name : "",
|
||||||
DAV_FS_TYPE) < 0) abort();
|
DAV_FS_TYPE) < 0) abort();
|
||||||
|
Loading…
Reference in New Issue
Block a user