On 4/12/10, erik quanstrom <quans...@quanstro.net> wrote:
>> Following on several peoples advice and a suggested code snippet from Erik
>> I've added the following before the check for profile:
>>
>> if(! test -d $home){
>>      echo no home directory $home
>>      exit homeless
>> }
>> if(! ls -ld $home >[2=] | grep -s '^d-rwx.* '$user){
>>      echo bad permissions
>>      exit homeless
>> }
>
> you must also exit if ~ $user none.  i'd also recommend
> aborting if ~ $home /.  you don't want none making
> files in /.  on a regular plan 9 system, that's no worry, but
> 9vx, ...
>
> - erik
>
>

Can't we then fix 9vx?
(Stepping in to the tradition of concern of reception: This is not a
rhetoric question)

Reply via email to