hypoproteinosis96

joined 9 months ago
[–] [email protected] 1 points 2 months ago

Appreciate it! Yeah everything that sounds like it would be easy, always has a fun extra hurdle on Fedora it seems haha.

Still loving it :)

[–] [email protected] 2 points 2 months ago (2 children)

So if I had to guess morethanevil, this is the line that ended up fixing it! Really appreciate it, because everything else seemed to fall into place after this:

setsebool -P samba_export_all_ro=1 samba_export_all_rw=1

I really appreciate all of your help Certainly_No_Brit! I had it set up in such a ridiculous way, but your assistance really helped me grasp why each guide was so wildly different (creation vs. adding a remote SMB on linux). After it worked, I could look up the network drive in Dolphin/Windows File Explorer in a very normal manner and can access all of the files :)!

Maybe your issue was with your firewall or permission in some regard unknowing8343? I still really prefer Windows' method (gag), but this was certainly very doable w/ the SELinux tweaks in the link above.

[–] [email protected] 2 points 2 months ago (1 children)

Gotcha I appreciate your patience w/ my silly questions lol

If the now correctly mounted folder is empty, is that a read/write issue for:

  1. the user on the remote machine
  2. the logged-in user on the local machine
  3. the user running the samba service?

[–] [email protected] 4 points 2 months ago

Everything has been immeasurably easier on Linux. But holy fuck the Windows' Right Click -> Share is eons better than this :(

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (3 children)

The configuration change in /etc/fstab is what stopped it being mounted correctly on boot. But is what was recommended for the SMB share.

I'm not sure I understand why it changes from MNT to Media based on the GUI's changes to the drive. If I have it auto-mount, it adds a 2nd listing like this:

//192.168.0.30/share /mnt/2666EE3966EE097F auto cifs username=user,password=1 0 0
/dev/disk/by-uuid/2666EE3966EE097F /mnt/2666EE3966EE097F auto nosuid,nodev,nofail,x-gvfs-show 0 0

Do I combine them in some fashion lol?

Did I misunderstand something?

No, I'm stupid :'(

 
 Fedora 39
 KDE DE
 Current Login: "User" with Password "1" 

This allows me to connect to the share; however, it is "empty" on both the local and the remote machines.

I've followed at least 5-6 guides all w/ completely different instructions and would love somebody w/ experience on this to point to my fuck up and what I'm very clearly missing.

sudo nano /etc/samba/smb.conf

[global]

[share]

   path = /mnt/2666EE3966EE097F/
   writeable = yes
   browseable = yes
   public = yes
   create mask = 0777
   public = yes
   guest ok = yes

sudo nano /etc/fstab

/dev/disk/by-uuid/D02A6F152A6EF7BC /mnt/D02A6F152A6EF7BC auto nosuid,nodev,nofail,x-gvfs-show 0 0
//192.168.0.30/share /mnt/2666EE3966EE097F cifs username=user,password=1 0 0

Dolphin also has this tab below (local machine w/ the mounted drive), but any password input doesn't do anything (the explorer flashes w/ no info about what the "Set Password" button did)

 

ELI5 if possible, thank you :)