Re: [dev] more on sbase

2011-06-20 Thread pancake
If were going to be linked to linux we can write a chroot like utility that uses capabilities instead f chroot() to use it without the needs of root. Else we can just suid that bin On 20/06/2011, at 19:39, Connor Lane Smith wrote: > Hey, > > On 20 June 2011 14:08, pancake wrote: >> I missed

Re: [dev] more on sbase

2011-06-20 Thread Connor Lane Smith
Hey, On 20 June 2011 14:08, pancake wrote: > I missed chroot(1) chroot(1) isn't POSIX. We may add other, non-POSIX, utilities for the purposes of a Linux distro (in a subdirectory), but for the moment I'd like to concentrate on the portable tools. > To create an archive library you need to run

Re: [dev] more on sbase

2011-06-20 Thread Jens Staal
I for one would be very happy about an alternative chroot implementation, since that is missing in my base2plan9 and base2heirloom AUR experiments (right now patching up with Busybox). https://wiki.archlinux.org/index.php/Base2heirloom https://wiki.archlinux.org/index.php/Base2plan9 2011/6/20 pan

[dev] more on sbase

2011-06-20 Thread pancake
I missed chroot(1) .. but after looking at the manpage I noticed that: * all flags are long (which looks like there's no standard for those options) * Which flags should we handle (-u user -g group ?) * We should chdir(path); chroot("."); instead of calling chroot(path); - this is because the