On 10 December 2014 at 09:17, Tobias Beer <[email protected]> wrote:

> Hi Daniel,
>
>
>> Actually you're right Tobias, setting up store.php is mostly getting the
>> file permissions right and isn't too bad...
>>
>
> Although it works, I was not exactly sure, so far ...are these the
> permission that are needed?
>
>
> <https://lh3.googleusercontent.com/-4oXJvzTpWQc/VIeCzAS_rzI/AAAAAAAABr4/rBp0-zSHNFE/s1600/permissions.gif>
>
>
that looks okay -- for store.php itself you just need the most restrictive
perms that let your webserver still be okay running it -- but I was really
referring to setting directory perms so your web server's user can write
out the tw html file, but you haven't allowed random jerks to write files
into your space.  Once I left a Windows machine on a university network,
and came back in an hour to find a folder full of porn on the desktop O_0
...Students, eh.

One way is to make the wiki dir owned by the webserver user, and your
username group.  Then it can be user and group readable and writable, which
just allows the web server and you.

It's especially tricky for beginners on shared hosting, where it's not
always easy to find the user the web server is running as.  On the other
hand, if you're the one who wrote apache into your init.d, you probably
already know it's user :)

;Daniel

-- 
Daniel Baird
objoke: I had a problem and decided to solve it with threading. Now,
have problems. two I

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to