Tässä esimerkissä luodaan kolmentasoisia käyttöoikeuksia eri käyttäjille. Periaatteena on että jokaisella käyttäjällä on käytössään henkilökohtainen kotihakemisto, kaikille yhteinen hakemisto ja hallinto-ryhmään kuuluville hallinto-hakemisto.
[hallinto] comment = hallinto path = /home/hallinto public = yes create mask = 0770 directory mask = 0770 force create mode = 0770 force directory mode = 0770 force group = hallinto valid users = @hallinto writable = yes
[yhteinen] comment = yhteinen path = /home/yhteinen public = yes create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 writable = yes
[matti] comment = matti path = /home/matti public = no create mask = 0700 directory mask = 0700 force create mode = 0700 force directory mode = 0700 writable = yes [paavo] comment = paavo path = /home/paavo public = no create mask = 0700 directory mask = 0700 force create mode = 0700 force directory mode = 0700 writable = yes [maija] comment = maija path = /home/maija public = no create mask = 0770 directory mask = 0700 force create mode = 0700 force directory mode = 0700 writable = yes
Lauri Laukkarinen 2006-03-23