| |
|
|
|
|
Permissions, groups and ownership |
The unix chmod command works in UniTree. The only
difference is octal numbers must be used instead of
of letters. For example, to give group and world
read permission to a file you already have read and
write permissions to, use the command
ftp> quote site CHMOD 644 filename
[The command "quote site CHMOD gw+r filename"
does NOT work.]
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. 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.
There is no wildcard for chmod within ftp.
Send a mail message to unitree@ncsa.uiuc.edu with the name of
the group and the logins you would like to belong to that group.
ftp> quote site CHGRP groupname filename
changes the group associated with a file.
There is a bug in UniTree that returns the error message
"Permission Denied" in the event you try to get a file
from tape archive that does not belong to your default
group. However, the file will still be moved to disk.
Issuing a subsequent get will bring the file to your local
disk without any difficulties.
Also, files inherit the group permissions of the directory
in which they are initially stored. (check this.)
For academic users, the file owner needs to send e-mail to
unitree@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.
|
|
|
|
|
|