On 24 March 2011 12:34, Stuart Bird <[email protected]> wrote:
> This is now solved - thanks.
>
I had the exact same problem a couple of days ago, shame I didn't see your
question until you'd solved it yourself as I recognised the problem
immediately!
> # sudo chmod -R a+rX /home/stu/www/
> # sudo chmod a+rx /home/stu
>
What's the reason for the second command?
As it stands you've made all files in your home directory executable by
anyone, which is probably not what you wanted.
sudo chmod -R a+rX /home/stu/www
.. should have been enough. And for that matter, so should:
chmod -R a+rX /home/stu/www
.. as the files were presumably already owned by you so you shouldn't have
needed sudo to grant permissions to others.
Note I didn't include the trailing / - I think your first command probably
didn't give access to the www directory itself, just to files/directories
below it.
--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro