fixed a typo was U instead of O

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20981 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2007-05-02 19:02:17 +00:00
parent 19d7a2a162
commit d87dc169fb

View File

@ -746,7 +746,7 @@ BDirectory::CreateDirectory(const char *path, BDirectory *dir)
return B_BAD_VALUE;
// create the dir
status_t error = _kern_create_dir(fDirFd, path,
S_IRWXU | S_IRWXG | S_IRWXU);
S_IRWXU | S_IRWXG | S_IRWXO);
if (error != B_OK)
return error;
if (!dir)
@ -833,7 +833,7 @@ BDirectory::CreateSymLink(const char *path, const char *linkToPath,
return B_BAD_VALUE;
// create the symlink
status_t error = _kern_create_symlink(fDirFd, path, linkToPath,
S_IRWXU | S_IRWXG | S_IRWXU);
S_IRWXU | S_IRWXG | S_IRWXO);
if (error != B_OK)
return error;
if (!link)