From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <635d1a5e62de1d2c8500259e9525d9a4@plan9.bell-labs.com> From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] u9fs MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 19 Mar 2002 17:33:02 -0500 Topicbox-Message-UUID: 6a42e87e-eaca-11e9-9e20-41e7f4b1d025 yes, you'd have to add some sort of chroot. i think the typical addition (in u9fs.c:/^main) looks like: setreuid(0, 0); myuid = geteuid(); if(onlyuser && myuid != onlyuid) error("invalid uid"); >> if(argc > 0) >> if(chroot(argv[0]) == -1) >> error("chroot failed"); io(); russ