From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <426f707cb128b29b440a1762f5efd0d2@plan9.ucalgary.ca> To: 9fans@cse.psu.edu Subject: Re: [9fans] permission bit of /mail/box From: mirtchov@cpsc.ucalgary.ca In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sat, 20 Sep 2003 08:47:05 -0600 Topicbox-Message-UUID: 3da1a3a8-eacc-11e9-9e20-41e7f4b1d025 > I can't create mail box by > mail -c this is a problem that needs to be addressed in Plan 9. currently you have two solutions: - chmod 777 /mail/box and let the user create their mailbox when they run /sys/lib/newuser - add your administrator user to the upas group the second one creates a problem because with fossil you won't be able to chmod -u to the user you've just created, unless you boot in allow mode (open AW) the first solution is the one i currently use on my box, but it creates an even bigger problem -- i _must_ create the mail box as soon as i add the user, otherwise anybody can create a pipeto file that serves as a spam bouncer! so currently to add a new user i need to: - create the user in fossil - add the user's password - create the user's secstore password - login as the user and run /sys/lib/newuser which creates the mailbox (i used to wstat /mail/box to 777 on fossil's console just for this part, but gave up and left it like that) it's a bit of an overkill, isn't it? :) andrey