NCSA Home
Contact Us | Intranet | Search

MSS permissions, groups and ownership


How do I change permisions on a file in MSS?

    Octal numbers must be used in FTP accesses. For example, to give group and world read permission to a file you already have read and write permissions to, use the command (from NCSA HPC systems):
    msscmd chmod 644 filename 
    
    FTP Notes: The command "chmod go+r filename" does NOT work. For kerberized FTP, prepend "quote" to the "chmod" command.

    In an SSH session, either the octal or symbolic representation can be used:

    chmod 644 filename
    chmod go+r filename
    

I always want files to be stored in MSS with certain permissions - how can I do this?

    Create a file called ".msscmdrc" in your home directory on an NCSA production machine. The contents of this file should be the appropriate umask command you wish to execute prior to each save, such as `quote umask 037` to set group read and owner read/write for new files. See the umask man page for more details.

    Note that the file .msscmdrc is read upon every invocation of msscmd (not mssftp) and the commands in this file are executed prior to any commands you issue after msscmd.

Is there wildcard support within ftp?

    Wildcards are supported by mssftp, msscmd, uberftp, and ssh sessions, but not kerberized FTP. In kerberized FTP, namely the mchmod and mchgrp are do not have wildcard support.

How can I create a MSS group?

    Send a mail message to help@ncsa.uiuc.edu with the name of the group and the logins you would like to belong to that group.

How can I change the group associated with a file?

    From an NCSA HPC system:
    msscmd chgrp groupname filename
    
    Note: kerberized FTP sessions need to prepend "quote" to the "chgrp" command.

    The SSH command uses the same syntax:

    chgrp groupname filename
    

How can I change ownership of files in MSS?

    For academic users, the file owner needs to send e-mail to help@ncsa.uiuc.edu authorizing the change of ownership. They should include their current login, the name and login of the new owner, and the names of files and/or directories for which ownership should be transferred.