Skip to main content

You may be using a Web browser that does not support standards for accessibility and user interaction. Find out why you should upgrade your browser for a better experience of this and other standards-based sites...

Dartmouth Home  Search  Index

Dartmouth Home | Search | Index

Dartmouth home page
Computing at Dartmouth
Computing > Support >  Library >  Research > UNIX > Files > AFS >

Differences Between AFS and UNIX File Systems

The majority of users will only notice small differences between AFS home directories and standard UNIX home directories, but there are differences some users will encounter on a daily basis. The table below highlights the major differences users are likely to notice when using AFS.

 

AFS

Standard UNIX

Home Directory Permissions

The top level of an AFS home directory is world viewable. Any user on any Dartmouth system with an AFS client can see the names (but not the contents) of files in an AFS home directory. AFS requires that this top-level directory be readable by some computer processes that do not run as authenticated AFS users.

UNIX home directories, while traditionally readable by the world, can be protected.

Directory Path Names

AFS directory paths start with /afs/northstar. In general, most users find that directory path names are longer in an AFS filesystem than in a UNIX filesystem. Path names not starting with /afs refer to files on a local disk.

UNIX directory path names start with "/" and will not be as long as AFS directory path names.

Directory Access Lifetime

A user's ability to access an AFS directory ends after a set period of time. A valid AFS token is required to access AFS directories, and tokens expire. Token expiration creates situations where a user can be logged into a machine, but is unable to access any of their files. The remedy is to use klog to get a new token. A token's lifetime is normally 25 hours, but can be extended to 30 days for users who need to run long jobs.

There is no time limit on a users ability to access a directory or file.

File Sharing (File Access Control)

File sharing is handled by controlling access to a directory using access control lists. All files in a particular directory share the same directory permissions. Access control lists allow users more control than standard UNIX permissions and allow files to be shared with individual users. In a directory, the file owners permission bits are used to control access to the file for all users who have access to the directory.

File sharing is handled by controlling access to each file. Files can only be shared with members of a single "group" or with all users (world) on a computer.

Default Permissions for New Files and Directories

A new AFS directory inherits its AFS permissions from its parent directory. The user's "umask" (file mode creation mask) is still used for file creation, however, only the "users" UNIX permissions bits apply to AFS files. The "group" and "world" umask bits are not relevant for AFS files.

New UNIX files and directories are created using the current "umask."

05/08/08

Last Updated: 5/9/08