From: paul@... (paul vudmaska) Date: 2004-05-19T12:03:54+09:00 Subject: Re: writable Martin Stannard wrote in message news:<1084917054.7623.2.camel@beyond>... > On Wed, 2004-05-19 at 06:18, paul vudmaska wrote: > > Martin Stannard wrote in message news:<1084887383.14209.10.camel@beyond>... > > > > The method I've used is to have a file upload directory with permission > > > 755 and owned by the webserver user, in my case: > > > chown apache:apache directory_name > > > > This is making better sense to me - owner apache... > > but in the script file(not from the web) i use the ticks > > `chown apache:apache dir_name` > > #>invalid user name > > > > so i did > > #>users - just guessing...im a *nix rookie > > and bepweb was listed... > > > > `chown bepweb dir_name` > > > > #>Operation not permitted > > > > Bummer > > > > > > > > > > Sweet this is much simpler than what i was doing. My next host, i > > hope, is running 1.8 so i can use FileUtils > > > > > Actually I just tried it with 744 and that works too. > > > > > > Anyone else see any security problems with that? > > > > > > regards, > > > > > > Martin > > > > Thanks for the help,paul > > > > OT: I told folks i was checking out hub.org. Cant recommend them, > > unfortunately. If i find a good host i'll post. I'm currently checking > > out a host that is giving me a dedicated box for 29 a month....not big > > hw but adequate...i hope... > > Hi Paul, > > I just set up the directory beforehand manually - the chown is just > typed on the command line. Do you have to change permissions from within > your script? No i dont have to but i've been creating a lot of sites and for each one i need to go in and recreate this structure for each host. Just wanted to automate it with a script. > Try rootr.net for hosting. :) Im using them currently and i've been fairly happy. However they are running Ruby 1.68 and Mysql 3.23. After running into a bug in mysql that brings pages down periodically i've pleaded with them to upgrade...at least mysql. Without luck.I did not want to share the ruby interpreter either. Thanks again for your help. Paul