Tag Archives: Sudo

File system permissions!

I need to edit files on considered one of our dedicated Reddish colored Hat Enterprise Linux hosting space. I have basic access, but I don’t like the thought of running commands because root unless vital. Your webroot has files as owned through Apache. I’m not really Apache; I have my very own account that has become a member associated with wheel. How am i allowed to configure either my account or the actual files so I could edit them without undergoing it as root and also chmod’ing them that they are world-writable I take it that you’re running a text editor on the command line, just like vim Add yourself towards the apache group. Make each of the directories of the web (/var/www/html maybe) to ensure group has permission to write. Specify running commands as root’. This is basically exactly the problem sudo has been designed to care for. Single-shot command operate with root permissions. Or else, you can, when suggested, add yourself towards the group(s) that own(s) your files, or chown your files to remain in a group you owned by (e. g., wheel). The latter could have strange consequences, just like PHP file uploads dissapointing because PHP isn’t … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment