From: Martin Stannard Date: 2004-05-19T06:51:47+09:00 Subject: Re: writable 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? Try rootr.net for hosting. gotta run, Martin