How can I CHMOD files on a Windows apache server?

Discussion in 'Site & Server Administration' started by wvccboy, Aug 2, 2007.

  1. #1
    I have apache, PHP, and MySQL installed on Windows; problem I'm having now is I can't use any PHP scripts because they need to be CHMODed before use.

    Is there any way to configure it so it can be CHMOD to 777, 755, etc?

    Thanks
     
    wvccboy, Aug 2, 2007 IP
  2. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #2
    Yes -

    USE you ftp client

    select the file ( left click once and then make it blue)

    Then right click and select "file attributes" or "chmod"

    Depending on what type of client you have will be the text

    Then just set it to 777
     
    sundaybrew, Aug 2, 2007 IP
  3. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #3

    That wont work on a windows server.



    You will actually have to set permissions in windows it self (via remote desktop or directly if you have direct access to the windows server).
    You have to right click the folder and set security permissions.

    Here is something i found interesting but havent used yet.
    http://www.softpedia.com/get/System/System-Miscellaneous/CHMOD-Win.shtml


    Rep appreciated :)
     
    Talker, Aug 2, 2007 IP
  4. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #4
    Thanks Talker; will try it out now.

    Looks like a very useful application ;)
     
    wvccboy, Aug 2, 2007 IP
  5. bouncer69

    bouncer69 Peon

    Messages:
    978
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Normally windows server doesn't need permission to use scripts.
     
    bouncer69, Aug 2, 2007 IP
  6. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #6
    Are you sure about that? It seems some works and some don't.
     
    wvccboy, Aug 2, 2007 IP
  7. bouncer69

    bouncer69 Peon

    Messages:
    978
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes i'm sure. If your server configuration is ok it should work without any permission changes.
     
    bouncer69, Aug 2, 2007 IP
  8. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #8
    Windows DOES have permission issues, especially when you want to run scripts or want a parent to allow to right to a specific folder.
     
    Talker, Aug 3, 2007 IP
  9. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #9
    CHMOD isnt for windows server. Thats for Linux only.

    Windows has permissions similar as in your computer.
     
    inworx, Aug 3, 2007 IP
  10. ilxeon

    ilxeon Peon

    Messages:
    336
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Permissions are normally not needed to be setup for windows server, when you transfer files they have same permission as your system
     
    ilxeon, Aug 3, 2007 IP