[Lustre-discuss] inconsistent client behavior when creating an empty directory

2011-08-09 Thread Andrej Filipcic
Hi, the following code does not work as expected: - #include sys/stat.h #include errno.h #include stdio.h int main(int argc, char** argv) { int rc; rc=mkdir(argv[1],S_IRWXU); if(rc) perror(failed create dir); chown(argv[1],4103,4100); struct stat buf; /* stat(argv[1],buf);

Re: [Lustre-discuss] inconsistent client behavior when creating an empty directory

2011-08-09 Thread Kevin Van Maren
This appears to be the same issue as https://bugzilla.lustre.org/show_bug.cgi?id=23459 Kevin Andrej Filipcic wrote: Hi, the following code does not work as expected: - #include sys/stat.h #include errno.h #include stdio.h int main(int argc, char** argv) { int rc;