Differences
This shows you the differences between two versions of the page.
|
Last revision
Both sides next revision
|
commands:aclchg [2010-01-22 15:48] asciiphil created |
commands:aclchg [2016-04-13 22:50] 116.90.140.41 use ascii(34) for double quotes in the example |
===== Description ===== | ===== Description ===== |
| |
Change permissions for a comma separated list of users. Permission bits are represented as '''r''', '''w''' and '''x'''. Prefixing '''+''' grants the permission, '''-''' removes it. The third parameter is a comma separated list of commands and/or windows (specified either by number or title). The special list '''#''' refers to all windows, '''?''' to all commands. If usernames consists of a single '''*''', all known users are affected. A command can be executed when the user has the '''x''' bit for it. The user can type input to a window when he has its '''w''' bit set and no other user obtains a writelock for this window. Other bits are currently ignored. To withdraw the writelock from another user in window 2: '''aclchg //username// -w+w 2'''. To allow read-only access to the session: '''aclchg //username// -w "#"'''. As soon as a user's name is known to ''screen'', the user can attach to the session and (per default) has full permissions for all command and windows. Execution permission for the acl commands, '''[[commands:at]]''' and others should also be removed or the user may be able to regain write permission. Rights of the special username ''nobody'' cannot be changed (see the "''[[commands:su]]''" command). | Change permissions for a comma separated list of users. Permission bits are represented as '''r''', '''w''' and '''x'''. Prefixing '''+''' grants the permission, '''-''' removes it. The third parameter is a comma separated list of commands and/or windows (specified either by number or title). The special list '''#''' refers to all windows, '''?''' to all commands. If usernames consists of a single '''*''', all known users are affected. A command can be executed when the user has the '''x''' bit for it. The user can type input to a window when he has its '''w''' bit set and no other user obtains a writelock for this window. Other bits are currently ignored. To withdraw the writelock from another user in window 2: '''aclchg //username// -w+w 2'''. To allow read-only access to the session: '''aclchg //username// -w <nowiki>"#"</nowiki>'''. As soon as a user's name is known to ''screen'', the user can attach to the session and (per default) has full permissions for all command and windows. Execution permission for the acl commands, '''[[commands:at]]''' and others should also be removed or the user may be able to regain write permission. Rights of the special username ''nobody'' cannot be changed (see the "''[[commands:su]]''" command). |
| |
===== Examples ===== | ===== Examples ===== |