In a previous post, I explained how to use chmod to change file permissions and also provided some security tips to ensure your file permissions are not more permissive than they need to be. Looking back on those posts, I think it would be useful to list some common file …
June, 2010
May, 2010
-
27 May
Useful RPM Tips
As I mentioned in an earlier post, YUM is a powerful package management system, commonly used in RPM-based Linux distributions, including Red Hat Enterprise Linux, CentOS, and Fedora. We have covered some of the basic YUM commands. Now, here are some helpful commands not in YUM that you can use …
April, 2010
-
26 April
Licensing Your Website
From the title of this blog, one might imagine having to stand in line at some type of bureau for websites to get the proper licensing needed, but it is actually not that complicated. In the most simplistic scenario, you are the owner of your website and thus own the …
-
8 April
Chmod shortcuts for Linux
In a few previous posts, we learned how to change file and directory permissions with chmod. The standard method is to use numbers to represent various permissions. For example, typing “chmod 777 directoryname” will make the directory readable, writable, and executable for all users, local or otherwise. There are many …
-
1 April
To chmod or not to chmod
When installing scripts on a server, there is a tendency of both developers (in their instructions) and users to be overly generous in dishing out file permissions. In Linux, file permissions can be manipulated with the “chmod” command. For example, a script may require write access to a temporary directory, …
February, 2010
-
24 February
How to setup umask on a Linux server
In Linux umask, or user file-creation mode mask, determines the permissions of new files. In other words, whenever you make a new file or upload/transfer a file from your local machine or another server, umask sets the initial permissions of that file. In most Linux distributions, umask for all users …
November, 2009
-
17 November
Using the "ls" Command in Linux
In Linux, few commands are more important when managing your file system than “ls”. On a server, it is very important to know how to view files and their properties. With “ls” you can view a simple list of files or any number of more complicated variations of the list. …
September, 2009
-
8 September
Keep Your Website Safe from Hackers
Question: How do I keep my hosting account from being hacked? Answer: 1. More than anything else, it is important to keep your passwords secret and unique. No one else should have your password, not even your web host. If someone emails you pretending to be your web host or …