bugJailkit - Bugs: bug #48341, Jailkit 2.19: "jk_cp -j"...

 
 

bug #48341: Jailkit 2.19: "jk_cp -j" works, "jk_cp --jail" does not

Submitted by:  None
Submitted on:  Wed 29 Jun 2016 12:02:06 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 17 Aug 2016 09:58:20 PM UTC, comment #1: 

jk_cp -j and jk_cp --jail does ecatly the same
you should try it with the absolute path (/home/myjail insteade myjail)

i tried it on my testsystem
cd /chroot/
jk_cp -j k1111/ /usr/bin/jk_uchroot <- endless loop (idk what hapened here but nothin is happened that i had to kill it with ctrl+c)

jk_cp -j /chroot/k1111/ /usr/sbin/jk_chrootsh <- worked correclty
root@dev:/chroot# jk_cp -j /chroot/k1111/ /usr/sbin/jk_chrootsh
Copying /usr/sbin/jk_chrootsh to /chroot/k1111/usr/sbin/jk_chrootsh
removing setuid and setgid permissions from /chroot/k1111/usr/sbin/jk_chrootsh

Jan Altensen <stricted>
Wed 29 Jun 2016 12:02:06 PM UTC, original submission:  

For example:

Works: jk_cp -j myjail /usr/bin/rsync

Does not work: jk_cp --jail myjail /usr/bin/rsync
ERROR:  is not a directory

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 stricted (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.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5