View Full Version : Another UBB Installation Instructions Question
Alex Ethridge
07-05-1999, 10:15 PM
In your UBB installation instructions, under the heading Upload to Your cgi-bin, it statesCreate a folder named ubb, chmod it 755 (or drwxr-xr-x)I use WSFTP Pro; I understand (I think) how to set the numeric values.[nbsp][nbsp]I believe the top row of check-boxes have a value of 4, the center, a value of 2, and the bottom, a value of 1.[nbsp][nbsp]In the quote above, It seems the left collumn would be set to seven; however, I do not understand why there are five letters, in the instructions, drwxr.[nbsp][nbsp]I don't have anything that correcponds to a "d" in my program and I don't understand why there are two "r" characters.[nbsp][nbsp]Or, are these characters divided improperly and if they are, what is the "d" for?
Also in the section Final Touches, it saysFind in the left frame the link that says 'Variables'I don't have a Variables in the left collumn of my UBB.[nbsp][nbsp]What would this correspond to in version 5.38?
[This message has been edited by Alex Ethridge (edited 07-05-99)]
CHMOD: I found the following by performing a search on 'chmod' in this forum:
http://www.aota.net/ubb/Forum11/HTML/000013.html
'd' in drwxr-xr-x indicates that this is a directory as opposed to syntax that might say -rwxr-xr-x for something that is not a directory.
Rich
Justin
07-06-1999, 12:04 AM
Rich is correct
d = Directory
r = Read[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]4
w = Write[nbsp][nbsp][nbsp][nbsp] 2
x = Execute[nbsp][nbsp] 1
drwxr-xr-x looks confusing by itself - but if you divide it into columns, you would have something like this:
[nbsp][nbsp]|[nbsp][nbsp]7[nbsp][nbsp]|[nbsp][nbsp]5[nbsp][nbsp]|[nbsp][nbsp]5
d | rwx | r-x | r-x
(had to use code to get a fixed width)
What this is saying is that you, the owner of the file, have permission to do anything (read, write, and execute). The next column shows what your group is allowed to do, which in our case doesn't matter too much - just always make it the same as the last column, which is what the rest of the world is allowed to do. In this case, the world can read or execute the file, since it is a script.
The x bit on a directory means it is searchable, in place of being executable.
Some FTP programs (and the command line) show the letters all together like that, with a dash in place of an option that is turned off - write, in the above case for the two 5's.
One note though - you should not have to chmod any files at all. The instructions Del wrote are a bit out of date now, as both our configuration and the UBB have changed slightly since then - on our end, any .cgi or .pl file, as well as any newly created directories, automatically becomes 755, and anything else becomes 644. You can just upload and go :)
Variables - Ted changed it in 5.37 - there used to be a single variables link that then let you select General, Style, and Forum variables - now those links are at the top of the left hand column, making the next step for you General Variables (or it might be General Settings).
Hope this helps.
------------------
Justin Nelson
FutureQuest Support
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.