1. 程式人生 > >samba設定共享目錄使用者許可權分離

samba設定共享目錄使用者許可權分離

[file]
    comment = file
        path = /home/file/
        browseable = yes   
        writable = yes   
        create mask = 0766   
        force create mode = 0766   
        directory mask = 0777   
        guest ok = no
       valid users = file file1 @group01
        write list = file1
        read list = file @group01
        hosts allow = 192.168.2.0/24 127.0.0.1