https://bugzilla.novell.com/show_bug.cgi?id=409308 Summary: novfs kernel module assigns faulty permissions/ownership Product: openSUSE 11.0 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: japerry@asemblon.com QAContact: qa@suse.de Found By: Integration Test Over time, it appears the novfs kernel assigns faulty permissions/ownership to the root user folders in /var/opt/novell/nclmnt. For the first few users and days, the novell client will behave properly: drwxrwxrwx 1 root root 0 Jul 9 19:10 . drwxr-xr-x 6 root root 144 May 8 2007 .. drwxrwxrwx 1 root root 0 Jul 9 19:10 .Servers drwxrwxrwx 1 root root 0 Jul 9 19:10 .Trees drwx------ 1 admin root 0 Jul 15 09:33 admin drwx------ 1 ctimmon root 0 Jul 15 09:28 ctimmon drwx------ 1 eesrez root 0 Jul 15 07:43 eecrez drwx------ 1 enaemi root 0 Jul 15 09:05 enaemi drwx------ 1 gblte root 0 Jul 15 09:28 gblte drwx------ 1 gdvis root 0 Jul 14 16:57 gdvis drwx------ 1 jarry root 0 Jul 15 09:33 jarry drwx------ 1 khll root 0 Jul 15 08:35 khll drwx------ 1 lqrles root 0 Jul 10 09:29 lqrles drwx------ 1 lrchard root 0 Jul 15 08:16 lrchard Upon logout of novell, the user directory should disappear. Older versions of novfs changed the permissions to nobody. However, there are sometimes glitches that occur, that I haven't be able to identify why yet, that when you have over 10 users, eventually the ownership will change to random users. Eg: drwxrwxrwx 1 root root 0 Jul 9 19:10 . drwxr-xr-x 6 root root 144 May 8 2007 .. drwxrwxrwx 1 root root 0 Jul 9 19:10 .Servers drwxrwxrwx 1 root root 0 Jul 9 19:10 .Trees drwx------ 1 root root 0 Jul 14 18:54 djanss drwx------ 1 gblte root 0 Jul 15 09:28 gblte drwx------ 1 gdvis root 0 Jul 14 16:57 gdvis drwx------ 1 jarry root 0 Jul 15 09:33 jarry drwx------ 1 gblte root 0 Jul 15 09:40 jchman drwx------ 1 gblte root 0 Jul 15 09:40 joser drwx------ 1 khll root 0 Jul 15 08:35 khll drwx------ 1 rnson root 0 Jul 10 08:49 rnson drwx------ 1 gblte root 0 Jul 15 09:40 root drwx------ 1 gblte root 0 Jul 15 09:40 rsalon drwx------ 1 tbkr root 0 Jul 15 08:00 tbkr This causes the 8804 NWdrivebase error when trying to map a drive from the novell client. That is because the user no longer has permission to access his/her shares, because the root folder is 0700, and not owned by the user. I did a bug fix to change the ownership to 0755 so that users could access the folder even if it wasn't owned by them. Since I didn't have the tools or knowledge to debug why random users got assigned to other users folders, I figured this was the easiest fix. This 'hack' fixed the problem with permissions. The above folder listing works for all the users above now that the permissions are 0755. But its still not right. This morning however, I find that some users get this: drwxrwxrwx 1 root root 0 Jul 9 19:10 . drwxr-xr-x 6 root root 144 May 8 2007 .. drwxrwxrwx 1 root root 0 Jul 9 19:10 .Servers drwxrwxrwx 1 root root 0 Jul 9 19:10 .Trees drwxr-xr-x 1 admin root 0 Jul 15 09:33 admin drwxr-xr-x 1 ctimmon root 0 Jul 15 09:28 ctimmon d????????? ? ? ? ? ? dhson drwxr-xr-x 1 root root 0 Jul 14 18:54 djanss drwxr-xr-x 1 eesrez root 0 Jul 15 07:43 eesrez d????????? ? ? ? ? ? esagh drwxr-xr-x 1 gblte root 0 Jul 15 09:28 gblte drwxr-xr-x 1 gdvis root 0 Jul 14 16:57 gdvis drwxr-xr-x 1 mbokl root 0 Jul 15 07:27 mbokl d????????? ? ? ? ? ? mdrak drwxr-xr-x 1 mnaemi root 0 Jul 15 08:16 mnaemi drwxr-xr-x 1 tbkr root 0 Jul 15 08:00 tbkr Which brings me back to square one. 8804 error, and no permissions at all. I'm not sure if its related to my change to 0755. Since the internal servers folders are still 0700 and retain the correct permissions, I'm going to change the novfs kernel to 0777. My thinking behind the above error is because the novfs kernel couldn't delete the folder when the user logged out and it was owned by another user. Perhaps there is a link that was deleted, thus causing the wierd permissions errors to occur in the folder. I could be totally wrong. I'd love it if someone who actually works on this module could help point out whats going on. Perhaps there is a better way for multiple users to use one machine without it doing this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.