From 6333883dc3cd32de4b71d507f513991f3d66866a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 14 Mar 2023 16:57:14 +0200 Subject: [PATCH] etc/samba/playstation2.conf: document issues coming up with real hardware --- etc/samba/playstation2.conf | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/etc/samba/playstation2.conf b/etc/samba/playstation2.conf index c8374be6..2c6703d3 100644 --- a/etc/samba/playstation2.conf +++ b/etc/samba/playstation2.conf @@ -17,16 +17,23 @@ allow insecure wide links = yes # on the console [PS2SMB] Comment = PlayStation2 images -# sudo chcon -t samba_share_t /shome/jaettu/PS2 -# jaettu = shared in Finnish -Path = /home/jaettu/PS2 +# These commands are required for SELinux to not complain +# sudo chcon -t samba_share_t /home/aminda/PS2 +# sudo setsebool -P samba_enable_home_dirs on +Path = /home/aminda/PS2 Browseable = yes +# must be writeable for Open PlayStation 2 Loader Writeable = Yes only guest = no create mask = 0777 directory mask = 0777 Public = yes Guest ok = yes -#force user = pi +# to surely not have permission issues +force user = aminda follow symlinks = yes wide links = yes +# Without this saving will take forever (minutes with Ratchet & Clank 2 EU) +# and if you give up waiting, you may corrupt your virtual memory card +# https://github.com/ps2homebrew/Open-PS2-Loader/issues/327 +strict sync = no