www.1001TopWords.com |
Setting File Permissions On A Unix Server
File permissions are one of the strengths that the Unix world has had over it's Windows contemporaries. Permissions are a means to control access to information on a computer, on a file by file basis. There are several layers of control, and these will be discussed below. For the purpose of this series of tutorials, I have been using a free FTP program called Core FTP Lite to upload files to my server. I am using this program to describe my examples. Ok, to begin, let's say that we have uploaded some files to a server. We are discussing uploading scripts in general here, and certainly for many scripts, the creators may well specify certain 'permissions' that need to be set in order for the scripts to operate correctly. Let's take a look at a set of files on a server. In Core FTP Lite, the server files are shown in the right hand pane. Select one and then right click on the highlighted file.If you use a different FTP client, I expect that the layout will be very similar. Run the mouse down to the bottom of the menu and select the item marked 'Properties'. Click on this option, and another dialog will appear. You will see that the file in question (in this case a directory) is being shown in the 'File' field at the top of the screen. What we are really interested in, is the tick boxes in the bottom half of the screen. These hold the file 'privileges' or 'permissions' for this file or directory. There are three types of 'permissions' available. * User - which means the person signed on who is setting the permissions * Group - which means a specific group of users for whom access to the file has been granted * World - which means everyone. Within these groups of users, there are 3 distinct types of permissions * Read - which means that permission to read a file, but not alter it or run it * Write - which means permission to write to a file and change it * Execute - which means permission to execute a file, which is important in the case of scripts for example. Permissions are sometimes called by these names (read, write, execute) but are more commonly referred to using letters 'rwx'. In addition, permissions are sometimes referred to by a single number '755' for example. In the picture above, you will see a value box. This is the number being referred to. How is this number made up? Well let me explain. Read Group 40 World 4 Write Group 20 World 2 Execute Group 10 World 1 Each value for each setting is shown. Try them out by ticking them, and see the number in the 'Value' field change accordingly. So, lets look at a real example Can you see how the number 755 is made up? Add up the individual values from the value table and see. So hopefully you can see, that setting file permissions with the right tool is not hard at all. Charlie Cory worked or many years running a HelpDesk for a software house, and has experience in many operatng systems and technologies. The online aticle contains many pictures which help bring this tutorial to life.
|
RELATED ARTICLES
What are the Main Components of Any Computer, and Which are the Most Critical to Its Performance? Computers are everywhere, and vary in specification, brands, sizes,shaped, and prices. However, there is one common characteristic amongall computer systems. The Many Benefits of Owning a DVR Has This Ever Happened To You? OK.. it's Friday night, the kids are asleep, and a movie you've been waiting for is on Pay-Per-View for the first time. You buy the movie, grab a bag of popcorn, get all comfy on the couch, and ten minutes into the movie "RINGGGG" it's the _______ phone!!! (you fill in the blank). Build Your Own Computer I'm eighty-one years old and I bought my first computer six years ago. When I bought it I hardly knew how to turn it on. I consider myself still a Newbie as I've barely scratched the surface of computer technology. I have successfully built about a dozen computers for family, friends and myself. I have even sold a couple of them. Image Formats: GIF, JPEG, BMP When browsing the internet you are likely to come across many different image formats. However, the most common formats are: CompuServe GIF, JPEG, and Bitmaps. Be Your Own IT Department If you use a computer, you need to know more than just how to use your email and surf the web. You need to know that you are protected. If there isn't someone responsible for the computers in your home or office, then pick someone, quick. Their job is to assure you that everything I've listed below is getting done on a regular basis so you can relax a little. Cisco CCNA Certification: Five Things To Do DURING The Exam There are plenty of articles out there about how to prepare for the CCNA exam. However, there are also things you can do to increase your chances of success on exam day during the most important part of the entire process -- the time that you're actually taking the test. The Benefits of the New Firefox Browser You probably heard of the new Firefox browser version 1.0 recently released by Mozilla. If you are currently using Internet Explorer or Netscape, you are probably wondering if Firefox is better and why is it better. In order to answer these questions it is necessary to take a look at all the benefits that Firefox offers you as a user. USB Drives - What to Look For in a USB Device Those small USB drives have so many names, pocket drives, thumb drives, USB Pen, Jump drives, and several other names, but when it comes down to it, we are all talking about a small portable, reusable storage media that fits in the palm of your hand! Virtual Memory - What is It? I recently got an e-mail asking about virtual memory. The person who sent me the question was getting an error on random occasions from their Windows operating system stating "Your computer is low on virtual memory". They wanted to know what is virtual memory, and if this error does occur, what can I do to fix it? Here is the answer that I sent out: Back Up, Back Up, Back Up! This is not your typical lost data story. I was a good girl and I kept my files on the network drive just like the company recommended. The only thing I put on my hard drive was junk files - things that wouldn't bother me if the hard drive crashed. But not on the network drive. The drives are backed up and even my PC has a local back up program. Can you see where this is going? Compile .BAT Files into Native Windows Applications (.EXE) Since the DOS days, batch files have been one of the most convenient and immediate ways to accomplish certain tasks. Even today it's possible to find some remarkably sophisticated utilities written as command-line batch files. PC Owners - The Largest Criminal Gang Ever? The year is 1981. IBM has just released the Personal Computer; a low cost machine it hopes will create a winning brand. Several models are produced in quick succession accompanied by an ad campaign featuring a Charlie Chaplin figure. The message is clear: It's cheap and it's cheerful. How To Remove One Operating System from a Dual Boot Windows XP Computer In Windows Xp, you can install two operating systems on the same hard disk of one computer. Protect Your PC from Viruses, Worms & Trojans Each of the items in the checklist below is part of a broad and easy to implement security policy. 7 Reasons NOT to Take Your Laptop on Holiday! Heading off on vacation soon? Windows PDA Medical Software Benefits PDA Medical Benefits Five Simple Steps to Speed up Your Computer Most people download and save so much information on their computer that before long the computer starts slowing down and the user has no idea what the problem is. However, even if you are not a computer whiz there are several things you can easily do to speed up your computer quickly and easily. Why Get a Microsoft MCSE Certification? In the years of the dot com boom and bust, the Microsoft MCSE Certification has gotten its eye blackened over an over. Paper Microsoft MCSE's who were excellent at finding brain dumps and passing exams gave the Microsoft MCSE Certification a bad name. What used to be a guarantee of a nice salary is now ridiculed in some ignorant circles. After working in the Information Technology field for twelve years I still believe the Microsoft MCSE Certification is worth every dollar you spend and every hour spent in study and practice. I'll share my history with the Microsoft MCSE Certification and why I still believe it's a valuable certification credential. The Best MP3 Players Under $100 You don't have to fork out $250 for a super-diggy-whizbang mp3 player, do you? There are cheap mp3 players to be had, with a host of features perfectly suitable for everyday use. Here is a small sampling of some of the highest-rated cheap mp3 players. Looking at their features and failings can give you an idea of what can be attained for under $100. Why There Are Color Differences in Printing from Your PC This article describes the basic properties of color, what the relationships are between them and the differences between what you see and what you actually get using your inkjet cartridges. |
© Athifea Distribution LLC - 2013 |