Linux-kernel mailing list archive 1999-23,: bug report: 2.2.9, mkdir()

# bug report: 2.2.9, mkdir()

phil@rigel.ipal.net
Fri, 11 Jun 1999 00:53:58 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Bill Broadhurst: "Re: 2.3.6 (mmap fails)"
- Previous message: Ruhmann Marcus: "raw device version 270599 from Stephen Tweedy"

reporter: Phil Howard (I am not on the linux kernel mailing list)
phil@ipal.net
phil@800hosting.com

1: mkdir() syscall does not set sticky bit in mode from arg 2

2: mkdir() syscall does not set sticky bit in mode from arg 2

3: syscall mkdir

4: 2.2.9 (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release))

5: -N/A-

6: mkdir -m 01755 blah

7.1: RH 6.0 full install + kernel 2.2.9

-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux staff.800hosting.com 2.2.9 #1 SMP Wed Jun 2 10:26:13 CDT 1999 i686 unknown
Kernel modules 2.1.121
Gnu C egcs-2.91.66
Binutils 2.9.1.0.23
Linux C Library ..
ldd: missing file arguments
Try `ldd --help' for more information.
ls: /usr/lib/libg++.so: No such file or directory
Procps 2.0.2
Mount 2.9o
Net-tools (1999-01-31)
Kbd [option...]
Sh-utils 1.16

7.2: /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 350.804765
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx osfxsr
bogomips : 349.80

7.3: no modules

7.4: no SCSI

7.5: file system type tested is ext2

X: works OK in 2.0.36
looking at fs/ext2/namei.c did not show any obvious problem
this was tested with direct syscall code to rule out libc
the code is included here:

begin 646 test_mkdir.tar.gz
M'XL(`/&@8#<"`^U4W6_3,!#O:_Q7G`(/2=4T3C]1RY`0`E[&'I@0CU::.JLU
MUYYLIQI"\+=S3KHUF33&`ZM`ZN4A]MWO?C[?AQVWCFVOU\*DO><2F-`YI=`#
MR+)QYW\G%&`V']-L1,?9W)M'LUD/IKTC2&5=;@!Z-QLA?X=[ROZ?BCO4_U-^
MS4LA^5\_(Z-T-ID\7O_9>'Q??RP\FL=T-.H!/=7_V>7=A_.W'R_A#)*ON920
ME$HGJTI()Q0AJ%D$APXAY+`>BK9E6)#@JB@@>0^)AC8*.J`V@>T0B#W!Y0,"
M^RC!(FC[V[T_5M,)_"MMW5J*%:25-2DNTL*X;*B[]-!EL,Z(&VA?N)`\5PL2
M)&:+N8'^S_MEBZ2/M'V,M.]O@6:O6\E\0XC><8RS)@%,9A-^)Z7!,&WOI(5$
MKAOO8\]_.]''G/\LFV;W\X\OOY__.3W-_U'DA5"%K-8<7DNAJMNTM,/-&W+0
MYG:;5DK@,'D]V8^74`ZX,4KCPT&7!RUR<&#VFRVPVT<1P@9U0PT*K:R#8H.I
M[@]N<K=1^98/MGK-F:M_,6F,^#&N=L)HA=P77\[/EX34Q]T*!Q$)<!T4Z$!B
M\IWX]I%:78'A=EGO&,.(&8.=EAB3Y!!!Z-U?TMM7-(0%A&=Y"!'B8[]!5<38
MQ6?FZ>,!A"M41)XR]H?$$#>TI380+9>X^]&$D[LFH)T6:XCZ4%:J<$*KN%'%
M=]$9[BJC?)+0L08SH;RC)_%YJVP7V@(R?+:*&LY*8>R?.96(?P+HC7MRW_PX
M]+E0$#T(V2NCPX6[F+JJ4>C?J7!`L_ETND^4STI$]YOVY7LG.<E)_C7Y!;(\
&C[\`#@``
`
end

end of report

-
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/

- Next message: Bill Broadhurst: "Re: 2.3.6 (mmap fails)"
- Previous message: Ruhmann Marcus: "raw device version 270599 from Stephen Tweedy"