commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 12/31: Fix access mode of temporary files


From: Samuel Thibault
Subject: [hurd] 12/31: Fix access mode of temporary files
Date: Mon, 02 May 2016 23:48:32 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 124921a0266412427613a404287205ec435f3364
Author: Samuel Thibault <address@hidden>
Date:   Sun Apr 24 16:34:55 2016 +0200

    Fix access mode of temporary files
    
    * libnetfs/dir-mkfile.c (netfs_S_dir_mkfile): Keep flags out of
    OPENONLY_STATE_MODES, instead of flags of OPENONLY_STATE_MODES, for the
    peropen's openstat.
---
 libnetfs/dir-mkfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index fcbc9da..6cd7917 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -37,7 +37,7 @@ netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t 
mode,
   if (!err)
     {
       /* the dir is now unlocked and NP is locked */
-      flags &= OPENONLY_STATE_MODES;
+      flags &= ~OPENONLY_STATE_MODES;
       err = iohelp_dup_iouser (&user, diruser->user);
       if (! err)
         {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]