e-mail   
 Menu
  Home
  Download
  Top 10 Downloads
  Last 15 New Files
  Web Links
  Tips
  Last 15 New Tips
  NLM Programming
  Admins Club





Installation and Administration






Polish Forum SUSE




Novell Connection Magazine


 
Who's Online

 There are currently,
5 guest(s)
that is (are) online.
 


Technical Information

Back to List of Categories

Technical Information about
  A Little YaST Magic
  A Slideshow for Your KDE Wallpaper
  Add Novell Support to Your Firefox Search Engine
  Adding To The Panels In Gnome.
  Akregator - RSS News Reader
  An Introduction to WBEM and OpenWBEM in SUSE LINUX
  Authenticating SUSE LINUX to eDirectory via LDAP
  Basic Mounting Differences between Windows and Linux
  Beginner's Guide to Using Novell SUSE LINUX's Build Utility
  Browsing Files
  Card Readers on SUSE LINUX 9.2 Professional?
  Changing the Default Browser in Gnome
  Developing Perl CGI scripts on SUSE LINUX
  Do I Have Permission?
  Double SYNC -- Using RSYNC Simultaneously With and Without Branch Office for Data Backup
  Dumb Question: Mounting Linux CDs
  Easy Command-Line Introduction
  Easy Way to Debug SSL Connections
  Enabling an Interactive Startup in Novell/SUSE LINUX
  Exploring MySQL 4.1 and PHP 5 on SUSE LINUX
  Extend Your Panels Using Gnome Drawers.
  Firefox Speed Tip
  Fix Java Errors With ConsoleOne On Linux
  Fix Your Mouse Wheel...
  Gimp -- Closing In on Photoshop...
  Gimp Tips Part 1: Resizing Images
  Gimp Tips Part 2: Rounding Corners
  Gimp Tips Part 3: Fading Photography Edges
  Gimp Tips Part 4: Selective Colorization
  Gimp Tips Part 5: Plugins a Plenty - Adding Light
  Gimp Tips Part 6: Using The Clone Tool
  Google Auto-fill Replica for Linux
  How a Corrupted USB Drive Was Saved by GNU/Linux
  How to Implement Login Scripts into a Pure Linux Environment
  How to install and connect an External Modem on a Linux PC
  How to Install the Novell Client for Linux on SUSE Linux 10.0
  How to launch applications at login in Gnome
  How to Remote Control Linux
  How to setup a Linux application to automatically startup when you login.
  How to share Files and Printers Between Linux and MS Windows with Samba
  How to uninstall the Novell Client for Linux
  How to upgrade the Novell Client for Linux
  How to use SMB without turning off the firewall
  How's the Weather?
  HTML Development Tools in Linux
  Informative Bash Prompt
  Install and Use QEMU on SUSE 9.2
  Install Linux Frequently, Without the Hassle
  Installing Apache, PHP, and MySQL on SUSE LINUX Professional
  Installing RPM Files
  Integrating Novell Linux Desktop into a Novell NetWare network
  Introduction to Oracle 10g R1 (10.1.0.3) on SUSE LINUX Professional 9.3
  iPrint Printers on Novell Linux Desktop
  Linux Scheduling Priorities Explained
  Make a Misbehaving Program Quit
  Manually Mounting a USB Flash Drive in Linux
  Migrating To Linux, Advantages Over Windows 9.x And XP
  Minimize Your Maximizing with Multiple Desktops
  Mounting NetWare Volumes On NLD Illustrated
  Move Your /home to Another Computer
  Mozilla Mail Review
  Need a Backup?
  Novell Client Settings with Windows Terminal Server
  Novell Linux Desktop Equivalents of Windows Software - New and Improved
  Novell Linux Desktop System Upgrade How-To
  Partitioning Hard Drive for Linux Install
  Perform Remote SuSE Installations With Virtual Network Computing
  Quick Intro to Klipper
  Quick Shortcuts in The Gimp
  Reset Your Lost Root Password
  Resizing Your Gnome / KDE Panels
  Runlevels in SUSE LINUX
  Running Existing Win32 Applications on SUSE LINUX
  Service Command in /etc/init.d/
  Setting Shortcut Keys
  Setting up a Linux NFS Install Source for Your LAN
  Should I choose Novell Linux Desktop or SUSE LINUX Professional as my desktop?
  Starting Services From the Command Line On SuSE LINUX
  Sticky Notes for Gnome
  SUSE LINUX 9.3 Professional Review
  Sync Up The Taskbar and the Desktop in Gnome
  System Upgrade How-To
  Taking Screenshots in Linux
  The Basics of Messaging in the Cross-Platform GroupWise Client
  The Novell Client for Linux (beta).
  Transparent Panels in Gnome
  Trick Out Your KDE Desktop
  Understanding the YAST Software Module Options
  Updating Your Software with Red Carpet
  Using dsbk on Linux and Unix
  Using iFolder to Synchronize Firefox Bookmarks
  Using Multiple Swap Partitions In 2.4
  Using openSSH to Securely Access Remote Systems
  What FTP client should I use on Linux?
  What Is Logical Volume Management?
  What is so great about Firefox?
  Which Graphic Formats For What?
  Windows Shortcuts for Firefox Tabs on Linux
  Windows to Linux: A Beginner's Guide
  Windows Users Can Feel at Home Exploring Files in Linux
  WLAN interface as the Default
  Work With User Selection Icons In KDM
  YAST Online Update De-Mystified

Technical Information
 Do I Have Permission?

Printer-friendly version

Posted: 23 Feb 2005

Part of what makes Linux so much more secure than proprietary operating systems is its filesystem permissions. However, this is sometimes a difficult concept for some people who are newer to Linux. The aim of this guide is to make this concept easy for these types of users.

The illustrations in this guide were created in Gnome, the default window manager installed with Novell Linux Desktop. That in mind, the concepts discussed here are also true in KDE and many other window managers.

First, open your HOME directory:

The File Browser opens, showing the contents of your home directory:

Over at the right of the window, there's a drop-down box that says VIEW AS ICONS in it. Click on this, and select VIEW AS LIST. The layout changes:

Now, go up to the VIEW menu, and select VISIBLE COLUMNS. In the window that appears, put a check in the PERMISSIONS box. When done, click CLOSE:

Your window should now look like this, with the new PERMISSIONS column at the far right:

You will notice that in this column there are rows of letters. These letters describe the access permissions of the corresponding files and directories in the list. The 'd' just means that the item is a directory. Generally, the other letters will be an 'r', a 'w', or an 'x':

These letters determine whether or not access has been granted to a user or group of users. There are three types of permissions and three types of users. Let's take a closer look at these permissions and users.

First, create a test file that to use for practice. In the File Browser window, right-click below the bottom file. Select CREATE DOCUMENT, and then EMPTY FILE:

A new file appears. Right-click on this file and select PROPERTIES:

In the PROPERTIES window that appears, click on the PERMISSIONS tab:

In the top section, it lists the owner of the file, and the group to which the file belongs.

In the second section, it outlines the permissions. The OWNER line shows which permissions the owner of the file has. This file also belongs to a group. The GROUP line shows what things the users in this group can do to the file. The OTHERS line shows what everyone else can do to the file.

All of these types of users (owner, group, others) have different levels of access to the file. There are three types of these access permissions: READ, WRITE, and EXECUTE. The letters 'r', 'w', and 'x' are representative of these types of access.

The READ permission either grants or denies the ability to view the contents of a file. If this were a text file, it would basically mean whether or not we could open the file and view what's inside of it.

The WRITE permission has to do with saving the file. Let's say this was a text file. If I have the READ permission, I can open it. So I do, and I notice that something in it is misspelled. So, I fix the spelling. Naturally, I would want to save the change back out to the file. If I have the WRITE permission, I can save the change. If I do not have the WRITE permission, I cannot.

Lastly, the EXECUTE permission tells whether or not we can execute or run the file. If it is a script or a program, we might want to control who can run it.

So, we can see that there are three types of users that may want to have access to the file: the owner, the group to which the file belongs, and everyone else.

These permissions are also represented in condensed form at the bottom of this window.

The TEXT VIEW has ten spaces. The first is for a 'd' if it is a directory. This is a file, so the 'd' is not present.

The remaining nine spaces correspond to the nine checkboxes above. The first group of three spaces describe the OWNER's permissions. The next group of three show the GROUP permissions. The last three show the permissions of OTHERS, or everyone else. These spaces may have the letters 'r', 'w', and 'x' in them. The letters represent READ, WRITE, and EXECUTE, as we discussed above.

An even more condensed way of viewing these permissions is represented in the NUMBER VIEW. The first number represents the OWNER's permissions, the second represents the GROUP permissions, and the third represents everyone else's permissions.

In the number view, the permissions are added together to display the number that is shown. The 'r' permission has a value of four. The 'w' permission has a value of two. The 'x' permission has a value of one.

Check and uncheck the nine checkboxes above. The TEXT VIEW and NUMBER VIEW values will change to match the permissions you set for the file.

This system may seem a little complex. However, the complexity is necessary. After all, you wouldn't want to give everyone all access to all files and directories. The system would become compromised very quickly. As the owner of a file or directory, however, you would want to have full access to change it as you need to. Though you may not want to give the entire world permission to view the file, you may want to give it to a select group of users. Once the filesystem permissions are understood, it is actually quite easy to set up proper access for the different sets of users. Hopefully, this tutorial has been simple enough to introduce how and why these types of access are needed.






Portal posiada akceptację firmy Novell Polska
Wszystkie materiały dotyczące produktów firmy Novell umieszczono za zgodą Novell Polska
Portal has been accepted by the Novell Polska
All materials concerning products of Novell firm are placed with Novell Polska consent.
NetWare is a registered trademark of Novell Inc. in the United States and other countries.
Windows is a trademark or a registered trademark of Microsoft Corporation in the United States and other countries.
Sybase is a registered trademark of Sybase Inc. in the United States of America.
Other company and product names are trademarks or registered trademarks of their respective owners.