Struggling with Network File Sharing on Linux

May 18, 2025 3 answers
Asked by beetroot+dip
Hey everyone! I'm pretty new to Linux and am trying hard to learn, but I'm hitting roadblocks. For weeks now, I've been trying to set up network drives and file sharing, but nothing's working. I've tried a bunch of methods like Samba, SFTP, and even set up a Nextcloud server, but they all seem to have the same permission issues. When I try to use Samba, only the root/admin user can access the shares; other users get 'access denied' or authentication errors. I've tinkered with the smb.conf file, created groups, and adjusted permissions, but no luck. I even formatted my drives to EXT4 thinking it might solve my problems. I've switched between Linux Mint, Ubuntu, Debian, and Pop OS, but the issues persist. After every failed attempt, I've reinstalled my Linux distro to start fresh. What could be going wrong? I'd really appreciate any help!

Answers

rocket_nozzle
Make sure youโ€™re checking the permissions and ownership of your shared files and folders. Sometimes, issues arise from not having the right permissions set on the directories you are trying to share. You can run `ls -l` on the folders to see who has access and adjust with `chown` or `chmod` commands if needed. Also, consider using a basic setup for smb.conf before making complex changesโ€”sometimes less is more!
Reply to this answer
boiling point
It sounds like youโ€™re having a tough time! From what youโ€™ve described, itโ€™s hard to pinpoint the exact cause since youโ€™ve tackled so many setups. Iโ€™d suggest deciding on one distro and protocol firstโ€”stick with Linux Mint if thatโ€™s what you started with, and use Samba. Then, find a detailed guide and follow it step by step. Constantly switching things up can make it harder to spot what's wrong. Getting familiar with one way might help you sort it out more efficiently.
Reply to this answer
Dimpler
Have you looked at the resources page for troubleshooting? They often have specific solutions for common Samba issues. Plus, running everything in a virtual machine for testing can save you time and headaches in case of mistakes. Backup regularly and practice in the VM environment first!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions