|
|
 |
RE: FN-FORUM php uploader chmod problem
date posted 7th June 2002 09:49
> > it's an ownage problem, the PHP script runs under one UID, the ftp
> > user is another one completely, you can try changing ownership through
> > the script, but the script probably wont have the rights to do this
> > (worth a try tho). When I had this problem I got my friendly server
> > admin to fiddle the accounts so it worked, im not totally sure exactly
> > what he changed though.
Sounds like it would need both the FTP and script accounts to be added to a
Unix group created for the purpose. If you set the file permissions with
group read/write access, (and make sure that the files and directories are
chgrp'd to that group, of course), you should be able to get things going. I
used a technique like this a while back to get a CVS repository working with
multiple accounts, so that people could modify each other's files but
without needing access they didn't really need to other parts of the
repository or indeed the server itself. All pretty much basic Unix systems
admin stuff, so it shouldn't be a problem if you have a reasonably
sympathetic admin.
Sarah
|
 |
|