Changes between Version 30 and Version 31 of Tutorial/DataMgt


Ignore:
Timestamp:
Sep 26, 2010, 4:13:56 PM (14 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Charles Loomis/emailAddress=loomis@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/DataMgt

    v30 v31  
    5757These LFC commands are seldom used: LFC interaction is normally done with commands handling the necessary interactions with both LFC and SE services to implement actual file management (mainly the so-called ''lcg_utils'' commands whose names start with `lcg-`.). There is one exception, `lfc-mkdir`, that can be used to create empty directories.  The lcg-xxx commands will create missing directories, but cannot create an empty directory.   The command `lfc-mkdir` supports a `-p` option to create parent directories, similar to the same option in Unix `mkdir`.
    5858
    59 All of these commands require a valid VOMS proxy with a valid VOMS extension (use `voms-proxy-init --voms`), else you need to use option `--vo` with `lcg-xxx` commands. `lcg-xxx` commands locate the LFC server from the VO used. To use a LFC server other than the default (central) one or with `lfc-xxx` commands, define environment variable `LFC_HOST` to the host name of the LFC server to use.
    60 
    61 ''Note: this is not recommended to define `LFC_HOST` when this is not necessary as your command may fail if the default server is moved. An alternative to define `LFC_HOST` for using `lfc-xxx` commands is to prefix the LFN with `lfc.host.dom.ain:`.''
     59All of these commands require a valid VOMS proxy with a valid VOMS extension. To use the `lfc-xxx` commands, either define the environment variable `LFC_HOST` to the host name of the LFC server to use or prefix the name with `lfc.host.domain:`.   The second method is the preferred one.
    6260
    6361=== LFC client main commands ===
     
    6765 * `lfc-ls [-l]`: similar to Unix `ls` command. Gives the content of a directory and optionally detailed information in a Unix like format. User and group are the DN of the owner and the FQAN of the primary VOMS group.
    6866 * `lfc-getacl / lfc-setacl`: LFC namespace supports Posix-like ACLs. See the man page for more information on the syntax, in particular for `lfc-setacl`. A file name has one ACL but a directory has 2 different ACLs: the ACL controlling access to the directory and the default ACL applied to new files (new sub-directories inherit the parent ACL).
     67
     68''Note: The LFC only deals with logical file names.  Because of this, the arguments to the `lfc-xxx` commands should '''NOT''' be prefixed with `lfc:`''.
    6969
    7070__Exercises__ :