steamdeck-samba-server
                                
                                
                                
                                    steamdeck-samba-server copied to clipboard
                            
                            
                            
                        Read-only file system modification
This script modifies the read-only file system of Steam OS, so it is extremely likely to just get wiped out by the next Steam OS update.
A better alternative way to handle this might be to run the samba server inside some kind of container so changes to the underlying host OS wouldn't affect it?
@BenMcLean
Hi! Thanks for writing.
I'm not quite sure how using a container would solve the problem? Suppose a container will work instead of the current solution. The next Steam OS update will overwrite the container and docker itself, so you will have to install docker again and create the container again. If I am wrong or misunderstood, please correct me
@malordin Steam OS 3.5 and later already pre-installed Podman and distrobox https://github.com/89luca89/distrobox/blob/3bac964bf0952674848dce170af8b41d743abe57/docs/posts/steamdeck_guide.md So container will survive in the next update
I fully support this. SMB was great when I first installed it, but now I can't even reinstall it after an update. It just fails and I think it breaks pacman.
(deck@adv-steamdeck ~)$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)" WARNING: This script will install Samba server on your system. Did you change the password via passwd? [Y/N] y Please enter your password: Continuing with Samba server installation... Disabling steamos-readonly... Warning: The rootfs is already read-write! Nothing is performed. Editing pacman.conf file... Initializing pacman keys... Populating pacman keys... ==> Appending keys from archlinux.gpg... ==> Updating trust database... gpg: next trustdb check due at 2025-07-01 Installing samba... :: Synchronizing package databases... error: failed to synchronize all databases (unable to lock database) Initializing new smb.conf file... tee: /etc/samba/smb.conf: No such file or directory Enter the path of the directory you want to share, or press ENTER to share the entire /home directory: Path: