Hello Listers,
We have created a share Linux. When writing to this share a file will get the
groupid (zlinux) to make sure that files can be edited by other users within
the same group.
[Linux]
comment = Linux
path = /srv/smb/shares/MFPL/Linux
writable = yes
force group = zlinux
valid users = @zlinux @vmvse
write list = @zlinux
create mask = 0000
directory mask = 0000
force create mode = 0660
force directory mode = 02775
Now, actually this share is part of a group of directories in the directory
MFPL.
/ srv/smb/shares/MFPL/DB2
/ srv/smb/shares/MFPL/Linux
/ srv/smb/shares/MFPL/vmvse
/ srv/smb/shares/MFPL/zOS
We tried to get the share on MFPL instead of the single directory.
[Linux]
comment = MFPL
path = /srv/smb/shares/MFPL
writable = yes
valid users = @zlinux @vmvse
Users in group zlinux should be able to write in Linux and readonly in others.
And users from vmvse should only be able to write in vmvse and have readonly
access to others. Or perhaps, users in Linux and vmvse should be able to write
in both directories but still the group for new directories/files should be
either the Linux or vmvse group depending on the directory. We could enforce a
forcegroup on MFPL, as we did for the Linux share, but then it would be
enforced on all directories. We tried "inherit permissions" but it looks like
this would enforce the default user permission instead of the permission of the
certain directory. Good for a /home directory but not quite what we were
looking for.
Would it be possible at all to assign permissions based on the directory
instead of the share?
Met vriendelijke groet/With kind regards,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven
* +31 (0)6 22564276
Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd
voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij
u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Aangezien
de integriteit van het bericht niet veilig gesteld is middels verzending via
internet, kan Atos Nederland B.V. niet aansprakelijk worden gehouden voor de
inhoud daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren,
geven wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden
wij enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit
bericht. Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten
waaronder Atos Nederland B.V. goederen en/of diensten levert zijn met
uitsluiting van alle andere voorwaarden de Leveringsvoorwaarden van Atos
Nederland B.V. van toepassing. Deze worden u op aanvraag direct kosteloos
toegezonden.
This e-mail and the documents attached are confidential and intended solely for
the addressee; it may also be privileged. If you receive this e-mail in error,
please notify the sender immediately and destroy it. As its integrity cannot be
secured on the Internet, the Atos Nederland B.V. group liability cannot be
triggered for the message content. Although the sender endeavours to maintain a
computer virus-free network, the sender does not warrant that this transmission
is virus-free and will not be liable for any damages resulting from any virus
transmitted. On all offers and agreements under which Atos Nederland B.V.
supplies goods and/or services of whatever nature, the Terms of Delivery from
Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly
submitted to you on your request.
Atos Nederland B.V. / Utrecht
KvK Utrecht 30132762
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/