NAME
emuga-groupgen - Generate group information.
USAGE
emuga-target [options] target [ [options] target [...] ]
DESCRIPTION
Emuga target can help you to set up a target (directory or file) so that two groups have inpact on the permissions for it. You can specify one read group and one write group.
OPTIONS
--dl nr | --debug-level nrDebug level (for debugging).--ql nr | --quit-level nrQuit level (for debugging).-N Not nice (chown, chgrp for all groups).-n Nice (chown, chgrp only for the group owning the target), default.-R Do not run chmod, chgrp recursively.-S Do not change the sgid bit, see -s below.-s Change the sgid bit for the writegroup (default). This affectsrecursive changes for writegroup and also recursive changes whenit is removed or replaced with a readgroup.-r readgroupThe group defined here is the one that should have readpermission on the target (and possibly subtargets).-w writegroupThe group that should have write permission to the target(and possibly subtargets).--fixFix problems that can be fixed automaticly (defult no).--helpPrint this help.
target:
The target is a file or directory. To make it really usable directories are
preferred.
If no read or write-group is specified it only prints the oldpermissions of the target(s).
Observe that the created directory structure makes an AND operation of the read and write access. The write permission implies read access but you can restrict read access by not adding the user to the read group if you want to do that (the effect is that you will probably not get write access either).
Setting a empty ("") read or write group will unset that group. Note that there is no way to unset a group. You have to specify new permissions.
AUTHOR
Ola Lundqvist <[email protected]>
SEE ALSO
emuga-grougen(1)