How to install AFS

Andrew File System (AFS) is a distributed file system, With it you can access your network files anywere in the world, if you have a direct internet connection. (AFS does not work through a http proxy).


Obtaining OpenAFS

You can download the latest version from http://openafs.org/release/latest-unstable.html.

Or you can get the local copy here openafs-en_US-1-3-7400.msi [17.4MB]

Installation

Remember to manual uninstall and delete any outdated versions of AFS before upgrading.

Start the installation file you just downloaded, and choose custom installation.

Change the cell name to ies.auc.dk

Reboot.

Using the client

After you reboot you will see this little lock icon on you taskbar.

icon

Right click on it and chose Show Tokens.

Show Tokens

Chose Advance > Configure AFS Client.

AFS Client

Now go to Driver Letters and press Add.

AFS Client Configuration

Chose drive letter M:

AFS Path: \afs\ies.auc.dk\user\%username%

Description: afs-home

If you windows logon-name is not the same as you afs name (eg administrator), then you have to type in your afs-username instead of %username%.

Press OK and Add

Map Drive Letter

Chose drive letter N:

AFS Path: \afs\ies.auc.dk

Description: afs-root

Press OK

Press OK all the way out of the menus.

Map Drive Letter

You are now running AFS and can reach your AFS files in your favorite file manager.

Permissions

In AFS you only set permissions for dirs, not ever single file.

Your home dir have some build in dirs:

<root> The root of the home dir. Everybody can see the files, but no one else can read them.
It is necessary to have lookup rights on root dir of the dir you are using.

Your system files (dot-files) are placed here.
l system:anyuser
rlidwka system:administrators
rlidwka the-owner
Local Local is only accessible if you have logged in with a username in kom.

You can place files here if they shout be for internal use only.
rl system:authuser
rlidwka system:administrators
rlidwka the-owner

Private Privat is accessible by only you.

All files that only you can read and see shout be placed here.
rlidwka system:administrators
rlidwka the-owner

Public Public is accessible by EVERYONE on the Internet.

If you want to share something with the rest of the world though afs, place it here.
rl system:anyuser
rlidwka system:administrators
rlidwka the-owner

public_html public_html is accessible by EVERYONE on the Internet.
It is also accessible from http://kom.auc.dk/~you-username

Its is where your homepage is.
rl system:anyuser
rlidwka system:administrators
rlidwka the-owner

How to change permissions

Right click on target dir, select AFS and click on Access Control List.

Access Control List...

Now you can see the permissions of target dir.

Set AFS ACL

If you replace system:anyuser with webserver, no one else can see the contain of public_html though AFS, but it is still accessible though WWW.

This is useful if you have password on WWW or have hidden folders. (This became the default setting after this guide was written)

rl webserver
rlidwka system:administrators
rlidwka the-owner
W3C XHTML 1.1 W3C CSS