[Plugin] Directory 2.0
#14

Quote:
Originally Posted by papedo
Посмотреть сообщение
Bug report:
{
Chmod in DirCreate didnґt work. Please fix it in next release

if I use:
pawn Код:
DirCreate("Logs/Test",502);
Chmod is 744

But it is fixable by:
pawn Код:
Chmod("Logs/Test",502);
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
Reply


Messages In This Thread
Directory 2.0 - by Terminator3 - 06.01.2012, 20:42
AW: Directory 2.0 - by Meta - 06.01.2012, 20:49
Respuesta: Directory 2.0 - by Jovanny - 06.01.2012, 20:51
Respuesta: Directory 2.0 - by [Nikk] - 06.01.2012, 20:51
Re: Directory 2.0 - by steki. - 06.01.2012, 20:54
Re: Directory 2.0 - by TheArcher - 06.01.2012, 21:33
Re: Directory 2.0 - by Babul - 07.01.2012, 03:29
Re: Directory 2.0 - by [O.z]Caroline - 07.01.2012, 03:43
Re: Directory 2.0 - by Terminator3 - 07.01.2012, 08:42
Re: Directory 2.0 - by GangsTa_ - 07.01.2012, 10:55
Re: Directory 2.0 - by BrandyPenguin - 24.01.2012, 10:34
Re: Directory 2.0 - by Terminator3 - 24.01.2012, 16:52
Re: Directory 2.0 - by papedo - 27.02.2013, 14:29
Re: Directory 2.0 - by Terminator3 - 12.11.2013, 16:14
Re: Directory 2.0 - by Fancy - 05.08.2015, 09:07
Re: Directory 2.0 - by Dayvison_ - 05.08.2015, 14:27
Re: Directory 2.0 - by maxisaibot - 04.01.2018, 18:34
Re: Directory 2.0 - by Sew_Sumi - 04.01.2018, 21:09

Forum Jump:


Users browsing this thread: 3 Guest(s)