Search the Community
Showing results for tags 'folder permissions'.
Hi all ! I have launched my project using the aws EB CLI and its installed as desired. After the installations I needed to change the folder and file permissions and so I logged into the EC2 instance using putty ( I have not yet explored the configuration files enough to set the permissions from there ), as ec2-user and found my project under var/app/current symlinked to the HTML folder. Further all my folders and files under the current folder have the user : group set as webapp : webapp. Now I am not sure what this webapp is but i guess its a user that was created by the elastic beanstalk. Here is my working project structure on my VM. All folders have user:group as ec2-user : apache and the permissions of each folder are as labelled: |--project(root) ---- index.php | 775 644 | |--hidden(below root) --- scripts (710) | 710 --- includes (710) | ---- images ----image1.png (660) | (730) ----image2.png (660) | When I set the permissions same as above in the EC2 instance, My hidden folders become inaccessible. I guess this is because of the wrong user:group settings. So how do I set the correct ownership and settings with the aws elastic beanstalk to make this work with the settings that I have mentioned above. Thanks all !