FreeBSD Bugzilla – Attachment 7611 Details for
Bug 16422
newfs(8) always make root's / directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 658 bytes, created by
ichimura
on 2000-01-28 16:10:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ichimura
Created:
2000-01-28 16:10:04 UTC
Size:
658 bytes
patch
obsolete
>*** mkfs.c.orig Mon Aug 30 00:14:52 1999 >--- mkfs.c Sat Jan 29 00:55:41 2000 >*************** >*** 981,987 **** > if (mfs) > node.di_mode = IFDIR | 01777; > else >! node.di_mode = IFDIR | UMASK; > node.di_nlink = PREDEFDIR; > if (Oflag) > node.di_size = makedir((struct direct *)oroot_dir, PREDEFDIR); >--- 981,994 ---- > if (mfs) > node.di_mode = IFDIR | 01777; > else >! { >! mode_t mask; >! mask = umask( UMASK ); >! umask( mask ); >! node.di_mode = IFDIR | (0777&~mask); >! } >! node.di_uid = getuid(); >! node.di_gid = getgid(); > node.di_nlink = PREDEFDIR; > if (Oflag) > node.di_size = makedir((struct direct *)oroot_dir, PREDEFDIR);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16422
: 7611