lkml.org 
[lkml]   [1999]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectknfsd-981204 not handling SUID BIT
Hello,

I think I have missed something, but knfsd (981204) is not working properly
with the bit 's' for the group on a directory (creation of a subdirectory
within a g+s directory does not propagate the g+s bit). The files or
directories created within a g+s directory inherit the group of the
directory.

$ cd /mnt/tmp/exemple
$ ls -ld
drwxrwsr-x 2 danis canac 1024 Feb 10 22:14 .
$ mkdir ZZ
$ >zz
$ ls -l
drwxrwxr-x 2 danis canac 1024 Feb 10 22:15 ZZ
-rw-rw-r-- 1 danis canac 0 Feb 10 22:15 zz
$

Here, ZZ is missing its g+s bit.

It is working the user-land version of the NFS serveur (at least
with version 2.2beta37.

I remember having had the same bug with nfs-server-2.?? two years ago,
and Olaf sent me a fix two hours later, a sunday afternoon !

Thanks in advance,

--
Thierry Danis
home : danis@mail.dotcom.fr
work : danis@sagem.fr

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.024 / U:1.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site