[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] problem with jk_cp

From: Peter Veerman
Subject: Re: [Jailkit-users] problem with jk_cp
Date: Tue, 16 Jan 2007 18:30:51 +0100
User-agent: Thunderbird (Windows/20060909)

Hey olivier,

I've posted the file permissions below i've also included the md5 hashes of both files and as you can see there's no need for updating the file in the first place as both permissions and md5 are the same...

address@hidden /usr/local/www/awstats/cgi-bin]# ls -lstrha /data1/chroot/httpd/lib/libc.so.6
 912 -r--r--r--  1 root  wheel   881K Jul  3  2006 /data1/chroot/httpd/lib/libc.so.6
address@hidden /usr/local/www/awstats/cgi-bin]# ls -lstrh /lib/libc.so.6
 912 -r--r--r--  1 root  wheel   881K Jul  3  2006 /lib/libc.so.6
address@hidden /usr/local/www/awstats/cgi-bin]# md5 /data1/chroot/httpd/lib/libc.so.6
MD5 (/data1/chroot/httpd/lib/libc.so.6) = 657a6e20a4f1cd41e3b33dcf4e180810
address@hidden /usr/local/www/awstats/cgi-bin]# md5 /lib/libc.s

 912 -r--r--r--  1 root  wheel   881K Jul  3  2006 /data1/chroot/httpd/lib/libc.so.6

Olivier Sessink schreef:
Peter Veerman wrote:

When I try to execute the command below this goes terribly wrong giving the output below;


  File "/usr/local/share/jailkit/jk_lib.py", line 334, in copy_binaries_and_libs
OSError: [Errno 1] Operation not permitted: '/data1/chroot/httpd/lib/libc.so.6'

what are the permissions of /data1/chroot/httpd/lib/libc.so.6 ??

in cvs I've added an exception handler around the unlink call such that a nice error message is printed, but the problem is not solved (the file is not overwritten).


Jailkit-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]