FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Repeatable failure
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Repeatable failure [message #9181 is a reply to message #9166] Fri, 14 March 2003 16:50 Go to previous messageGo to previous message
Franklin is currently offline  Franklin   United States
Messages: 18
Registered: August 2002
Location: Cincinnati
Karma:
Junior Member
It has to be a FUD coding problem. I am now looking into the code. I am a novice PHP coder. So please forgive any stupid questions. (been coding since 1978)

According to the docs at PHP(and comments) using chmod for permissions should use the octagonal form of xxxx and not the decimal form of xxx. But according to the notes by contributers, this (xxxx) does not work on Win32 systems. I found numerous cmods in the code of FUD. And a workaround for Win32 should be added on the definition of the permissions. Othewise it really is not a platform-less product, but a 'NIX product only. Here is what the PHP docs say.

chmod ("/somedir/somefile", 755); // decimal; probably incorrect
chmod ("/somedir/somefile", "u+rwx,go+rx"); // string; incorrect
chmod ("/somedir/somefile", 0755); // octal; correct value of mode

Nothing is said in the docs (nothing I can find) about this, but the user comments do. They say to use the decimal version only on Win32. My PHP bible says that chmod is "Inoperative on Windows systems". If this is key to how FUD works, then maybe that needs to be looked into.
[Message index]
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
Previous Topic: FATAL ERROR. Forum is Out :-((
Next Topic: Message post permissions issues
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 12:07:01 GMT 2024

Total time taken to generate the page: 0.05911 seconds