X-Git-Url: https://sipb.mit.edu/gitweb.cgi/wiki.git/blobdiff_plain/898315d92cf165b7f91e9e318f9fee8eec70f001..ece2c235ff25f8c576139f6fa25bf8038d26c6a5:/doc/AFSAndYou diff --git a/doc/AFSAndYou b/doc/AFSAndYou index eb19a6b..6291b20 100644 --- a/doc/AFSAndYou +++ b/doc/AFSAndYou @@ -14,7 +14,7 @@ For the most part using AFS, particularly at MIT, is well-hidden and can be used = Some MIT/AFS terminology = '''locker''':: - For practical purposes, a folder. Probably the what you'll care about most of the time. Technically any directory mountable under /mit, regardless of how its stored. Today, most lockers (possibly all) lockers are stored in AFS. + For practical purposes, a folder. Probably the what you'll care about most of the time. Technically any directory mountable under /mit, regardless of how its stored. Today, most lockers lockers are stored in AFS. '''tokens''':: Essentially proof to the AFS servers that you are who you say you are, thus allowing you to access files you are supposed to. Analogous to Kerberos tickets. @@ -43,7 +43,7 @@ Within this folder there are 4 special subdirectories you want to care about === From Athena === -On Athena you can access a locker either as its full AFS path, if you know it ( e.g. /afs/athena.mit.edu/course/6/6.01 ) or under {{{/mit}}} if it is "attached." Yet a third way is to use tilde expansion and simply {{{ cd ~ }}} (e.g. {{{cd ~6.01}}}) which will take you to the full path. Often, however, you want to attach lockers because it is easier to refer to them outside of the shell (in a script, for example) and software is set-up to run with a path under {{{/mit}}}. There are a few ways to attach a locker: +On Athena you can access a locker either as its full AFS path, if you know it ( e.g. /afs/athena.mit.edu/course/6/6.01 ) or under {{{/mit}}} if it is "attached." Yet a third way is to use tilde expansion and simply {{{ cd ~~ }}} (e.g. {{{cd ~~6.01}}}) which will take you to the full path. Often, however, you want to attach lockers because it is easier to refer to them outside of the shell (in a script, for example) and software is set-up to run with a path under {{{/mit}}}. There are a few ways to attach a locker: * If you are running on a [http://debathena.mit.edu Debathena] machine, such as [http://linerva.mit.edu linerva.mit.edu], then simply {{{cd /mit/}}} and it will be auto-attached. * If you are on another Athena machine and don't want to run software out of the locker, than simply type {{{attach }}} and then `cd` to it. @@ -52,7 +52,7 @@ On Athena you can access a locker either as its full AFS path, if you know it ( === From the Web === -Generally any locker that you would access on Athena as {{{/mit/}}} is accessible on the web as {{{{http://web.mit.edu/}}}. For example, the barnowl locker is at [http://web.mit.edu/barnowl]. As you can see, if there is no index.html (see below), the files in the directory are listed. By default, however, none of the contents are readable except in the `www` and `Public` folders. +Generally any locker that you would access on Athena as {{{/mit/}}} is accessible on the web as {{{http://web.mit.edu/}}}. For example, the barnowl locker is at [http://web.mit.edu/barnowl]. As you can see, if there is no index.html (see below), the files in the directory are listed. By default, however, none of the contents are readable except in the `www` and `Public` folders. Also, you may access something in one of the MIT AFS cells by taking its full AFS path after web.mit.edu ([http://web.mit.edu/afs/athena.mit.edu/activity/c/chess-club]). (That link also shows that if you have a text file named README readable, as a link to Public/README for example, its contents will be displayed below the directory listing).