patch-2.3.3 linux/fs/ext2/namei.c
Next file: linux/fs/ext2/truncate.c
Previous file: linux/fs/devices.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat May 15 23:43:05 1999
- Orig file:
v2.3.2/linux/fs/ext2/namei.c
- Orig date:
Fri May 14 18:55:24 1999
diff -u --recursive --new-file v2.3.2/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -490,7 +490,7 @@
inode->i_nlink = 2;
mark_buffer_dirty(dir_block, 1);
brelse (dir_block);
- inode->i_mode = S_IFDIR | (mode & (S_IRWXUGO|S_ISVTX) & ~current->fs->umask);
+ inode->i_mode = S_IFDIR | mode;
if (dir->i_mode & S_ISGID)
inode->i_mode |= S_ISGID;
mark_inode_dirty(inode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)