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);
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;