1
0
mirror of https://github.com/agdsn/xerxes.git synced 2026-06-19 13:48:00 +00:00

better chmod

This commit is contained in:
Jan Losinshi
2008-08-26 19:54:12 +02:00
parent e46ab74e6e
commit 1b5a27118a
+1 -1
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;