shell-things/etc/samba/playstation2.conf

33 lines
870 B
Plaintext
Raw Normal View History

# Leans heavily on
# https://github.com/toolboc/psx-pi-smbshare/blob/599248bb0dcfce06d112c7011594acacd7e4a38e/samba-init.sh#L15-L35
# and https://www.redhat.com/sysadmin/samba-file-sharing
#
# Samba has include directives so this can be separate.
# e.g.: include = /etc/samba/playstation2.conf
[global]
# SMBv1, required for PS2
server min protocol = NT1
workgroup = WORKGROUP
usershare allow guests = yes
map to guest = bad user
allow insecure wide links = yes
# All guides seem to use the name PS2SMB, and it may require manual typing
# on the console
[PS2SMB]
Comment = PlayStation2 images
# sudo chcon -t samba_share_t /shome/jaettu/PS2
# jaettu = shared in Finnish
Path = /home/jaettu/PS2
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
#force user = pi
follow symlinks = yes
wide links = yes