PDA

View Full Version : Permission Denied



megacool
January 12th, 2001, 09:51
I am having a really strange problem. I was trying to install a simple perl script called Profile Manager (www.interlogy.com).. everything done.. as instruced by the readme file. I was required to create a dir name 'data' and chmod it to a+rw(666) so i did.. but now i can't even access that folder.. its giving me PERMISSION DENIED.. i cannot go browse into that dir/i can't remove it.. the script uses it to store its db in a single flattext file. So the script is giving me Permission denied error too.

http://netchatcomp.dim8.net/profiles/register.htm

I have no idea what do? Maybe i need to set permissions using an .htaccess file.. but i doubt that. Any help would be appreciated. OS is Linux RedHat and Server is Apache.

alext12
January 12th, 2001, 19:27
right click on the folder and a menu will come up
click on properties
click on general
Down the bottom of the window you should see a tick next to "read only"
Untick the box
click "OK"
And your problems fixed

Jerry
January 19th, 2001, 03:34
chmod is unix.. alex is thinking windows..

umm.. you're not suppose to chmod directories 666...

666 = drw-rw-rw

that doesn't allow you to open the directory

it should be 777 (drwxrwxrwx)

the db file should be 666.. writable files = 666, writable folders = 777..

umm.. well.. try deleting the folder.. making it again.. and then chmoding it to 777.. and then run the script..

if you can't delete the folder.. than you need to get the root user of the server to delete it.. if you use a fwp or paid host.. ask the admin.. if you own a dedicated server.. just login with root and delete it..