Unaccessible folder in public/html

Status
Not open for further replies.

isaeldal

New Member
Messages
7
Reaction score
0
Points
1
Hello!
I cannot access my script folder in the main public/html, when i try to delete it inside the cpanel, it comes again after refreshing, and all the files inside it appears to be broken, when i try to access it via my FTP, i have a 550 error: access denied. I may as well reload all those scripts to another folder, but i found this very intriguing and i fear this may happens again. No way those files are malicious, it's only pretty basic JS functions and a mail sending PHP file.... Someone has any idea?
 

ChatIndia

Community Advocate
Community Support
Messages
1,408
Reaction score
30
Points
48
Change the permission of that directory to 777 and try again
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi isaledal,

Your script folder had incorrect permissions set, as @ChatIndia suggested, and was set to 644 instead of 755. I've changed the directory permissions for you, and your script directory now appears to be loading. :)

Thank you,
 

isaeldal

New Member
Messages
7
Reaction score
0
Points
1
Hey thanks a lot to both of you!
Did'nt knew it needed permission for execution also. As a novice, i thought only .exe and some others were considered as executable!
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
You need to "execute" the folder (which is really just a pointer file) in order to use it to get to its "contents". Yes, it's a little bit weird.
 
Status
Not open for further replies.
Top