Announcement

Collapse
No announcement yet.

File Permission Problems (Zip Distribution)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by theblob
    Help!

    I want to install the Beta version of vBulletin, and am having problems with permissions.

    I've extracted the files from the Zip file, and the rightmost 6 bits of the file permissions are all 0. For example, the directories are 700. This causes problems when I try to access the files through a URL at the web site. I really don't want to try to guess what the permission of each file in the vBulletin distribution should be. What do I do?

    The machine that I downloaded to (not the server) is running Cygwin (under Windows XP). The file that I downloaded from the members area of the vBulletin site was a Zip file. There didn't seem to be any way to get anything other than a Zip file. Does the members area of the vBulletin site give different files depending on what kind of OS it thinks the download is going to? I wonder if (a) the vBulletin file permissions were tested in a Cygwin or Windows environment, and (b) if I had a way to download a tar file instead of a ZIP file, that might provide a workaround.
    I wonder if this is a Cygwin problem. I use Redhat Linux on both my dedicated webserver and my personal workstation. When I use unzip, I have no problems with the permissions and the files are accessible by Apache on both machines.

    All the files actually unzipped with full permissions (777) as well.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #17
      Originally posted by Wayne Luke
      I wonder if this is a Cygwin problem. I use Redhat Linux on both my dedicated webserver and my personal workstation. When I use unzip, I have no problems with the permissions and the files are accessible by Apache on both machines.

      All the files actually unzipped with full permissions (777) as well.
      I used WinImp 1.21 to unzip the files, then looked at the permissions in Cygwin, and the file and directory permissions were all 700. This is before uploading to my server. WinImp is a Windows app. So if Cygwin is showing the permissions properly then the problem isn't with Cygwin.

      Comment


      • #18
        Originally posted by Steve Machol
        As I posted earlier, the permission are determined by your server when you upload or extract the files. On *Nix systems you can set the default permissions with 'umask'.

        Also as Scott posted, the files generally need to be 644 unless PHP is running in CGI mode, in which case the php files need to be 755.
        This is all well and good, and I appreciate that you are trying to help, but this information doesn't change much. The situation that I described remains: I follow the instructions, I have a not uncommon machine setup, and I get an unusable installation. I want to follow the public instructions and get a usable installation.

        (Also, part of this is not true. If you extract the files to a local machine and then upload, the permissions are affected by the setup on the local machine. Depending on the method used to upload, the server might or might not affect the permissions. But all of that is secondary.)

        Comment


        • #19
          What didn't help? Have you made the suggested changes to the permissions?

          Originally posted by theblob
          (Also, part of this is not true. If you extract the files to a local machine and then upload, the permissions are affected by the setup on the local machine. Depending on the method used to upload, the server might or might not affect the permissions. But all of that is secondary.)
          I don't see how this can happen with Windows machines that don't have file permissions. When I upload a file to my Linux server, the permissions are determined by my umask settings. I don't know if there is anything similar in Cygwin or not.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #20
            Originally posted by Steve Machol
            What didn't help? Have you made the suggested changes to the permissions?
            Let me try saying things another way. I am reporting what appears problem in the installation process. Changing permissions on my machine might help with my setup, or it might not, but it won't fix the flaw in the process. And changing permissions certainly wouldn't give me a vBulletin installation that was set up using the installation process. It would give me a hacked vBulletin installation.


            I don't see how this can happen with Windows machines that don't have file permissions. When I upload a file to my Linux server, the permissions are determined by my umask settings. I don't know if there is anything similar in Cygwin or not.
            Windows XP has file permissions.

            Permissions are not determined by your umask settings if you upload a tar file and then untar it.

            This issue about details of how to set permissions is secondary; it is not really what I am interested in. I know how to move the files from my machine to my server while preserving permissions. The difficulty is that the permissions are not set correctly when I follow the publicly given installation process. I am reporting a problem with the process. I do not want to follow random steps interspersed with the public process.

            ---

            I have not changed the file permissions manually. I don't know if you haven't been reading what I've been saying, or what, but that is not what I want to do. I have said why I don't want to do that enough times. I am becoming resigned to the fact that I will have to hack my local installation because the vBulletin team does not appear to be very interested in fixing the bug in their installation process. I will probably use a script similar to the one that I am attaching with this post. This script or something like it might be good to include as part of the installation process. Unfortunately I cannot execute this script right now because something changed in the last few days on my ISP and I no longer can get at my home directory with ssh.

            (Well, I tried to attach the file, but vBulletin doesn't seem to like text files as attachments. That itself might be considered a bug. Anyway, I am including it below in its entirety, if someone else wants to use it. I haven't tested it.)

            chmod ./readme.html 644
            chmod ./upload 755
            chmod ./upload/admincp 755
            chmod ./upload/admincp/accessmask.php 755
            chmod ./upload/admincp/admincalendar.php 755
            chmod ./upload/admincp/adminlog.php 755
            chmod ./upload/admincp/adminpermissions.php 755
            chmod ./upload/admincp/adminreputation.php 755
            chmod ./upload/admincp/announcement.php 755
            chmod ./upload/admincp/attachment.php 755
            chmod ./upload/admincp/avatar.php 755
            chmod ./upload/admincp/backup.php 755
            chmod ./upload/admincp/bbcode.php 755
            chmod ./upload/admincp/calendarpermission.php 755
            chmod ./upload/admincp/cronadmin.php 755
            chmod ./upload/admincp/cronlog.php 755
            chmod ./upload/admincp/css.php 755
            chmod ./upload/admincp/diagnostic.php 755
            chmod ./upload/admincp/email.php 755
            chmod ./upload/admincp/faq.php 755
            chmod ./upload/admincp/forum.php 755
            chmod ./upload/admincp/forumpermission.php 755
            chmod ./upload/admincp/global.php 755
            chmod ./upload/admincp/help.php 755
            chmod ./upload/admincp/image.php 755
            chmod ./upload/admincp/importers 755
            chmod ./upload/admincp/importers/bbimport_ib218.php 755
            chmod ./upload/admincp/importers/bbimport_ot.php 755
            chmod ./upload/admincp/importers/bbimport_phpbb2.php 755
            chmod ./upload/admincp/importers/bbimport_ubb5.php 755
            chmod ./upload/admincp/importers/bbimport_ubb5orig.php 755
            chmod ./upload/admincp/importers/bbimport_ubb6.php 755
            chmod ./upload/admincp/importers/bbimport_vblite.php 755
            chmod ./upload/admincp/importers/bbimport_w3t.php 755
            chmod ./upload/admincp/importers/ubb6.templateset 644
            chmod ./upload/admincp/importexport.php 755
            chmod ./upload/admincp/index.php 755
            chmod ./upload/admincp/language.php 755
            chmod ./upload/admincp/misc.php 755
            chmod ./upload/admincp/moderator.php 755
            chmod ./upload/admincp/modlog.php 755
            chmod ./upload/admincp/options.php 755
            chmod ./upload/admincp/phrase.php 755
            chmod ./upload/admincp/profilefield.php 755
            chmod ./upload/admincp/queries.php 755
            chmod ./upload/admincp/ranks.php 755
            chmod ./upload/admincp/reminder.php 755
            chmod ./upload/admincp/repair.php 755
            chmod ./upload/admincp/replacement.php 755
            chmod ./upload/admincp/resources.php 755
            chmod ./upload/admincp/stats.php 755
            chmod ./upload/admincp/subscriptions.php 755
            chmod ./upload/admincp/template.php 755
            chmod ./upload/admincp/textarea.php 755
            chmod ./upload/admincp/thread.php 755
            chmod ./upload/admincp/user.php 755
            chmod ./upload/admincp/usergroup.php 755
            chmod ./upload/admincp/usertitle.php 755
            chmod ./upload/announcement.php 755
            chmod ./upload/archive 755
            chmod ./upload/archive/archive.css 644
            chmod ./upload/archive/global.php 755
            chmod ./upload/archive/index.php 755
            chmod ./upload/archive/post.htc 755
            chmod ./upload/archive/thread.htc 755
            chmod ./upload/attachment.php 755
            chmod ./upload/calendar.php 755
            chmod ./upload/clientscript 755
            chmod ./upload/clientscript/activecell.htc 755
            chmod ./upload/clientscript/branchcollapse.htc 755
            chmod ./upload/clientscript/button.htc 755
            chmod ./upload/clientscript/generic.js 755
            chmod ./upload/clientscript/htmlbox.htc 755
            chmod ./upload/clientscript/index.html 644
            chmod ./upload/clientscript/md5.js 755
            chmod ./upload/clientscript/optionColor.htc 755
            chmod ./upload/clientscript/optionFont.htc 755
            chmod ./upload/clientscript/optionSize.htc 755
            chmod ./upload/clientscript/popupControl.htc 755
            chmod ./upload/clientscript/popupMenu.htc 755
            chmod ./upload/clientscript/postlink.htc 755
            chmod ./upload/clientscript/postlist.js 755
            chmod ./upload/clientscript/template.js 755
            chmod ./upload/clientscript/vbcode.js 755
            chmod ./upload/clientscript/vbcode_language.js 755
            chmod ./upload/clientscript/wysiwyg.css 644
            chmod ./upload/clientscript/wysiwyg.js 755
            chmod ./upload/clientscript/wysiwyg_lang_English.js 755
            chmod ./upload/cpstyles 755
            chmod ./upload/cpstyles/index.html 644
            chmod ./upload/cpstyles/vBulletin_2_Default 755
            chmod ./upload/cpstyles/vBulletin_2_Default/controlpanel.css 644
            chmod ./upload/cpstyles/vBulletin_2_Default/cp_help.gif 644
            chmod ./upload/cpstyles/vBulletin_2_Default/cp_logo.gif 644
            chmod ./upload/cpstyles/vBulletin_2_Default/index.html 644
            chmod ./upload/cpstyles/vBulletin_3_Default 755
            chmod ./upload/cpstyles/vBulletin_3_Default/controlpanel.css 644
            chmod ./upload/cpstyles/vBulletin_3_Default/cp_colheader_bg.gif 644
            chmod ./upload/cpstyles/vBulletin_3_Default/cp_help.gif 644
            chmod ./upload/cpstyles/vBulletin_3_Default/cp_logo.gif 644
            chmod ./upload/cpstyles/vBulletin_3_Default/cp_navbody_bg.gif 644
            chmod ./upload/cpstyles/vBulletin_3_Default/cp_tblhead_bg.gif 644
            chmod ./upload/cpstyles/vBulletin_3_Default/index.html 644
            chmod ./upload/cpstyles/vBulletin_3_Default/option_name_bg.gif 644
            chmod ./upload/cron.php 755
            chmod ./upload/customavatars 755
            chmod ./upload/customavatars/index.html 644
            chmod ./upload/editpost.php 755
            chmod ./upload/external.php 755
            chmod ./upload/faq.php 755
            chmod ./upload/favicon.ico 644
            chmod ./upload/forumdisplay.php 755
            chmod ./upload/global.php 755
            chmod ./upload/image.php 755
            chmod ./upload/images 755
            chmod ./upload/images/0stars.gif 644
            chmod ./upload/images/1stars.gif 644
            chmod ./upload/images/2stars.gif 644
            chmod ./upload/images/3stars.gif 644
            chmod ./upload/images/4stars.gif 644
            chmod ./upload/images/5stars.gif 644
            chmod ./upload/images/addpoll.gif 644
            chmod ./upload/images/aim.gif 644
            chmod ./upload/images/aimver_botdow.gif 644
            chmod ./upload/images/aimver_bud.gif 644
            chmod ./upload/images/aimver_chat.gif 644
            chmod ./upload/images/aimver_im.gif 644
            chmod ./upload/images/aimver_man.gif 644
            chmod ./upload/images/aimver_topsm.gif 644
            chmod ./upload/images/aim_icon.gif 644
            chmod ./upload/images/announce.gif 644
            chmod ./upload/images/attach 755
            chmod ./upload/images/attach/attach.gif 644
            chmod ./upload/images/attach/bmp.gif 644
            chmod ./upload/images/attach/gif.gif 644
            chmod ./upload/images/attach/index.html 644
            chmod ./upload/images/attach/jpeg.gif 644
            chmod ./upload/images/attach/jpg.gif 644
            chmod ./upload/images/attach/pdf.gif 644
            chmod ./upload/images/attach/php.gif 644
            chmod ./upload/images/attach/png.gif 644
            chmod ./upload/images/attach/psd.gif 644
            chmod ./upload/images/attach/txt.gif 644
            chmod ./upload/images/attach/zip.gif 644
            chmod ./upload/images/buddy.gif 644
            chmod ./upload/images/clear.gif 644
            chmod ./upload/images/clear_avatar.gif 644
            chmod ./upload/images/clock.gif 644
            chmod ./upload/images/down.gif 644
            chmod ./upload/images/edit.gif 644
            chmod ./upload/images/email.gif 644
            chmod ./upload/images/find.gif 644
            chmod ./upload/images/firstnew.gif 644
            chmod ./upload/images/folder.gif 644
            chmod ./upload/images/folder_dot.gif 644
            chmod ./upload/images/folder_dot_hot.gif 644
            chmod ./upload/images/folder_dot_hot_lock.gif 644
            chmod ./upload/images/folder_dot_hot_lock_new.gif 644
            chmod ./upload/images/folder_dot_hot_new.gif 644
            chmod ./upload/images/folder_dot_lock.gif 644
            chmod ./upload/images/folder_dot_lock_new.gif 644
            chmod ./upload/images/folder_dot_new.gif 644
            chmod ./upload/images/folder_hot.gif 644
            chmod ./upload/images/folder_hot_lock.gif 644
            chmod ./upload/images/folder_hot_lock_new.gif 644
            chmod ./upload/images/folder_hot_new.gif 644
            chmod ./upload/images/folder_lock.gif 644
            chmod ./upload/images/folder_lock_new.gif 644
            chmod ./upload/images/folder_moved.gif 644
            chmod ./upload/images/folder_moved_new.gif 644
            chmod ./upload/images/folder_new.gif 644
            chmod ./upload/images/go.gif 644
            chmod ./upload/images/home.gif 644
            chmod ./upload/images/icons 755
            chmod ./upload/images/icons/icon1.gif 644
            chmod ./upload/images/icons/icon10.gif 644
            chmod ./upload/images/icons/icon11.gif 644
            chmod ./upload/images/icons/icon12.gif 644
            chmod ./upload/images/icons/icon13.gif 644
            chmod ./upload/images/icons/icon14.gif 644
            chmod ./upload/images/icons/icon2.gif 644
            chmod ./upload/images/icons/icon3.gif 644
            chmod ./upload/images/icons/icon4.gif 644
            chmod ./upload/images/icons/icon5.gif 644
            chmod ./upload/images/icons/icon6.gif 644
            chmod ./upload/images/icons/icon7.gif 644
            chmod ./upload/images/icons/icon8.gif 644
            chmod ./upload/images/icons/icon9.gif 644
            chmod ./upload/images/icons/index.html 644
            chmod ./upload/images/index.html 644
            chmod ./upload/images/invisible.gif 644
            chmod ./upload/images/ip.gif 644
            chmod ./upload/images/lastpost.gif 644
            chmod ./upload/images/link.gif 644
            chmod ./upload/images/lock.gif 644
            chmod ./upload/images/menu_background.gif 644
            chmod ./upload/images/mode_hybrid.gif 644
            chmod ./upload/images/mode_linear.gif 644
            chmod ./upload/images/mode_normal.gif 644
            chmod ./upload/images/mode_threaded.gif 644
            chmod ./upload/images/msn_add.gif 644
            chmod ./upload/images/msn_icon.gif 644
            chmod ./upload/images/msn_talk.gif 644
            chmod ./upload/images/multipage.gif 644
            chmod ./upload/images/newannounce.gif 644
            chmod ./upload/images/newpm.gif 644
            chmod ./upload/images/newthread.gif 644
            chmod ./upload/images/next.gif 644
            chmod ./upload/images/noattach.gif 644
            chmod ./upload/images/off.gif 644
            chmod ./upload/images/offlock.gif 644
            chmod ./upload/images/on.gif 644
            chmod ./upload/images/onlock.gif 644
            chmod ./upload/images/paperclip.gif 644
            chmod ./upload/images/pm.gif 644
            chmod ./upload/images/pmforwarded.gif 644
            chmod ./upload/images/pmreplied.gif 644
            chmod ./upload/images/pm_buddyforward.gif 644
            chmod ./upload/images/pm_buddysend.gif 644
            chmod ./upload/images/pm_folders.gif 644
            chmod ./upload/images/pm_forward.gif 644
            chmod ./upload/images/pm_sendnew.gif 644
            chmod ./upload/images/pm_sendreply.gif 644
            chmod ./upload/images/pm_tracking.gif 644
            chmod ./upload/images/poll.gif 644
            chmod ./upload/images/polls 755
            chmod ./upload/images/polls/bar1-l.gif 644
            chmod ./upload/images/polls/bar1-r.gif 644
            chmod ./upload/images/polls/bar1.gif 644
            chmod ./upload/images/polls/bar2-l.gif 644
            chmod ./upload/images/polls/bar2-r.gif 644
            chmod ./upload/images/polls/bar2.gif 644
            chmod ./upload/images/polls/bar3-l.gif 644
            chmod ./upload/images/polls/bar3-r.gif 644
            chmod ./upload/images/polls/bar3.gif 644
            chmod ./upload/images/polls/bar4-l.gif 644
            chmod ./upload/images/polls/bar4-r.gif 644
            chmod ./upload/images/polls/bar4.gif 644
            chmod ./upload/images/polls/bar5-l.gif 644
            chmod ./upload/images/polls/bar5-r.gif 644
            chmod ./upload/images/polls/bar5.gif 644
            chmod ./upload/images/polls/bar6-l.gif 644
            chmod ./upload/images/polls/bar6-r.gif 644
            chmod ./upload/images/polls/bar6.gif 644
            chmod ./upload/images/polls/index.html 644
            chmod ./upload/images/posticon.gif 644
            chmod ./upload/images/posticonnew.gif 644
            chmod ./upload/images/posttree 755
            chmod ./upload/images/posttree/I.gif 644
            chmod ./upload/images/posttree/index.html 644
            chmod ./upload/images/posttree/L+.gif 644
            chmod ./upload/images/posttree/L-.gif 644
            chmod ./upload/images/posttree/L.gif 644
            chmod ./upload/images/posttree/S+.gif 644
            chmod ./upload/images/posttree/S-.gif 644
            chmod ./upload/images/posttree/S.gif 644
            chmod ./upload/images/posttree/T+.gif 644
            chmod ./upload/images/posttree/T-.gif 644
            chmod ./upload/images/posttree/T.gif 644
            chmod ./upload/images/prev.gif 644
            chmod ./upload/images/printer.gif 644
            chmod ./upload/images/privateevent.gif 644
            chmod ./upload/images/profile.gif 644
            chmod ./upload/images/publicevent.gif 644
            chmod ./upload/images/quickreply.gif 644
            chmod ./upload/images/quote.gif 644
            chmod ./upload/images/reply.gif 644
            chmod ./upload/images/reply_small.gif 644
            chmod ./upload/images/reputationbalance.gif 644
            chmod ./upload/images/reputationhighneg.gif 644
            chmod ./upload/images/reputationhighpos.gif 644
            chmod ./upload/images/reputationneg.gif 644
            chmod ./upload/images/reputationoff.gif 644
            chmod ./upload/images/reputationpos.gif 644
            chmod ./upload/images/sendpm.gif 644
            chmod ./upload/images/sendtofriend.gif 644
            chmod ./upload/images/smilies 755
            chmod ./upload/images/smilies/biggrin.gif 644
            chmod ./upload/images/smilies/confused.gif 644
            chmod ./upload/images/smilies/cool.gif 644
            chmod ./upload/images/smilies/eek.gif 644
            chmod ./upload/images/smilies/frown.gif 644
            chmod ./upload/images/smilies/index.html 644
            chmod ./upload/images/smilies/mad.gif 644
            chmod ./upload/images/smilies/redface.gif 644
            chmod ./upload/images/smilies/rolleyes.gif 644
            chmod ./upload/images/smilies/smile.gif 644
            chmod ./upload/images/smilies/tongue.gif 644
            chmod ./upload/images/smilies/wink.gif 644
            chmod ./upload/images/sortasc.gif 644
            chmod ./upload/images/sortdesc.gif 644
            chmod ./upload/images/space.gif 644
            chmod ./upload/images/subscribe.gif 644
            chmod ./upload/images/subscribed.gif 644
            chmod ./upload/images/table_bg 755
            chmod ./upload/images/table_bg/index.html 644
            chmod ./upload/images/table_bg/tcat.gif 644
            chmod ./upload/images/table_bg/thead.gif 644
            chmod ./upload/images/threadclosed.gif 644
            chmod ./upload/images/top_calendar.gif 644
            chmod ./upload/images/top_faq.gif 644
            chmod ./upload/images/top_home.gif 644
            chmod ./upload/images/top_logout.gif 644
            chmod ./upload/images/top_members.gif 644
            chmod ./upload/images/top_profile.gif 644
            chmod ./upload/images/top_register.gif 644
            chmod ./upload/images/top_search.gif 644
            chmod ./upload/images/trashcan.gif 644
            chmod ./upload/images/uinadd.gif 644
            chmod ./upload/images/vBulletin_logo.gif 644
            chmod ./upload/images/vb_bullet.gif 644
            chmod ./upload/images/wysiwyg 755
            chmod ./upload/images/wysiwyg/index.html 644
            chmod ./upload/images/wysiwyg/vB_Bold.gif 644
            chmod ./upload/images/wysiwyg/vB_Code.gif 644
            chmod ./upload/images/wysiwyg/vB_Color.gif 644
            chmod ./upload/images/wysiwyg/vB_colorSwatch.gif 644
            chmod ./upload/images/wysiwyg/vB_Copy.gif 644
            chmod ./upload/images/wysiwyg/vB_CreateLink.gif 644
            chmod ./upload/images/wysiwyg/vB_Cut.gif 644
            chmod ./upload/images/wysiwyg/vB_DeleteQuote.gif 644
            chmod ./upload/images/wysiwyg/vB_Email.gif 644
            chmod ./upload/images/wysiwyg/vB_fontbreak.gif 644
            chmod ./upload/images/wysiwyg/vB_fonticon.gif 644
            chmod ./upload/images/wysiwyg/vB_FormatBlock_ol.gif 644
            chmod ./upload/images/wysiwyg/vB_FormatBlock_ul.gif 644
            chmod ./upload/images/wysiwyg/vB_Indent.gif 644
            chmod ./upload/images/wysiwyg/vB_InsertImage.gif 644
            chmod ./upload/images/wysiwyg/vB_Italic.gif 644
            chmod ./upload/images/wysiwyg/vB_JustifyCenter.gif 644
            chmod ./upload/images/wysiwyg/vB_JustifyLeft.gif 644
            chmod ./upload/images/wysiwyg/vB_JustifyRight.gif 644
            chmod ./upload/images/wysiwyg/vB_menupop.gif 644
            chmod ./upload/images/wysiwyg/vB_OutDent.gif 644
            chmod ./upload/images/wysiwyg/vB_Paste.gif 644
            chmod ./upload/images/wysiwyg/vB_PHP.gif 644
            chmod ./upload/images/wysiwyg/vB_Quote.gif 644
            chmod ./upload/images/wysiwyg/vB_Redo.gif 644
            chmod ./upload/images/wysiwyg/vB_separator.gif 644
            chmod ./upload/images/wysiwyg/vB_Underline.gif 644
            chmod ./upload/images/wysiwyg/vB_Undo.gif 644
            chmod ./upload/includes 755
            chmod ./upload/includes/adminfunctions.php 755
            chmod ./upload/includes/adminfunctions_announcements.php 755
            chmod ./upload/includes/adminfunctions_backup.php 755
            chmod ./upload/includes/adminfunctions_forums.php 755
            chmod ./upload/includes/adminfunctions_help.php 755
            chmod ./upload/includes/adminfunctions_importexport.php 755
            chmod ./upload/includes/adminfunctions_language.php 755
            chmod ./upload/includes/adminfunctions_options.php 755
            chmod ./upload/includes/adminfunctions_profilefields.php 755
            chmod ./upload/includes/adminfunctions_ranks.php 755
            chmod ./upload/includes/adminfunctions_reminder.php 755
            chmod ./upload/includes/adminfunctions_template.php 755
            chmod ./upload/includes/adminfunctions_user.php 755
            chmod ./upload/includes/config.php 755
            chmod ./upload/includes/cron 755
            chmod ./upload/includes/cron/activate.php 755
            chmod ./upload/includes/cron/attachmentviews.php 755
            chmod ./upload/includes/cron/birthday.php 755
            chmod ./upload/includes/cron/cleanup.php 755
            chmod ./upload/includes/cron/cleanup2.php 755
            chmod ./upload/includes/cron/digestdaily.php 755
            chmod ./upload/includes/cron/digestweekly.php 755
            chmod ./upload/includes/cron/index.html 644
            chmod ./upload/includes/cron/promotion.php 755
            chmod ./upload/includes/cron/removebans.php 755
            chmod ./upload/includes/cron/stats.php 755
            chmod ./upload/includes/cron/subscriptions.php 755
            chmod ./upload/includes/cron/threadviews.php 755
            chmod ./upload/includes/db_mysql.php 755
            chmod ./upload/includes/functions.php 755
            chmod ./upload/includes/functions_bbcodeparse.php 755
            chmod ./upload/includes/functions_calendar.php 755
            chmod ./upload/includes/functions_cron.php 755
            chmod ./upload/includes/functions_digest.php 755
            chmod ./upload/includes/functions_external.php 755
            chmod ./upload/includes/functions_faq.php 755
            chmod ./upload/includes/functions_forumslist.php 755
            chmod ./upload/includes/functions_globalprofile.php 755
            chmod ./upload/includes/functions_image.php 755
            chmod ./upload/includes/functions_login.php 755
            chmod ./upload/includes/functions_newpost.php 755
            chmod ./upload/includes/functions_online.php 755
            chmod ./upload/includes/functions_postbit.php 755
            chmod ./upload/includes/functions_profile.php 755
            chmod ./upload/includes/functions_search.php 755
            chmod ./upload/includes/functions_subscriptions.php 755
            chmod ./upload/includes/functions_thrdmanage.php 755
            chmod ./upload/includes/functions_threadedmode.php 755
            chmod ./upload/includes/functions_upload.php 755
            chmod ./upload/includes/functions_wysiwyg.php 755
            chmod ./upload/includes/index.html 644
            chmod ./upload/includes/init.php 755
            chmod ./upload/includes/modfunctions.php 755
            chmod ./upload/includes/searchwords.php 755
            chmod ./upload/includes/sessions.php 755
            chmod ./upload/includes/vbulletin_credits.php 755
            chmod ./upload/index.php 755
            chmod ./upload/install 755
            chmod ./upload/install/index.html 644
            chmod ./upload/install/install.php 755
            chmod ./upload/install/installcore.php 755
            chmod ./upload/install/mysql-schema.php 755
            chmod ./upload/install/tableprefix.php 755
            chmod ./upload/install/upgrade.php 755
            chmod ./upload/install/upgrade1.php 755
            chmod ./upload/install/upgradecore.php 755
            chmod ./upload/install/vbulletin-adminhelp.xml 644
            chmod ./upload/install/vbulletin-language.xml 644
            chmod ./upload/install/vbulletin-settings.xml 644
            chmod ./upload/install/vbulletin-style.xml 644
            chmod ./upload/joinrequests.php 755
            chmod ./upload/login.php 755
            chmod ./upload/member.php 755
            chmod ./upload/memberlist.php 755
            chmod ./upload/misc.php 755
            chmod ./upload/modcp 755
            chmod ./upload/modcp/announcement.php 755
            chmod ./upload/modcp/banning.php 755
            chmod ./upload/modcp/forum.php 755
            chmod ./upload/modcp/global.php 755
            chmod ./upload/modcp/index.php 755
            chmod ./upload/modcp/moderate.php 755
            chmod ./upload/modcp/thread.php 755
            chmod ./upload/modcp/user.php 755
            chmod ./upload/moderator.php 755
            chmod ./upload/newattachment.php 755
            chmod ./upload/newreply.php 755
            chmod ./upload/newthread.php 755
            chmod ./upload/online.php 755
            chmod ./upload/poll.php 755
            chmod ./upload/postings.php 755
            chmod ./upload/printthread.php 755
            chmod ./upload/private.php 755
            chmod ./upload/profile.php 755
            chmod ./upload/register.php 755
            chmod ./upload/report.php 755
            chmod ./upload/reputation.php 755
            chmod ./upload/search.php 755
            chmod ./upload/sendmessage.php 755
            chmod ./upload/showgroups.php 755
            chmod ./upload/showpost.php 755
            chmod ./upload/showthread.php 755
            chmod ./upload/subscription.php 755
            chmod ./upload/subscriptions 755
            chmod ./upload/subscriptions/authorize.php 755
            chmod ./upload/subscriptions/clickbank.php 755
            chmod ./upload/subscriptions/index.html 644
            chmod ./upload/subscriptions/paypal.php 755
            chmod ./upload/subscriptions.php 755
            chmod ./upload/threadrate.php 755
            chmod ./upload/usercp.php 755
            chmod ./upload/usernote.php 755

            Comment


            • #21
              The point being, theblob, I think is that I downloaded the same zip distribution you did, transferred over the files, and did not end up with all of the files at 700 permissions.

              If the vast, vast, vast majority of users download the files and execute them with no problems, chances are the problem is with your server setup. While the devs were very nice and said that they could probably come up with a tar installation file, a problem that, based on the feedback on these boards seems limited to your machine doesn't necessarily mean an emergency on the part of the developers who are actually working on issues that affect the usability of the product. And IMHO certainly doesn't qualify as a 'serious' flaw or bug in the install process.

              It's impossible for the vBulletin team to provide a seperate distro for every possible server scenario.

              This isn't Windows click-and-play software, and while the team has done an outstanding job of making the install clean and simple, you still need some basic understanding of your server operating system, web server software, ftp, etc.

              How hard is it to type 'chmod -R 755 vbulletindir' ?




              Originally posted by theblob
              I used WinImp 1.21 to unzip the files, then looked at the permissions in Cygwin, and the file and directory permissions were all 700. This is before uploading to my server. WinImp is a Windows app. So if Cygwin is showing the permissions properly then the problem isn't with Cygwin.
              Last edited by bdbourn; Thu 19 Jun '03, 4:18pm.

              Comment


              • #22
                Originally posted by theblob
                Permissions are not determined by your umask settings if you upload a tar file and then untar it.
                I never said they were. Sorry if you got that impression. My comments were regarding zip files.

                I'm also sorry if you think we are not taking this seriously. The fact is I don't know enough about your server setup to understand what the problem is. I do know how this works on my systems (Windows XP/Linux) and this permissions problem does not exist in the same way it does for you. Also Scott has already stated they are working on a tar file download that will be ready by vB3 gold release. I thought this was what you wanted.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment


                • #23
                  Originally posted by Steve Machol
                  I never said they were. Sorry if you got that impression. My comments were regarding zip files.
                  What you said was:

                  As I posted earlier, the permission are determined by your server when you upload or extract the files. On *Nix systems you can set the default permissions with 'umask'.
                  About this:

                  Originally posted by Steve Machol
                  I'm also sorry if you think we are not taking this seriously. The fact is I don't know enough about your server setup to understand what the problem is. I do know how this works on my systems (Windows XP/Linux) and this permissions problem does not exist in the same way it does for you. Also Scott has already stated they are working on a tar file download that will be ready by vB3 gold release. I thought this was what you wanted.
                  As I have mentioned umpteen times, the permissions are set before the server ever gets involved. I unzip the file on my local machine, and the permissions are incorrect. My local machine is not the server.

                  I am trying to help you guys by telling you that there is a problem in the installation process. The problem is that I follow the instructions, and get a setup that does not work. I do not think there is much that is unusual about my setup. If I run into this, other people will too. Also, as a user, I want to follow the instructions, not hack on things until it works. I have said these things umpteen times as well. I give up. I now have a hacked installation. I appreciate that you are reading what I am saying, Steve, but there seems to be some sort of communication problem. My words aren't getting in.

                  Comment


                  • #24
                    I'm trying to follow this but you're right - I don't understand. I'm sure this is probably my fault.

                    But to be honest, there are very rarely any reported problems with permissions. Until now, the only times this has come up before is when someone is running PHP as CGI and the permissions need to be set to 755 for the scripts.

                    FWIW, when I unzip the vbulletin.zip file directly on my server, the permissions are set to 755 for both files and directories.

                    P.S. Scott did say they will have a tar file available which will have preset permissions. I thought that was what you wanted.
                    Last edited by Steve Machol; Thu 19 Jun '03, 10:06pm.
                    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                    Change CKEditor Colors to Match Style (for 4.1.4 and above)

                    Steve Machol Photography


                    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                    Comment


                    • #25
                      I did a further test. I unziped the files on my home computer (Windews XP), then uploaded them to the Linux server. In this case the exact same files were all set to 500 - which matched my umask setting.
                      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                      Change CKEditor Colors to Match Style (for 4.1.4 and above)

                      Steve Machol Photography


                      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                      Comment


                      • #26
                        These...
                        Originally posted by theblob
                        The machine that I downloaded to...is running Cygwin
                        Originally posted by theblob
                        I used WinImp 1.21 to unzip the files
                        Originally posted by theblob
                        I used scp instead of ftp
                        do not jibe with this statement...
                        Originally posted by theblob
                        I follow the vBulletin installation instructions exactly, with a machine setup that doesn't seem unusual...
                        I've been using Windows for 10 years and I've never even heard of WinImp and scp. Cygwin, WinImp, and scp sound very unusual to me and you are placing high expectations on vBulletin to unzip properly on such a setup.

                        Please try the usual software (Windows 98/2000/XP without a Cygwin overlay, WinZip or WinRAR, and WS_FTP or CuteFTP) and see what happens.

                        Comment


                        • #27
                          FYI, 'scp' (secure copy) is an SSH version of 'cp' (copy) which works for file transfers from server-to-server. It's more secure and saves the hassle of ftp upload and downloading.
                          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                          Change CKEditor Colors to Match Style (for 4.1.4 and above)

                          Steve Machol Photography


                          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                          Comment


                          • #28
                            Originally posted by feldon23
                            These...do not jibe with this statement...I've been using Windows for 10 years and I've never even heard of WinImp and scp. Cygwin, WinImp, and scp sound very unusual to me and you are placing high expectations on vBulletin to unzip properly on such a setup.

                            Please try the usual software (Windows 98/2000/XP without a Cygwin overlay, WinZip or WinRAR, and WS_FTP or CuteFTP) and see what happens.
                            And cygwin is a set of unix utilities ported to the windows platform.

                            See: http://www.cygwin.com/
                            PJnet BBS .:. RU Forums

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X