Quote:
Originally Posted by salimshahzad
dear gurus hello good day
i do have 1 folder for samba share
/share/apps
this folder i want to give permission 2 kind of people
1) above samba share, give full access to 3 ips
192.168.0.1
192.168.0.2
192.168.0.3
2)above samba share, give read+execute(cant delete document any) access to 3 ips
192.168.0.11
192.168.0.21
192.168.0.31
how can we achieve best advise
regards
salim
|
This is not directly achievable.
As you can choose wether to allow an IP/hosts/network to use a share, this is host based. While write permissions should be user based permissions.
So maybe you can create 2 shares with the same path and give one group more access rights then others. (I dont know if this is actually possible, but if you try, please report if it works)
ACLs are a way for user based permissions. Not host based.
So then you can say: usera can write to share1. userb can read from share1.
So in this case this won't help.
What you might do is creating users in a different group based on the networks they are in (this is static of course).
So it depends on what you really want.