Bugzilla – Attachment 1608 Details for
Bug 1564
non-accessible user's home directory not reported when ChrootDirectory=none
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
suggested patch
chroot-dir-none.diff (text/plain), 449 bytes, created by
Jan Pechanec
on 2009-02-26 23:21:07 AEDT
(
hide
)
Description:
suggested patch
Filename:
MIME Type:
Creator:
Jan Pechanec
Created:
2009-02-26 23:21:07 AEDT
Size:
449 bytes
patch
obsolete
>--- session.c Thu Feb 26 13:09:17 2009 >+++ session-new.c Thu Feb 26 13:09:13 2009 >@@ -1773,7 +1773,8 @@ > #ifdef HAVE_LOGIN_CAP > r = login_getcapbool(lc, "requirehome", 0); > #endif >- if (r || options.chroot_directory == NULL) >+ if (r || options.chroot_directory == NULL || >+ strcasecmp(options.chroot_directory, "none") == 0) > fprintf(stderr, "Could not chdir to home " > "directory %s: %s\n", pw->pw_dir, > strerror(errno));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1564
: 1608