Re: setting file permissions on a web server

2006-04-30 Thread Martin P. Hellwig
John Salerno wrote: Most FTP servers do allow to use chmod in a ftp session, although you're client must support it. See for example a cli ftp client (and server) on FreeBSD. > [EMAIL PROTECTED]:~$ ftp ftp.xs4all.nl > Connected to ftp2.xs4all.nl. > 220 XS4ALL ftpd DCLXVI > Name (ftp.xs4all.nl:

Re: setting file permissions on a web server

2006-04-30 Thread John Salerno
Daniel Nogradi wrote: > This depends on your arrangements with your web server provider. > Perhaps you are allowed to ssh into that machine, perhaps not, you > need to ask your provider. In case you can use ssh, then you can log > in with putty (an ssh client for windows, grab it from here: > http

Re: setting file permissions on a web server

2006-04-30 Thread Kirk McDonald
Daniel Nogradi wrote: > I have next to zero experience with windows but as far as I know > windows doesn't have file permissions at all (anyone, please correct > me if I'm wrong :)) so in windows land it doesn't make any sense to > "change file permissions". Even if it has some sort of a notion of

Re: setting file permissions on a web server

2006-04-30 Thread Edward Elliott
Daniel Nogradi wrote: > I have next to zero experience with windows but as far as I know > windows doesn't have file permissions at all (anyone, please correct > me if I'm wrong :)) so in windows land it doesn't make any sense to > "change file permissions". Actually Windows has a quite good perm

Re: setting file permissions on a web server

2006-04-30 Thread Edward Elliott
John Salerno wrote: > Thanks, but I'm still a little confused. Since I'm running Windows You misplaced your period, it goes at the end of that line. ;) > assume that I can't run the chmod line on my own computer. Sure you can, install cygwin. chmod only affects files on your computer, and won'

Re: setting file permissions on a web server

2006-04-30 Thread Daniel Nogradi
> > In short, chmod refers to local files so wherever you run it it will > > refer to files on that machine. You run it simply by typing it in a > > shell as a user who has privilage to perform the operatation, which > > can mean you have to be an owner of the file but if you are root you > > can d

Re: setting file permissions on a web server

2006-04-30 Thread Diez B. Roggisch
> 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 th

Re: setting file permissions on a web server

2006-04-30 Thread John Salerno
Daniel Nogradi wrote: > In short, chmod refers to local files so wherever you run it it will > refer to files on that machine. You run it simply by typing it in a > shell as a user who has privilage to perform the operatation, which > can mean you have to be an owner of the file but if you are roo

Re: setting file permissions on a web server

2006-04-30 Thread Daniel Nogradi
> I always read about how you need to set certain file permissions (for > cgi files, for example), but it's never been clear to me *how* you do > this. I know you can run the line > > chmod 755 scriptname.py > > but *where* do you run this? Is this done on your personal system, or on > the server?

Re: setting file permissions on a web server

2006-04-30 Thread Rene Pijlman
John Salerno: >I always read about how you need to set certain file permissions (for >cgi files, for example), but it's never been clear to me *how* you do >this. I know you can run the line > >chmod 755 scriptname.py > >but *where* do you run this? This is a Unix/Linux command. You run it in a

setting file permissions on a web server

2006-04-29 Thread John Salerno
I always read about how you need to set certain file permissions (for cgi files, for example), but it's never been clear to me *how* you do this. I know you can run the line chmod 755 scriptname.py but *where* do you run this? Is this done on your personal system, or on the server? What if you