logo © 1996 Phil Waclawski
Felitaur Site
Offerings
About Me
Crafts
Services
ftp files
Help Files
What's New?
Home Page
Other Links
Anatomy &
Physiology
Arthropods
Biology
Computers
Ferrets
Fun Links
Internet
Linux
S.C.A.
Win 95/NT
Comments or
Suggestions
webmaster@ felitaur.com
   
File/Directory Permissions
Lecture Overview Index | Linux SysAdmin Homepage
Overview
Goals:
  • Understand Linux/UNIX File/Directory Permission Structure
  • Know the difference between file and directory permissions
  • Understand how groups are used to control access to file system resources
The following programs/files/directories will be discussed for this topic:
  • chmod (suid, sgid, sticky)
  • chgrp
  • chown
  • ls -l
  • umask
  • /etc/group
Questions
  • What are the differences between files and directories for r,w,x?
  • What permissions are set on your home directory? On your www directory? How do those directories behave differently?
  • Go to another students home directory, try and do an "ls" command. Go into their www directory and try it again. How are they different?
  • Who owns the /home/stu directory? What group controls it?
  • What are the two methods of changing permissions on a file/directory?
  • What is the umask for our server? What does that do to the default file permissions and directory permissions?
  • If I copy a file someone else owns, that is read only, who owns the copy, and what permissions are on it?
  • What are the limitations of the Linux/UNIX file system permissions?
  • How do you change both owner and group with chown?
  • Why are both chgrp and chown pretty useless to us on lampbusters.com?
Activities & Assignments
Resources