Re: setting file permissions on a web server



I suppose I could write a script that would set the permissions of all the files in a particular folder on my computer to 755, but is there a Windows equivalent command for chmod to do this? Or am I stuck having to do it on the server side?

The chmod has to be executed on the machine the file resides on - aka the server. If your plan includes a ssh-account you can use that. Otherwise you might be able to create an ftplib-based script that will automate this over ftp.

Diez
.



Relevant Pages

  • Re: PHP chmod Newbie Question
    ... How does the server keep ... how do I create user groups for chmod to recognize? ... CHMOD is for UNIX based servers, and the PHP chmod() ... edited or removed by the PHP script, and only read by the UNIX ...
    (comp.lang.php)
  • Re: messages stuck and then released after exchange reboot
    ... any messages stuck in an outbox on the web or in outlook. ... checked with the users and the messages were delivered the first time. ... Both times the backend server was rebooted. ...
    (microsoft.public.exchange.admin)
  • Any Ideas?
    ... I have recently converted .Net 1.1 Web App to 2.0. ... Ever since the conversion we periodically enter a "Stuck" State ... ... Eventually, all Services will freeze, and The Server becomes ...
    (microsoft.public.windows.server.general)
  • Remote Client error
    ... Windows SharePoint services 3.0 hosted on Windows Server 2003 x64, database on a separate SQL 2005 server. ... On Monday local users still did perform well - but remote users get an error on loading the site stating errors on page like "_spBodyOnLoadFunctionNames is undefined". ... And now I stuck again with g_ViewIdToViewCounterMap. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: setting file permissions on a web server
    ... If permissions are kept intact you can ... you transfer first and chmod on the server. ... Since I'm running Windows, I assume that I can't run the chmod line on my own computer. ... My web server uses Unix, but is it possible for me to have access to a command line for the server? ...
    (comp.lang.python)