testbox:/tmp/cx_Freeze-3.0.2 # python FreezePython.py /usr/bin/rdiff-backup
---snipp---
Frozen binary /tmp/cx_Freeze-3.0.2/rdiff-backup created.
Done.
testbox:/tmp/cx_Freeze-3.0.2 # ./rdiff-backup
Fatal Error: No arguments given
See the rdiff-backup manual page for more information.
seems to work!
nice tip, thanks! ;)
regards
roland
----- Original Message -----
From: "Ensel Sharon" <[EMAIL PROTECTED]>
To: "roland" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, July 14, 2006 4:13 PM
Subject: Re: [rdiff-backup-users] standalone rdiff-backup executable ?
Hasanyone looked at this ?
On Thu, 13 Jul 2006, roland wrote:
perhaps you could explain why you need to run rdiff-backup chrooted ?
maybe, there are other ways to workaround your "problem" !?
Because these particular users will only be allowed to run rdiff-backup
over ssh. They can do nothing else (no interactive login, etc.) - because
the chroot is so tight and restrictive, it is a bad idea to give a general
purpose interpretor like python there. Bottom line, I didn't architect it
or specify the requirements - they were handed to me. Standalone
rdiff-backup. The end.
> It looks like cx_freeze is used to create standalone executables from
> python programs ...
i`m not sure, but will any python compiler (or whatever) create _real_
standalone executables ?
I'm pretty sure that is what they do, I've just never used them and wanted
to do a sanity check first. Has anyone done this ?
Thanks.
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki