mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-03 16:14:23 +01:00
etc/samba/playstation2.conf: initial commit
This commit is contained in:
parent
0129c468e1
commit
e265916ba1
30
etc/samba/playstation2.conf
Normal file
30
etc/samba/playstation2.conf
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
# This seems to control the share name
|
||||||
|
[PlayStation2]
|
||||||
|
Comment = PlayStation2 images
|
||||||
|
# sudo chcon -t samba_share_t /sambashare/
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user