I'm trying to achieve the following in OpenSolaris to setup permissions on the ZFS volumes (shared using CIFS).
There are some users who should belong to the sysusers group, they have access to everything and anything in the /tank/storage ZFS volume. In addition there are the following groups:
devs - Developers media - Media users who can only access certain folders accnt - Accountants who can only touch their files
I thought maybe of creating the groups above, then the sysusers group and adding all the groups above to the sysusers group - which in turn will add all the users in sysgroup to have global access.
Is this suitable? The other problem is that I tried to do this:
# pfexec groupadd media
# pfexec chown media:media /tank/media/assets
but I get the following:
# pfexec chown media:media /tank/media/assets
chown: `media:media': invalid user
I'm confused, should I not see 'media' considering I just created it? I tried associating staff to it but then it says:
chown: `staff': invalid user
I'm trying to follow the directions here in particular the part about 'Create the media file systems for music, photos and video'. I get stuck at 'chown media:media /tank/media/music'.
I'm so confused :(