pam_mount/pam_mount-chownuid-fix.diff

12 lines
356 B
Diff

--- src/pam_mount.c
+++ src/pam_mount.c
@@ -328,7 +328,7 @@
log_argv(_argv);
if(!spawn_apS(NULL, _argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD, set_myuid,
- NULL, &pid, NULL, &cstdout, NULL, &err)) {
+ user, &pid, NULL, &cstdout, NULL, &err)) {
l0g(PMPREFIX "error executing /usr/sbin/pmvarrun\n");
fnval = -1;
goto _return;