Personal Technology Information |
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.
MORE RESOURCES: Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 403, exiting |
RELATED ARTICLES
How I Started Working With 3D Modeling Programs So I'll start from the very beginning.One day I was surfing in the web and I found one site -- www. 404 Error Pages: What Are They And How Do You Create One? We've all seen them, you've been browsing a website and you click a link and nothing loads apart from the words '404 Error' along with the usual stuff.So what is a 404 Error page? The 404 Error page, basically informs the user that the server cannot find the file they are looking for. How to Set Up Simple File Sharing WinXP The first step is: Start > My DocumentsSo you have the My documents folder open.Second click the tools button, than select folder options. Lightning Season: How to Avoid Data Loss We have just entered the time of year that most electrical storms occur.Sudden loss of power, power surges, and electrical spikes are all very common causes of computer damage. Top 9 Ways To Speed Up Your Surfing & Computing It seems like fast never quite rates fast enough.No matter how quickly something moves, especially on theInternet, it could always move faster. Flash Memory, Part I: MMC and SD MMC and SDFlash memory is available in so many formats that it can be difficult to know what will work with any particular device. Devices such as MP3 players, PDAs, mobile phones, digital cameras, and personal computers can take advantage of flash memory to bolster their storage capacity, but selecting the right format may be easier said than done. EDTV: What You Should Know Before You Make That Purchase Enhanced Definition Television - also known as EDTV - is one of the many modern viewing technologies of our time. Often confused with HDTV capability, this is actually a compromise between standard TV and HDTV. Why Build Your Own Gaming Computer? The best way to get the gaming computer that you want, that will provide optimum performance is to build your own computer. If you think you do not have the technical knowledge or are not capable of building a computer you are wrong. More Cool Web Tricks If you ask most people what frustrates them most about the Internet, many of them will tell you "It's the little things!"It seems like all the great tricks and tips that make people exclaim "STOP! How did you do that?" never make it into any manual (at least where I can find them).My father (and co-author of "Turn Words Into Traffic") calls it the "reverse oral tradition" of computing, where children teach parents the survival skills of PC life. An All Too Familar Pain Lost & Found for the 21st CenturyIn today's hectic world more and more people are turning to those handy gadgets and mobile products that can be taken with them anywhere they go. The more things consumers own, the more they're prone to lose them. HTML Explained: Part 1 Want to save money while promoting your web-based business? Of course you do. Here's some advice on the matter, from a freelance copywriter who knows: it pays to learn the basics of HTML. How To Search Your PC With Google Desktop In this era of Internet, most people are frequent users of computers. Many of us use computers through out the day, accumulating morasses of information in various formats, which include email, digital photo, word document, spreadsheet, presentation file, ebook, article, other downloaded files, music, visited web pages, and many others. Maintain Your Computer - Keep Your Business Running Maintaining your computer is extremely important -especially if you are an Internet Marketer. As youknow, without your computer, your business cancome to a screeching halt. How To Increase Computer Speed And Performance - Great Tips & Tricks Many computer users are worried about their computer's performance. After spending lot of bucks, still they cannot have that charm of using PC as they had expected. SOBIG.F Virus Promises Ill Be Back On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG. What Exactly are Screensavers? - part I After reading this good article you will know some important information about screensavers and their history. You will find out how screensavers are different from other applications and what advantages you'll have if you use them. What's the Difference Between Plasma TVs and LCD TVs? Plasma and LCD TVs are the latest trend in home entertainment. Both offer unrivalled picture quality and resolution, while doing away with the bulkiness of the older rear-projection technologies. 5 Simple Ways To Increase Your Computer Speed & Help Your Computer Run More Efficiently! If you're a computer expert, you'll probably already know about these tips (hopefully this will provide you with a little reminder). If you're not an expert, don't worry - these tips are simple, and don't require a lot of computer experience. Cache In Your Chips And Get A Bus! Computer related terminology could sometimes be daunting to newcomers. These are relatively new words or hybrids of words, already in existence. Why Using an Ad Blocker Can be a Bad Idea Ad Blocking is getting to be a common sport on the internet. Now there are some legitimate uses for an ad blocker. |
home | site map | contact us |