Jump to content

Samba server can't write

Hi guys

So I set up a samba server on my "new" computer just like I did multiple times before (I change hardware quite often), but now whatever I do I can't write to the samba shares from Windows 10

The samba server runs on a pc running Linux Mint 20 64 bit

This exact config has worked for me on about 4 computers before with the same OS, same client PC and everything.

I am a total noob in regards to Linux and networking but I'm willing to learn because I just want this to work

Thanks for your advice guys :)

this is my smb conf:

 

[global]

       server role = standalone server

       map to guest = Bad User

       usershare allow guests = yes

       hosts allow = 192.168.0.0/10

       hosts deny = 0.0.0.0/0

       

[3TBHDD]

       comment = test share

       path = media/yasin/GeheimeKaasOpslag        

       read only = no

       guest ok = yes

       force user = yasin

       force group = yasin

       

[1TBHDD]

       comment = test share

       path = /media/yasin/E8E87495E87463AA    

       read only = no

       guest ok = yes

       force user = yasin

       force group = yasin

This has

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Yasin40 said:

<le snip>

Make sure that the user you're logging in as has permissions to write to the folders on the server.

Main: AMD Ryzen 7 5800X3D, Nvidia GTX 1080 Ti, 16 GB 4400 MHz DDR4 Fedora 38 x86_64

Secondary: AMD Ryzen 5 5600G, 16 GB 2667 MHz DDR4, Fedora 38 x86_64

Server: AMD Athlon PRO 3125GE, 32 GB 2667 MHz DDR4 ECC, TrueNAS Core 13.0-U5.1

Home Laptop: Intel Core i5-L16G7, 8 GB 4267 MHz LPDDR4x, Windows 11 Home 22H2 x86_64

Work Laptop: Intel Core i7-10510U, NVIDIA Quadro P520, 8 GB 2667 MHz DDR4, Windows 10 Pro 22H2 x86_64

Link to comment
Share on other sites

Link to post
Share on other sites

Do an ls -ld media/yasin/GeheimeKaasOpslag , and post the permissions that are set on the directory. 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×