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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by stricted (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1