UBB.Dev
Posted By: gameoverDude No CHMOD in WinNT... Darn. - 05/10/2001 3:10 AM
In choosing hacks for my UBB, I've regrettably had to turn a few down because they use a Unix "chmod XXX" command for setting permissions. frown

What would be the equivalent for a WinNT server? Thanks in advance.
Posted By: freak.scene Re: No CHMOD in WinNT... Darn. - 05/10/2001 3:40 AM
which mods in particular?

I work on a NT server to test and have not had any problems.

did you try them yet?
Posted By: eniyi Re: No CHMOD in WinNT... Darn. - 05/10/2001 8:25 AM
Here's a list for you. My forum is on Unix server, but on my notebook, I use IIS, so I can tell you the permissions.

variables: 777 on Unix = R(ead)/W(rite)/E(xecute) on NT.
cgi-bin files: 755 on Unix = R/E on NT
other files: 775 on Unix = R on NT
Posted By: Charles Capps Re: No CHMOD in WinNT... Darn. - 05/10/2001 10:51 AM
Files in NT directories pick up permissions from their parents.

This means that if permissions are fine in the directory, the permissions on the file are fine.

So, if your UBB is operating normally, you don't need to worry about setting ANY permissions yourself.

chmod() is just ignored under Perl on Win32.
Posted By: gameoverDude Re: No CHMOD in WinNT... Darn. - 05/30/2001 3:45 AM
Hi. Sorry I've been gone so long.

Freakscene-

One mod I've turned down is DPK's Rule Hack (it says to chmod public_rule.pl to 755)

Also, Slurpee's News Fader hack has this:
cp_news_fader.cgi -> To your cgi-bin folder (CHMOD this file 755).

Charles & eniyi- Thanks for clearing this up for me. I'll check with my friend tomorrow about the dir permissions.

When I get a chance (hopefully tomorrow), I'll try these mods (making sure to back up my UBB in its current state before going for it). That news fader looks like it would be nice to promote the Featured Article/Featured Review among other things.
Posted By: Skooby Re: No CHMOD in WinNT... Darn. - 05/31/2001 12:16 PM
I run on a NT server and I've hacked the heck out of it. On thing I like about NT servers is you DONT have to worry about permissions. All you have to do is hack the files and upload them and boom its good to go, no worrying if you made sure to chmod it correctly or not. If your board is currently working that means 99% of the hacks will too.
Though UNIX servers are more reliable and stable, NT is good enough unless you run a super high traffic site.

www.thedragonnetwork.net/cgi-bin/ultimatebb.cgi if you want to checkout my board
© UBB.Developers