Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set 777 permission on a particular folder? [closed]

How to set 777 permission on folder.

  • i need to Set the permission of the following folder to 777: admin\includes\module_installation

I do no idea how to set the permission 777 on particular folder in window 7??

Please help me how can I set it? I am using windows 7.

like image 706
Jalpesh Patel Avatar asked Jul 09 '12 06:07

Jalpesh Patel


People also ask

How do I give permission to a folder in 777?

Never Use chmod 777 If you experience permission issues with your web server, instead of recursively setting the permission to 777 , change the file's ownership to the user running the application and set the file's permissions to 644 and directory's permissions to 755 .

How do I change permissions on chmod 777?

To change file and directory permissions, use the command chmod (change mode). The owner of a file can change the permissions for user ( u ), group ( g ), or others ( o ) by adding ( + ) or subtracting ( - ) the read, write, and execute permissions.


2 Answers

777 is a permission in Unix based system with full read/write/execute permission to owner, group and everyone.. in general we give this permission to assets which are not much needed to be hidden from public on a web server, for example images..

You said I am using windows 7. if that means that your web server is Windows based then you should login to that and right click the folder and set permissions to everyone and if you are on a windows client and server is unix/linux based then use some ftp software and in the parent directory right click and change the permission for the folder.

If you want permission to be set on sub-directories too then usually their is option to set permission recursively use that.

And, if you feel like doing it from command line the use putty and login to server and go to the parent directory includes and write the following command

chmod 0777 module_installation/ 

for recursive

chmod -R 0777 module_installation/ 

Hope this will help you

like image 194
Junaid Avatar answered Sep 22 '22 11:09

Junaid


Easiest way to set permissions to 777 is to connect to Your server through FTP Application like FileZilla, right click on folder, module_installation, and click Change Permissions - then write 777 or check all permissions.

like image 30
dpitkevics Avatar answered Sep 22 '22 11:09

dpitkevics