Raised This Month: $ Target: $400
 0% 

CreateDirectory problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
koshmel
Member
Join Date: Nov 2008
Old 05-03-2009 , 10:49   CreateDirectory problem
Reply With Quote #1

i use CreateDirectory(dir,777);
but on Ubuntu server chmod isn't 777
http://clip2net.com/page/m0/933322
koshmel is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 05-03-2009 , 13:18   Re: CreateDirectory problem
Reply With Quote #2

Try 0777.
bl4nk is offline
koshmel
Member
Join Date: Nov 2008
Old 05-04-2009 , 12:11   Re: CreateDirectory problem
Reply With Quote #3

same.
koshmel is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 05-04-2009 , 17:52   Re: CreateDirectory problem
Reply With Quote #4

0777 is octal, which pawn does NOT support.
Try using the decimal value of 511.

Octal to Decimal converter -> http://www.unitconversion.org/number...onversion.html

Last edited by naris; 05-04-2009 at 17:54.
naris is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 05-04-2009 , 18:28   Re: CreateDirectory problem
Reply With Quote #5

Ah, that's right. I completely forgot about that.
bl4nk is offline
koshmel
Member
Join Date: Nov 2008
Old 05-05-2009 , 09:14   Re: CreateDirectory problem
Reply With Quote #6

thx for help. it's works)
koshmel is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode