better chmod

This commit is contained in:
Jan Losinshi 2008-08-26 19:54:12 +02:00
parent e46ab74e6e
commit 1b5a27118a
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ main(int argc, char* argv[])
if(src.type == UNIX)
{
chmod(src.file.c_str(), 0777);
chmod(src.file.c_str(), S_ISUID | S_ISGID | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH);
}
EPoll epoll;