setting file permissions on a web server

Diez B. Roggisch deets at nospam.web.de
Sun Apr 30 14:06:49 EDT 2006


> 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



More information about the Python-list mailing list