Re: nfs + setgid problem

1999-10-18 Thread Dietrich Clauss

Greg Wooledge [EMAIL PROTECTED] wrote:

 That's over knfs, with a patched 2.2.12 kernel on the server.


Applying the knfs patches to my 2.2.12 kernel did do the trick.


Thanks,
Dietrich


--
Dietrich Clauss   [EMAIL PROTECTED], http://www.inf.tu-dresden.de/~dc2/ 


nfs + setgid problem

1999-10-17 Thread Dietrich Clauss

Hello.

I have a workstation pool with the home dirs shared over NFS. The home dirs
are sgid by default in debian, so if a user creates a directory readable by
himself only, it becomes sgid too. (KDE's Desktop directory is an example
for that, it gets mode rwx--S---.) The nfs server (I user knfs) however
cannot export these directories, they seem to be empty if I try to read them
from a NFS client.

It would be a solution to remove the sgid bit from the home directories, but
isn't there a way to tell knfs to export these files correctly?


Thanks in advance for any help, 

Dietrich


Re: nfs + setgid problem

1999-10-17 Thread Greg Wooledge
Dietrich Clauss ([EMAIL PROTECTED]) wrote:

 I have a workstation pool with the home dirs shared over NFS. The home dirs
 are sgid by default in debian, so if a user creates a directory readable by
 himself only, it becomes sgid too. (KDE's Desktop directory is an example
 for that, it gets mode rwx--S---.) The nfs server (I user knfs) however
 cannot export these directories, they seem to be empty if I try to read them
 from a NFS client.

What options do you have in /etc/exports on the NFS server?  What's in
/etc/fstab on the client(s)?

 It would be a solution to remove the sgid bit from the home directories, but
 isn't there a way to tell knfs to export these files correctly?

Mine works just fine.  Jekyll is the client:

jekyll:~$ ls -la bar
total 10
drwx--S---   2 greg greg 1024 Oct 17 16:54 ./
drwxr-xr-x  84 greg greg 8192 Oct 17 17:06 ../
-rw-rw-r--   1 greg greg4 Oct 17 16:54 foo

That's over knfs, with a patched 2.2.12 kernel on the server.

-- 
Greg Wooledge| Distributed.NET http://www.distributed.net/
[EMAIL PROTECTED] | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |


pgpDx8jypk2N6.pgp
Description: PGP signature