folder right permission on a *nix server

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
irandoct
Forum Newbie
Posts: 5
Joined: Sat Aug 01, 2009 2:10 am

folder right permission on a *nix server

Post by irandoct »

Dear Friends,
I have a php script installed on my server... i need this script upload files to some directories...
What's the best permission for that directories?
Please explain if possible!
Regards
Mansour
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: folder right permission on a *nix server

Post by JAB Creations »

The lower the permissions that work the better...though I'm not exactly a security expert. :mrgreen: I've seen way too many public scripts that are all, 'Hey, yeah just set every folder especially the root all to 777!' 8O I think something like 606 works though it's been a few months since I've had to mess around with file system permissions...mess around with it a bit and see how much you can minimize it before it no longer works.
irandoct
Forum Newbie
Posts: 5
Joined: Sat Aug 01, 2009 2:10 am

Re: folder right permission on a *nix server

Post by irandoct »

Umm,
what about "746"?
Looking Forward for a security expert!!!
Thanks
Post Reply