Hi thagrol!
But if I go into File Manager (what I accidentally called ‘Nautilus’ – it’s the one that appears with pcmanfm) Permissions are:
- - -
Actually I did flip through the fstab Beginner’s Guide electronically searching for answers. Also the other posts in the Forum to see if I could find something. ...Was asking myself if NFS might be a solution but it seems my problem is a permissions issue, which would be causing the same problem.
Thanks for the help!
Barry
ls -halt /Share_Videos
lrwxrwxrwx 1 barry barry 18 Sep 9 09:41 /Share_Videos -> /home/barry/Videos
Not strange. That's how permissions are always shown on symlinks. The actual permissions on the file/directory that's linked to matter.
Code:
ls -halt /home/barry/Videos==>drwxr-xr-x 18 barry barry 4.0K Sep 10 18:13 ..
- Ownerbarry
Groupbarry
Viewanyone
Change anyone
Accessanyone
I thought so and had that originally. Reason for the change was if for some reason if that was the problem (wrong type) the computer would fix my error./etc/fstab is:
//192.168.4.165/Share_Videos /mnt/Remote_Videos auto user=barry,password=xxxxxxxxx,noauto,x-systemd.automount,_netdev 0 0
‘.165’ is the RPi5. And yes, aware of the potential security risk of having the password out in the open but I’m the only one who knows how to get to command line. That first "auto" should really be "cifs"
Actually that helps! Samba is installed but possibly not correctly. Moves a guess to a more certain thing.If you don't have a properly configured Samba server running on the Pi5 it doesn't exist regardless of whether the files/directory exist on the Pi5's disc.
I agree! “Educated guess” may have been more appropriate. Still a guess. just more targeted.Don't guess. Research. Guessing, unless you're lucky, will almost always waste your time.
Samba is installed and somewhat configured: I did look up and install a few options, modifying path, etc.Have you installed and configured Samba on the Pi5?
If you have, please post the following from the Pi5:
Code:
barry@raspberrypi:~ $ testparm -sLoad smb config files from /etc/samba/smb.confLoaded services file OK.Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)Server role: ROLE_STANDALONE# Global parameters[global]interfaces = 127.0.0.0/8 192.168.4.0/24log file = /var/log/samba/log.%mlogging = filemap to guest = Bad Usermax log size = 1000obey pam restrictions = Yespam password change = Yespanic action = /usr/share/samba/panic-action %dpasswd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .passwd program = /usr/bin/passwd %userver role = standalone serverunix password sync = Yesusershare allow guests = Yesidmap config * : backend = tdb[homes]browseable = Nocomment = Home Directoriescreate mask = 0700directory mask = 0700valid users = %S[printers]browseable = Nocomment = All Printerscreate mask = 0700path = /var/tmpprintable = Yes[print$]comment = Printer Driverspath = /var/lib/samba/printers[Share]force create mode = 0777force directory mode = 0777guest ok = Yesguest only = Yespath = /Share_Videosread only = No- -ls -ld /home/Barryls: cannot access '/home/Barry': No such file or directory- -Guessing (couldn’t resist!) ls -ld /home/barrydrwxr-xr-x 18 barry barry 4096 Sep 10 18:13 /home/barry- -ls -ld /home/barry/Videos/drwxrwxrwx 2 barry barry 4096 Sep 8 17:48 /home/barry/Videos/
From the 4B:
Code:
• Whether you can ping the server. ping -c2 192.168.4.165PING 192.168.4.165 (192.168.4.165) 56(84) bytes of data.64 bytes from 192.168.4.165: icmp_seq=1 ttl=64 time=1.55 ms64 bytes from 192.168.4.165: icmp_seq=2 ttl=64 time=1.51 ms--- 192.168.4.165 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 3msrtt min/avg/max/mdev = 1.509/1.527/1.545/0.018 ms
I’ve kept them all the same across ‘everything’ when possible. The user will be ‘pi’ on the old systems where required, else ‘barry’. Passwords are a constant across systems. So Samba would also use ‘barry’ and the common password.Whether the username and password in its fstab are those of the local Linux user, the remote Linux user, or the remote Samba user?
- - -
Actually I did flip through the fstab Beginner’s Guide electronically searching for answers. Also the other posts in the Forum to see if I could find something. ...Was asking myself if NFS might be a solution but it seems my problem is a permissions issue, which would be causing the same problem.
Thanks for the help!
Barry
Statistics: Posted by Barry_IA — Wed Sep 11, 2024 12:34 am