[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] More 'ownership' things :-(
In message <1055968129.29039.1.camel [at] rendezvous.alexworld>
Alex Hudson <home [at] alexhudson.com> wrote:
> On Wed, 2003-06-18 at 21:16, Ruth Gunstone wrote:
[snip]
> > The relevant entry seems to be:
> > /dev/hda6 /home/ruth/Data vfat umask=022,uid=501 0 0
>
> umask=000 probably.
That seems to have worked :-)
>
> But, I really don't think you should do that
oh :-(
> - it's likely that what you want to do already has a solution that you're
> missing.
>
> You want Apache to be able to write to a directory or something, yes?
Spot on! It's a PHP form to allow various users to update some information,
which Apache/PHP writes back to a file on the server. (The file is then
incorporated by 'include('filename')' in appropriate web-pages.)
But, as I said, the finished PHP will run on a 'proper' Apache server, with
all the permissions correctly set. It's just my test-rig that's wierd!!
We live and learn. In future I'll know not to try to build a website on a
FAT32 system. Obviously, the web-pages would work much better if they were on
the main Linux partition. I set it up this way (on my laptop) in the
(possibly foolish) notion that I'd be able to work on the website using
whichever OS/software I felt was more appropriate for each task.
These "learning opportuniies" are wonderful, aren't they?
Cost me a fortune in paracetamol though ;-)
TTFN!
--
Ruth Gunstone (ruth at bolsterstone dot demon dot co dot uk)
/====================================================\
|| "That's the trouble with Time Travel - I can ||
|| remember tomorrow as if it were yesterday." ||
|| The Doctor ||
|| "Death Comes to Time" ||
\====================================================/
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.