Thread: [Plugin] Directory 2.0
View Single Post
Old 12/11/2013, 04:14 PM   #14
Big Clucker
Terminator3's Avatar
Join Date: Oct 2009
Posts: 70
Reputation: 25
Default Re: Directory 2.0

Originally Posted by papedo View Post
Bug report:
Chmod in DirCreate didnīt work. Please fix it in next release

if I use:
pawn Code:
Chmod is 744

But it is fixable by:
pawn Code:
Chmod is OK = 766
Oh sorry, for that late response and this bug, i don't know how i missed it, it easy to fix, in source should be

return (!mkdir(name, params[2]));
instead of
return (!mkdir(name, S_IREAD | S_IWRITE | S_IRGRP | S_IROTH)); // permission 0644
i don't have linux right now so i can't fix it
sorry for my bad English
Terminator3 is offline   Reply With Quote