My node.js app contains the following folders in root folderapi,assets,app.js.But files in the assets folder cannot be accessed by browser (it contains css and js files) Howvwer everything works fine in localhost environment so i think its a permission issue.I don't know much about permissions in ubuntu file system  one thing i noted that is when running ls -l assets commands it lists with all subfolder permission details wih  a green colour.But folders except assets doesn't have green colour.Problems occur only in the folders with green colourNoteI've already give all permission using this command sudo chmod 777 -R assets but still i can't access the files through broswer.<localhost>/asset/style.css gives 404 errorEDITOutput of ls -l assetstotal 32drwxrwxrwx 2 ubuntu ubuntu 4096 Jul 17 05:54 angular-rw-rw-r-- 1 ubuntu ubuntu  920 Jul 17 05:54 favicon.icodrwxrwxrwx 3 ubuntu ubuntu 4096 Jul 17 05:54 fontsdrwxrwxrwx 3 ubuntu ubuntu 4096 Jul 17 05:54 imagesdrwxrwxrwx 4 ubuntu ubuntu 4096 Jul 17 05:54 js-rw-rw-r-- 1 ubuntu ubuntu  300 Jul 17 05:54 robots.txtdrwxrwxrwx 2 ubuntu ubuntu 4096 Jul 17 05:54 stylesheetsdrwxrwxrwx 2 ubuntu ubuntu 4096 Jul 17 05:54 templates
Ubuntu:permission issues while setting up web directory
ubuntu;permissions;sudo;aws