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:

How to declutter and organise your personal tech in a few simple steps  The Indian ExpressTech accessories and digital data may not take up much physical space, but they contribute to frustration and anxiety. Here's how to keep our e-junk at bay, ...
Tangled wires, digital photos: Here's how to declutter your personal tech  Economic TimesEveryone has a drawer full of ancient cellphones, tangled-up wires and earphones that are never touched.
How to Declutter and Organize Your Personal Tech in a Few Simple Steps  The New York TimesAccessories and data may not take up much physical space, but they contribute to frustration and anxiety. Here are ways to keep e-junk at bay, Marie ...
My home tech setup for 2019  Business InsiderTechnology can vastly improve the quality of your home and life. I've listed the computers, gadgets, and accessories I'm using on a personal basis in 2019 ...
He Reported on Facebook. Now He Approaches It With Caution.  The New York TimesNick Confessore, an investigative reporter who has written about social media and data privacy, has changed his tech habits after what he has learned.
5G will drastically change our work, home lives  The Oakland Press5G: It's one number and one letter that will have a major impact on our lives soon.
CA Governor Wants Tech Companies to Pay People for Personal Data  FuturismCalifornia governor Gavin Newsom wants tech companies to pay the people off of who's data they profit. But so far, his proposal is just a concept.
How to Save on Your Next Apple Purchase  The New York TimesGadgets like Apple's iPhone have become so powerful and durable that you can wait many years before buying a new one. The bad news is that your next ...
Spotify takes a big jump into the podcasting game  The Oakland PressNEW YORK (AP) — Spotify is making a bigger bet on podcasts as it looks to bring a Netflix-like model of original programs to the audio world.
Should Big Tech Own Our Personal Data?  WIREDOpinion: Personal data is increasingly a core part of our personhood. Which is why the “*service* for data” model is a devil's bargain.
In a Stumble for Apple, a FaceTime Bug Lets iPhone Users Eavesdrop  The New York TimesA glitch in the video and audio calling app can transform the smartphone into a device perhaps better suited for espionage.
Are Your Children Racking Up Charges From Mobile Games? Here’s How to Fight Back  The New York TimesParents are often surprised by unauthorized credit card charges. The culprit: Bait apps, which lure children into buying virtual junk online. Preventing these ...
Employees want workplace technology to perform similarly to their personal tech  FMJOver half (52 per cent) of UK employees believe their personal technology feels more modern and is more user friendly than their workplace technology and a ...
Fact Check: Facebook's murky data-sharing practices | Personal Tech  The Oakland PressNEW YORK>> Mark Zuckerberg's latest attempt to explain Facebook's data-sharing practices is notable for its omissions as well as what it plays up and plays ...
Of millions disillusioned with social media helped create it  The Oakland PressOn the evening of Sept. 26, Bailey Richardson logged in to Instagram for the last time.
Facebook may face multi-billion dollar fine for Cambridge Analytica scandal  Ars TechnicaFacebook could face major privacy lawsuit from FTC if it doesn't agree to fine.
Personal Bests Leads Tech on Day 2 – Swimming & Diving — Georgia Tech Yellow Jackets  Georgia Tech Official Athletic SiteYellow Jackets record seven career-best times at the Auburn Invite.
Apple busts Facebook for distributing data-sucking app  The Oakland PressNEW YORK (AP) — Apple says Facebook can no longer distribute an app that paid users, including teenagers, to extensively track their phone and web use.
Video surveillance key to employee safety | Personal Tech  The Oakland PressViolence in the workplace, unfortunately, is an issue that is not going away, with reports of incidents at businesses and even schools around the country ...
An Arsenal of Skype, Voice Recorders and FOIAs  The New York TimesEmily Bazelon, an investigative reporter at The New York Times Magazine, craves easy-to-use tools, whether for interviews, Freedom of Information Act records ...
How Tech Companies Manipulate Our Personal Data  The New York TimesShoshana Zuboff's “The Age of Surveillance Capitalism” looks at the new power of behemoths like Facebook and Google.
Generation Stressed: What too much screen time does to you  9News.com KUSAStop overusing technology - seriously. It's not good for you. Try doing the 'one screen at a time' rule - as well as not constantly having your phone on you.
RIP Dr Peuto, Zilog and Sun's bright SPARC  The RegisterObit Dr Bernard L Peuto, the architect of the Zilog Z8000 processor has died. The Z8000 was the big brother of the 8-bit Z80, used in the first wave of low cost ...
Ouch, Apple! Plenty of iPhones stuck in tech channel. How many? That's a 'wild card'  The RegisterNever mind the car crash financials that Apple is expected to file tonight, an estimated glut of iPhones taking up warehouse space in the tech channel could point ...
Fact check: Does Facebook sell your personal data?  AZCentralMark Zuckerberg repeatedly claims Facebook does not sell data. The statement has become a shield in a tumultuous era for the company. But is it true?
Apple fixes FaceTime privacy bug, will issue update next week  Financial PostApple Inc has fixed a bug that let iPhone users see and hear others before they accept FaceTime calls and will roll out a software update next week to re-enable ...
Meet the tech entrepreneurs tackling sexual harassment  BBC NewsWhen Neta Meidav was sexually harassed at work aged 22, she felt it was easier to quit her job than report it to human resources. But more than a decade later, ...
Esports players say 'dream job' is more than fun and games  The Oakland PressLucas Tao Kilmer Larsen, 21, remembers fantasizing about how awesome his life would be if he could become a professional video game player.
What Is 5G? Here’s What You Need to Know About the New Network  The New York TimesThe transition to new fifth-generation cellular networks, known as 5G, will affect how you use smartphones and many other devices. Let's talk about the ...
Better Buy: Microsoft vs. Alphabet  The Motley FoolWhich of these tech giants is the best investment today?
‘The Effects Cannot Be Overstated’: When Tech Invaded Media  The New York TimesJim Rutenberg reflects on the convergence of technology with media, and how that has changed his consumption habits and coverage. (Warning: iPhone ...
Personal information of 14.8 million 500px users leaked in security breach  The VergePhoto-sharing website 500px says that the personal information of 14.8 million of its users was impacted by a security breach that occurred in July 2018. The site ...
The Tech That Was Fixed in 2018 and the Tech That Still Needs Fixing  The New York TimesFrom Facebook to creepy online ads, the worst tech of the year made the internet feel like an unsafe place to hang out. Yet there were some products that were ...
You Don’t Have to Be a Journalist to Want to Keep Chats Private  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Kate Conger, a technology reporter for The Times in San Francisco, ...
Devices That Will Invade Your Life in 2019 (and What’s Overhyped)  The New York TimesA.I. that responds to your voice. Next-generation wireless networks. If this year's biggest consumer technology trends have a familiar ring, there's a reason for ...
Where's my robot lawn mower? Roomba-maker now has an answer  The Oakland PressThis Wednesday, Jan. 16, 2019 photo shows the underside of an iRobot Terra lawn mower in Bedford, Mass. Building a robot lawn mower seemed the logical ...
Digital Privacy Is a Big Concern in Europe. For This Reporter, Too.  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Matt Apuzzo, an investigative correspondent in Brussels, discussed ...
Setting Up Your Tech on the Assumption You’ll Be Hacked  The New York TimesSheera Frenkel, who writes about cybersecurity for The Times, explains how she safeguards her devices, and why passwords remain a weak link for more ...
The Most Important Kitchen Tools This Holiday (or Any Season, Really)  The New York TimesTech has brought innovation, convenience and smarts to the kitchen. Here's what Melissa Clark uses and the tools she finds indispensable.
Google's cash problem: There's just so much of it  The RegisterAnalysis So much for the "Big Tech backlash". The "surveillance" model of data slurping used by behavioural ad giants Google and Facebook has never been ...
Quirky but Useful Gifts: Rob Enderle's 2018 Personal Tech Product Guide  TechNewsWorldThis is the time of year for a product guide, and this year I thought I'd list my favorite unusual products as gift ideas. I'm a big fan of products most people don't ...
The Future of Blockchain: Experts Predict the Next Big Use of Blockchain Technology  TechopediaBlockchain technology represents an exciting path forward for technology. Here's what some tech experts think the next big use of the blockchain will be.
Social Media’s Re-engineering Effect, From Myanmar to Germany  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Max Fisher, a reporter based in London who co-writes The ...
The Essentials for Covering Silicon Valley: Burner Phones and Doorbells  The New York TimesReporting on secretive technology companies sometimes means finding people who don't want to be found. Jack Nicas, who covers Apple, relies on some ...
Staying Plugged In (for Hundreds of Miles) on the Campaign Trail  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Sydney Ember, a politics reporter for The Times, discussed the tech ...
The Sun Sets. The Wind Dies. But Energy Data Is Relentless.  The New York TimesAlternative power sources have upended the electric grid. Ivan Penn, who covers the beat, discusses the changes and how he keeps track of them.
Apple iPhone XR Review: A Cheaper Phone Suited to Most of Us  The New York TimesIn an era of skyrocketing smartphone prices, it's a relief that Apple's $750 iPhone is just as powerful and nearly as capable as its $1000 counterparts, our ...
When a Tech Reporter Doesn’t Use Much Tech  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? David Streitfeld, a technology reporter in San Francisco, discussed ...
Just Embed a Phone Into This Editor’s Mind, Already  The New York TimesChoire Sicha, who runs The New York Times's Styles desk, has such a close relationship with his smartphone, he says, it may be time to “punch the circuitry into ...
It’s Her Job to Get More People to Act Like You Right Now  The New York TimesMillie Tran, the first global growth editor at The Times, discusses how she tries to understand and nurture a worldwide audience. “So many dashboards and data ...
The Benefits (and Limits) of Using Tech to Plan a Wedding  The New York TimesOur newly engaged tech columnist tried to use tech to plan his wedding. He was immediately overwhelmed by the complexity of the process.
How to Delete Facebook and Instagram From Your Life Forever  The New York TimesLost faith in Facebook and Instagram after data leakages, breaches and too much noise? Here's a guide to breaking up with the social network and its ...
High school tech training improves wages, computer literacy  The Oakland PressLANSING >> High school students who train for the tech industry gain improved computer literacy and higher wages, state officials say.
We Were Promised Mind-Blowing Personal Tech. What’s the Hold-Up?  The Wall Street JournalThe next big leap will free us from the computers in our pockets. But according to Joanna Stern, it won't be here anytime soon.
Apple Watch Series 4 Review: A Big Step for Wearable Gadgets  The New York TimesThe faster speeds and larger screen sound boring on paper. But an electrical heart sensor gives a glimpse of the promise to come, our reviewer writes.
Spotting Disinformation Online Before the Midterm Elections  The New York TimesRumors. Inflammatory and divisive messages. Doctored photos. Kevin Roose, technology columnist, explains how he has waded into that shadowy world to ...
Return of the audio format wars and other money-making scams  The RegisterSomething for the Weekend, Sir? The Ripper has returned. I never imagined such a thing would be possible after all these years. Who's the culprit? Who's the ...
Ready for Vacation? Here’s the Best Tech for Trip Planning  The New York TimesOur personal tech columnist uses a combination of custom maps, spreadsheets and itinerary management apps to promote maximum enjoyment.
Make Your Friends and Family Less Irksome This Holiday Season  The New York TimesGetting a big group together this time of year can be a hassle. So spare everyone the endless phone notifications and email threads and try these methods ...
John Deere, Tide maker head to CES gadget show  The Oakland PressLAS VEGAS (AP) — The companies founded by blacksmith John Deere and candle-and-soap-making duo Procter & Gamble may not be the hip purveyors of ...
To Cover China, There’s No Substitute for WeChat  The New York TimesLi Yuan conducts much of her work on the WeChat mobile app, including spotting trends — and prodding sources to get back to her.
When You Track Oreos, Exercise and Everything Else  The New York TimesTim Herrera, editor of The New York Times's Smarter Living section, does not believe the answer to happiness is less technology. Here's why.
I Used Apple’s New Controls to Limit a Teenager’s iPhone Time (and It Worked!)  The New York TimesApple's new parental controls cut a teenager's iPhone use in half. It wasn't as effective on our personal tech columnist.
When Cryptocurrencies Fluctuate, He Uses These Tech Tools to Keep Track  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Nathaniel Popper, who covers cryptocurrencies and financial ...
Are Targeted Ads Stalking You? Here’s How to Make Them Stop  The New York TimesEver been haunted by an online ad for an item you researched or bought? Targeted ads were designed to follow you around everywhere. Here's how to banish ...
How the 52 Places Traveler Stays Charged While Chronicling the World  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Jada Yuan, who is crisscrossing the globe as The Times's 52 Places ...
I Tried to Make My Dog an Instagram Celebrity. I Failed.  The New York TimesBecoming an influencer is hard, as our columnist found out when he tried creative photography, consultations and even bots to propel his food-obsessed corgi to ...
The One Thing A.O. Scott Doesn’t Use to Review Movies (No Spoilers!)  The New York TimesTechnology has changed the way that movies are made, but not how our chief film critic likes to review them — and he has a low-tech writing method.
Getting a Flood of G.D.P.R.-Related Privacy Policy Updates? Read Them  The New York TimesYou have probably noticed a flood of emails and alerts from companies in the last few weeks informing you about changes to their privacy policies. Don't ignore ...
So, About That Treadmill Desk in the Newsroom  The New York TimesFor Nellie Bowles, who writes about tech culture for The Times, the most crucial tech tool for doing work isn't portable. But it keeps her on her toes.
An Eye for Photography, but a Google Suite for Events  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Whitney Richardson, an events manager for The Times in London, ...
What’s Hot (and What’s Not) This Black Friday  The New York TimesTo help shoppers get started, here's a cheat sheet of the products to track, and the ones to ignore.
Now He Pulls Data Off the Web. In 1979, It Was Clips From the ‘Morgue.’  The New York TimesSteve Lohr, a veteran New York Times reporter, reflects on how tech-free newsrooms used to be and how the progression to the internet has changed ...
For Android Users, Europe’s Google Ruling Leaves Unanswered Questions  The New York TimesYou may have heard that the European Union punished Google with a record $5.1 billion fine on Wednesday for abusing its power in the mobile phone market.
The iPhone XS and XS Max Review: Big Screens That Are a Delight to Use  The New York TimesApple's new smartphones start at $999 and $1,099, but their superb cameras and screens make them worth the high prices, our reviewer writes. Image.
How the Digital Era Has Changed the Daily Crossword  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Sam Ezersky, the assistant editor of puzzles for The Times, ...
Your Wi-Fi Security Is Probably Weak. Here’s How to Fix That.  The New York TimesChances are that when you bought a Wi-Fi router, you probably did not prioritize strong network security. After all, when we think about wireless connectivity in ...
Brit comms regulator Ofcom: Disabled left behind by tech  The RegisterDisabled people are being left behind by the technology industry - both in terms of services and an understanding of what technology can do, a new Ofcom study ...
New iPhones Are Coming. Here’s How to Save on an Upgrade.  The New York TimesWith Apple expected to introduce pricier and bigger-screen iPhones this week, here are a few tips on how to upgrade your device without breaking the bank.
The Apple Mac is 35 years old. Behold the beige box of the future  The RegisterIt is 35 years since computer buyers were first able to take a glimpse into a fruity future without having to remortgage for an Apple Lisa. Happy birthday, Mac.
Windows on How Cities Change Can Be All Too Captivating  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Emily Badger, who writes about cities and urban policy for The ...
How to plan your smart home — and weigh privacy risks  The Oakland PressNEW YORK (AP) — You might have heard of lights that turn off with an app or voice command. Or window shades that magically rise every morning.
Blood Pressure, Baby’s Pulse, Sperm Potency: Home Health Devices Are Tracking More Than Ever  The Wall Street JournalCompanies are planning to get personal—very personal—at the 2019 CES technology show this week in Las Vegas. The annual event for showcasing the latest ...
Hurricanes. Shootings. Fires. Time for an Editor’s Emergency Kit.  The New York TimesHow do New York Times journalists use technology in their jobs and in their personal lives? Julie Bloom, a deputy editor for national coverage for The Times, ...
Samsung’s Galaxy Note9: Too Much Phone for Most of Us  The New York TimesThe new $1000 device is aimed at power users who work, play, consume and create on their phone. For others, there are plenty of cheaper options.
What Improved Tech Means for Electric, Self-Driving and Flying Cars  The New York TimesJack Ewing, who covers autos and economics for The Times, says a “Jetsons”-like future is still far off, even as cars become even more computerized.
Why ‘Fred’ Is the Best Friend of Economics Writers  The New York TimesNeil Irwin, who covers economics for The Upshot, often turns to “Fred,” a site full of economic data that is maintained by the Federal Reserve Bank of St. Louis.
How to Sort Through a Cornucopia of Television Shows  The New York TimesOur assistant TV editor has a state-of-the-art setup for watching shows and movies. But here's what happens when there can be too much *content* to choose.
How to Pack and Prepare Your Smartphone for Traveling This Summer  The New York TimesYour smartphone is a helpful travel companion. Before taking it abroad, here's a list of things to pack and do to ensure a problem-free trip.
Google’s File on Me Was Huge. Here’s Why It Wasn’t as Creepy as My Facebook Data.  The New York TimesGoogle collects far more information about us than Facebook. But the Google data that our tech columnist downloaded on himself contained fewer surprises and ...
You Took Lousy iPhone Photos. Here’s How to Make Them Beautiful.  The New York TimesNot every shot on your smartphone will be Instagram worthy, but you can often salvage middling snaps with just a few taps. Here are six easy steps.
How to Rescue, Repair and Revive Old Family Photos  The New York TimesIf the march of time is eroding your personal picture archive, give your beloved images new life.
Unknown Tech Brands Aren’t Like Groceries. Don’t Just Grab Them.  The New York TimesIt's time to stop using technology and the internet as though you were shopping at a supermarket.
I Downloaded the Information That Facebook Has on Me. Yikes.  The New York TimesWhen I downloaded a copy of my Facebook data last week, I didn't expect to see much. My profile is sparse, I rarely post anything on the site, and I seldom click ...
Can a holographic screen help a new phone break out?  The Oakland PressMost leading phones offer the same basics: Big screens, decent battery life and good cameras. So when a newcomer brings something innovative to the party, ...
33 Mostly Free Ways to Fix Your Family’s Tech Problems  The Wall Street JournalSo you're tech-savvy: That means you are probably the Family IT Person, especially at this time of year. Here's a guide to what you can do to help—and tips for ...
Wireless Charging Is Here. So What Is It Good For?  The New York TimesThe technology, also known as magnetic induction, is a relatively new feature for powering iPhones and popular Android phones. Most people don't use it, but ...
We Tried Facebook’s New Portal Device (So You Don’t Have To)  The New York TimesHere's what happened when two Times tech reporters installed Facebook's new Portal video-calling gadgets in their bedrooms.
Help a Fellow Mac User With Remote Tech Support  The New York TimesJust like Windows users, Mac owners have ways to share and control another computer over the internet to give a quick assist online.
An Investigative Arsenal: Power Chargers, Document Analysis Tools and More  The New York TimesWhat's it like to comb through 18000 pages? Eric Lipton, an investigative reporter for The Times, described the tech he uses to help accomplish that task.

Gain Control Over Your Screensavers With These Simple Steps

We all enjoy our favorite screensavers but in the same... Read More

Is DVD Storage An Attractive Alternative For Your Computer Backup?

If you have a computer for home use or for... Read More

Why There Are Color Differences in Printing from Your PC

This article describes the basic properties of color, what the... Read More

The Importance Of Email Backup

Viruses, software failures, power failures, human errors, hard drive failures... Read More

The Ipod Mini: Why Its Not that Hot

I got my eyes set on a iPod mini, as... Read More

How To Remove One Operating System from a Dual Boot Windows XP Computer

In Windows Xp, you can install two operating systems on... Read More

The Newbies Guide to Personal Computer Maintenance

When you turn on your computer, does it act like... Read More

The Help Desk

When you think of a help desk, what do you... Read More

How Does My PC Get Hot

There are many sources of heat that can raise the... Read More

Your Home is in Your Hands

I would like to tell you about a magic home.... Read More

Wordpress Plugins

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

Protect Your PC from Viruses, Worms & Trojans

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

SmartCar Memory Stick for LapTop Transfer Data

With the new technology used to transfer information to from... Read More

Apache, MySQL & PHP for Windows

Apache, MysQL and PHP for Windows could be a nice... Read More

Computer Consulting 101 PC Troubleshooting Advice

While most small businesses really do need to find a... Read More

Desktop Security Software Risks - Part 2

This is the third in a series of articles highlighting... Read More

What Has A Portable MP3 Player Have To Do With Your Business

Plenty! When we made the decision to be our own... Read More

Consumer Electronic Information: The Basics of the DLP Projector

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

Make Windows XP Run Faster!

A friend told me: "My computer startup seems to be... Read More

Help, I Need a New HDTV! (Part 2 of 5)

Feeling overwhelmed in selecting a new TV? With all the... Read More

A Beginners Guide to Avoiding Viruses

"Aaaaaahhhhhh! I've been invaded by a virus!" Getting a virus... Read More

Build Your Own Computer

I'm eighty-one years old and I bought my first computer... Read More

Microsoft Great Plains Dexterity Customizations

Microsoft Business Solutions is on the way to popularize it's... Read More

How to Switch to Firefox and Why You should

First things first, what is Firefox? Well, it's a browser.... Read More

Choosing a Portable MP3 Player: Part 1

MP3 players are everywhere! It seems that the number of... Read More