From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9456b5343b4a7d2f9cecbef509efb923@sounine.nanosouffle.net> To: quanstro@quanstro.net, 9fans@9fans.net Date: Thu, 6 Nov 2008 14:18:42 -0800 From: akumar@sounine.nanosouffle.net In-Reply-To: <52dd93f6098d668ada48e9541e7308af@quanstro.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-zhptixisgxlzxhkqfmmsoqdhrm" Subject: Re: [9fans] Poorly created user Topicbox-Message-UUID: 339b3380-ead4-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-zhptixisgxlzxhkqfmmsoqdhrm Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Thank you for taking the time to run such a trial test. What do you think would be the best course of action following fsys main open -A ? Delete all files owned by user and remove user from the FS user table? Then perhaps recreate the user? Or instead, just look around for what might be "amiss" (not sure where to start)? (I'm not sure where the user information is searched for by the system other than the user table -- what else could possibly affect it?) Regards --upas-zhptixisgxlzxhkqfmmsoqdhrm Content-Type: message/rfc822 Content-Disposition: inline Received: from sounine.nanosouffle.net ([75.58.233.41]) by sounine.nanosouffle.net; Thu Nov 6 13:12:02 PST 2008 Received: from ladd.quanstro.net ([69.55.170.73]) by sounine.nanosouffle.net; Thu Nov 6 13:12:02 PST 2008 Message-ID: <52dd93f6098d668ada48e9541e7308af@quanstro.net> From: erik quanstrom Date: Thu, 6 Nov 2008 16:11:45 -0500 To: akumar@sounine.nanosouffle.net, 9fans@9fans.net Subject: Re: [9fans] Poorly created user MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit On Thu Nov 6 15:49:03 EST 2008, akumar@sounine.nanosouffle.net wrote: > Erik, > > Taking your advice, I tried connecting to fscons and running: > uname user user > however, the fs reports: > uname: uname 'user' already exists > is this what you meant to try in your previous post, or have I > misunderstood? > > Thanks i think something is amiss. using a temporary file instead of /dev/sdC0/fossil, i followed the example in fossil(4). then on the console i created a user "bad" main: create junk sys sys d777 main: uname bad bad then i mounted the fossil and created junk/bad ; touch bad; chgrp -u bad bad; chgrp bad bad ; ls -l --rw-rw-rw- M 13950 bad bad 0 Nov 6 16:02 bad then on the fossil console main: users -d nuser 5 len 84 then back on plan 9: ; ls -l --rw-rw-rw- M 13950 (bad) (bad) 0 Nov 6 16:02 bad i can lather, rince and repeat this process. i have no idea what could be wrong in your case. regardless, if you turn auth off, (-A), you will be god and can nuke anything. - erik --upas-zhptixisgxlzxhkqfmmsoqdhrm--