jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] problem with jk_cp


From: Olivier Sessink
Subject: Re: [Jailkit-users] problem with jk_cp
Date: Tue, 16 Jan 2007 18:58:47 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Peter Veerman wrote:
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...

but you specified -f (force) and -f will always update the file, no matter what.


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

if I would change the code to do
os.chmod(file, 0600)
os.unlink(file)

would that be a solution to the problem?

(can you try that manually? `chmod 0600 file && rm file`?)

regards,
        Olivier




reply via email to

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