bugJailkit - Bugs: bug #54689, The chrooted jail pattern is...


bug #54689: The chrooted jail pattern is path/./path not path.path

Submitted by:  None
Submitted on:  Wed 19 Sep 2018 12:14:55 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 19 Sep 2018 01:59:11 PM UTC, comment #1: 

thanks, fixed in cvs! your fixes are perfect!

Olivier Sessink <oli4>
Project Administrator
Wed 19 Sep 2018 12:14:55 PM UTC, original submission:  

the non-chrotted paths on my system are following the pattern below.
And the chrotted paths on my system are following the pattern below.
Therefore, the path of the home directory
Therefore, the jk_procmailwrapper was always terminated with exitcode 17.

To fix this, must in the function user_is_chrooted line 58 changed to:
tmp = strstr (homedir, "/./");
and line 142 to:
if (!pw->pw_dir || strlen(pw->pw_dir) ==0 || strstr(pw->pw_dir, "/./") == NULL) {

That worked for me at least.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by oli4 (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-19 oli4 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5