Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/a26f9f83/public_html/articles/includes/config.php on line 159
Setting File Permissions On A Unix Server > NetSparsh - Viral Content you Love & Share

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
User 400

Group 40

World 4

Write
User 200

Group 20

World 2

Execute
User 100

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.

Setting file permissons

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at https://news.google.com/news

New York Times

Apple Watch Series 4 Review: Faster, Bigger, With a Promise to Be Healthier
New York Times
Sections. SEARCH. Skip to contentSkip to site index. Personal Tech · Subscribe · Log In · SubscribeLog In · Today's Paper. Advertisement. Supported by. tech fix. Apple Watch Series 4 Review: Faster, Bigger, With a Promise to Be Healthier. The faster ...
What the Surge in Apple Watch Popularity Says About Our CultureThe Mac Observer
Review: Apple Watch Series 4TechCrunch
A Week On The Wrist Apple Watch Series 4HODINKEE
USA TODAY -IMDb
all 350 news articles »

Chinese personal finance tech company X Financial prices IPO at $9.50 a share
MarketWatch
X Financial XYF, -20.20% priced its initial public offering at $9.50 per American Depositary Share on Wednesday, selling 11 million shares to raise $104.5 million, The Chinese tech-driven personal finance company is listing on the New York Stock Exchange.

and more »

New York Times

Windows on How Cities Change Can Be All Too Captivating - The ...
New York Times
Technology is crowding curbs with ride hailers and keeping homeowners fixated on housing values. Here are the tools that Emily Badger, a writer for The ...

and more »

WFXL FOX 31

Albany Tech faculty and staff participate in personal development training
WFXL FOX 31
The Professional Development Institute, done twice a year, is a chance for the Albany Tech leadership team to get together and learn new techniques. According to Dean of Academic Affairs Lisa Harrell, faculty and staff are learning new classroom ...


New York Times

The iPhone XS and XS Max Review: Bigger Is Now Definitely Better
New York Times
For the past few years, I have been a naysayer on one feature of smartphones: their growing size. My position was unusual given the increasing prevalence of larger screen devices. The world's top phone makers have all added more substantial glass ...
'An evolution, not a revolution': Apple's new iPhones score only slightly above the X in reviewsFinancial Post
iPhone XS and XS Max review: Apple's beautiful big-screen beasts exact a small ransomUSA TODAY
Apple iPhone XS and XS Max review: smoothed outThe Verge

all 1,236 news articles »

New York Times

When Cryptocurrencies Fluctuate, He Uses These Tech Tools to Keep Track
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? Nathaniel Popper, who covers cryptocurrencies and financial technology for The Times from San Francisco, discussed the tech he's using. There are many ...


Washington Post

Apple designer Jony Ive is 'zealous' over the tech giant's most personal device
Washington Post
“Apple's inception was about making tech useful and relevant, in a very personal way. And the watch is unambiguously the most personal product we make,” said Ive, who joined Apple more than 25 years ago and first made his mark with the candy-colored ...
$2000 iPhone — gulp. We break down the features and price points of Apple's new lineRegina Leader-Post

all 736 news articles »

NBCNews.com

Lawmaker says US Senate staff targeted by state-backed hackers
NBCNews.com
Foreign government hackers continue to target the personal accounts of U.S. senators and their aides — and the Senate's security office has refused to defend them, a lawmaker says. Sen. Ron Wyden, an Oregon Democrat, said in a Wednesday letter to ...

and more »

New York Times

Help a Fellow Mac User With Remote Tech Support
New York Times
Q. If Windows comes with tools to help someone take control and troubleshoot another PC over the internet, what does Apple provide for long-distance Mac-to-Mac support? A. Apple includes several ways to see and control the screen of another Mac over a ...
Prepare for changes to Back to My Mac - Apple SupportApple Support

all 24 news articles »

New York Times

Managing Manterruptions and Her Dog's Instagram
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? Jessica Bennett, gender editor for The Times, discussed the tech she's using. Before you joined The Times, you were a freelancer. What was your tech setup to ...

Google News

Cut Through the Hype and Make the Right Digital Camera Comparisons

There are soooo many choices. With all the styles and... Read More

Use Your Computer For Your Entertainment Needs

By using your computer today you can find a lot... Read More

Cisco Certification: Building Your Own Home Lab, Part I

CCNAs and CCNA candidates hear it all the time: â??Get... Read More

DVD The Ultimate Consumer Digital Media

Digital Video Disc or as it is sometimes referred to... Read More

How to Set Up Simple File Sharing WinXP

The first step is: Start > My DocumentsSo you have... Read More

Wordpress Plugins

Maybe you always wanted a feature that hasn't been available... Read More

How To Safeguard Your Computer?

The following practice, if done regularly, may help you to... Read More

15 Good Programming Habits

1. Before sitting down for coding, you must have formal... Read More

Consumer Electronic Information: The Basics of the DLP Projector

Projectors have come a long way in the past few... Read More

Got Virus?

GOT VIRUS? Your Data is NOT lost forever!In the wake... Read More

Protect Your PC from Viruses, Worms & Trojans

Each of the items in the checklist below is part... Read More

4 Computer Money-saving Tips

Tip #1 -- Rebates: A rebate is not always a... Read More

Your Affiliate Business - Peripherals, Software, Computers

I have always been interested in computers, but in the... Read More

Be Prepared in the Event Computer Disaster Strikes

ComputersBusinesses and individuals alike have all grown to rely on... Read More

Does Microsoft Show Hackers How To Attack?

After another security hole recently surfaced in Microsoft's Windows operating... Read More

5 Steps to Remove Spyware for Free

Have you ever tried to remove Spyware off your PC... Read More

A Lesson in HTML

As the owner of a Country Mall and Top Site... Read More

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,... Read More

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... Read More

How To Have Two (Multiple) Copies Of Windows

Having two operating systems is not as difficult as many... Read More

PDA Bible Free Download

Your Bible At Your FingertipsIt is fairly easy to find... Read More

Computer Performance Tips

Introduction In this article I will clearly spell out the... Read More

Five Simple Steps to Speed up Your Computer

Most people download and save so much information on their... Read More

The Many Benefits of Owning a DVR

Has This Ever Happened To You? OK.. it's Friday night,... Read More

Nephrology and Dialysis For a PDA

Saving Lives With A Pocket PCFree medical downloads can be... Read More