xfs
[Top] [All Lists]

umask fix (patch)

To: linux-xfs@xxxxxxxxxxx
Subject: umask fix (patch)
From: Andrew Tridgell <tridge@xxxxxxxxxxx>
Date: Wed, 25 Jul 2001 19:24:17 -0700 (PDT)
Reply-to: tridge@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
The problem turned out to be in the nfsd code. The following fixes it:

--- fs/nfsd/nfssvc.c    2001/05/29 19:53:13     1.13
+++ fs/nfsd/nfssvc.c    2001/07/26 02:27:26
@@ -150,6 +150,7 @@
        MOD_INC_USE_COUNT;
        lock_kernel();
        daemonize();
+       current->fs->umask = 0;
        sprintf(current->comm, "nfsd");
        current->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY; 


<Prev in Thread] Current Thread [Next in Thread>