How to set permissions correctly ?

Stephan Lauffer lauffer at ph-freiburg.de
Tue Jun 20 10:26:49 GMT 2000


Hi!

> There are UserA, UserB, UserC, UserD
> norm  - UserA, UserB, UserC, UserD
> Team1 - UserA, UserB
> Team2 - UserB, UserC
> Team3 - UserA, UserC, UserD
> 
> [homes] - UserA, UserB, UserC
invalid users = UserD
> 
> [Projekt1] - Projekt1A, Projekt1B, Projekt1C

> Homedirs generally read-only by owner. Exception \homes\UserA should be 
no, it depends on your default settings. f.e. SuSE is distributing a binary
which is rw for homedirs.
Checkout with testparm...

> full accessable by Team3. That means especially that files created by UserC 
> and UserD should be full accessable like files from UserA
ok, then it´s not easy to use a global [home] section.
try something like this:
[UserA]
path = /home/UserA
username = UserA, UserC, UserD
force user = UserA

the other homes must alos be set up by "hand".

> Question 2 - How to accomplish:
> Projekt1A is owned by UserA.Team1, Team1 should have full access, esp. 
> create files so that full access is possible.
[Projekt1]
user name = UserA, UserB
force user = UserA
force group = Team1

And so on... really it´s working with security = user...

Liebe Gruesse,
Stephan Lauffer

[ Paedagogische Hochschule Freiburg - Systemtechnik - Germany    ]
[ Abteilung ZIK: <a href="http://www.ph-freiburg.de/zik">WWW</a> ]
[ Tel.: 0761 - 682 459                    Mobil: 0172 - 7145 197 ]



More information about the samba-ntdom mailing list