SET-FRIEND-ACCESS: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the SET-FRIEND-ACCESS command)
 
(expanded the text, added another reference)
 
Line 1: Line 1:
The command  
The command  
  @SET-FRIEND-ACCESS <user name> <access mode>
  @SET-FRIEND-ACCESS <user name>, <access mode>
sets <[[access modes|access mode]]> for a friend named <user name>.
Specify access for a friend to the terminal user's files.
; <user name> : a name previously created as a friend.
; <access mode> : (default = no change), see [[access modes]].
 
Rules:
#Permitted for all users.
#The permitted access to a file from a friend is the intersection of this friend's access and the general friend access of this specific file (see example below).
 
Example:
 
(assume friend access to the file F-1:DATA to be WA.)
 
@SET-FRIEND-ACCESS BUDDY, W
 
Access to file F-1:DATA for user BUDDY is now W. That is, it may now only be opened with write access.
 
== Related commands ==
@[[CREATE-FRIEND]]
 
@[[SET-DEFAULT-FILE-ACCESS]]
 
@[[SET-FILE-ACCESS]]
 
== References ==
== References ==
{{ND-doc|60.050.06}} section 3.4.2
{{ND-doc|60.050.06}} section 3.4.2
{{ND-doc|60.128.03}} (printed February 1983), page 1-188


{{ND-doc|60.174.Q01}}
{{ND-doc|60.174.Q01}}
[[Category:Background Commands]]
[[Category:Background Commands]]

Latest revision as of 11:35, 21 August 2017

The command

@SET-FRIEND-ACCESS <user name>, <access mode>

Specify access for a friend to the terminal user's files.

<user name>
a name previously created as a friend.
<access mode>
(default = no change), see access modes.

Rules:

  1. Permitted for all users.
  2. The permitted access to a file from a friend is the intersection of this friend's access and the general friend access of this specific file (see example below).

Example:

(assume friend access to the file F-1:DATA to be WA.)

@SET-FRIEND-ACCESS BUDDY, W

Access to file F-1:DATA for user BUDDY is now W. That is, it may now only be opened with write access.

Related commands

@CREATE-FRIEND

@SET-DEFAULT-FILE-ACCESS

@SET-FILE-ACCESS

References

Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE section 3.4.2

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-188

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD