[Ocfs2-devel] Invalid file rights

Chen, Yukun yukun.chen at intel.com
Tue Aug 3 16:25:42 CDT 2004


Hi All

I find a file rights bug on kernel 2.4 with svn 1313 code. Steps to
duplicate

Being root, create a file in a ocfs2 partition with the sentence below

 open(filename, O_CREAT | O_RDWR )

Then the file will be created with a right 000 --- nobody can write/read
it at 

all. 

But, if I use "touch filename" , the file will be created with a right
of 644.

Any ideas on it? (a bug # 113 has been reported to oss.oracle.com
bugzilla)

Thanx.


Aaron

Intel China Software Lab

Tel:  8621-52574545 Ext.1587

E_mail:yukun.chen at intel.com



More information about the Ocfs2-devel mailing list