fixed bug reported by unequal (wrong /bar permissions)

This commit is contained in:
Anselm R. Garbe 2006-03-10 23:30:08 +01:00
parent ece0f13675
commit 1bee486269
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,8 @@ type2stat(Stat *stat, char *wname, Qid *dir)
return mkstat(stat, dir, wname, 0, DMDIR | DMREAD | DMEXEC);
break;
case FsDbar:
return mkstat(stat, dir, wname, 0, DMDIR | DMREAD | DMWRITE | DMEXEC);
break;
case FsFctl:
return mkstat(stat, dir, wname, 0, DMWRITE);
break;