Get default fsuid and fsgid from getuid and getgid
This commit is contained in:
parent
af0e0b57c7
commit
24bdeb9e65
@ -11,6 +11,8 @@ ChangeLog for davfs2
|
||||
* mount_davfs.c, kernel_interface.c:
|
||||
Check for _POSIX_SAVED_IDS,
|
||||
add gain_privileges and release_privileges.
|
||||
* mount_davfs, get_options:
|
||||
Get default fsuid and fsgid from getuid and getgid.
|
||||
|
||||
2012-01-14 Werner Baumann (werner.baumann@onlinehome.de)
|
||||
* src/Makefile.am:
|
||||
|
@ -1668,8 +1668,8 @@ get_options(dav_args *args, char *option)
|
||||
} else {
|
||||
args->mopts = DAV_MOPTS;
|
||||
}
|
||||
args->fsuid = args->uid;
|
||||
args->fsgid = args->gid;
|
||||
args->fsuid = getuid();
|
||||
args->fsgid = getgid();
|
||||
|
||||
|
||||
int so;
|
||||
|
Loading…
Reference in New Issue
Block a user