[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 06/11/2021 16:36, comrade meowski wrote:
On 06/11/2021 12:12, Julian Hall wrote:Completely lost now. That's why I asked if there is a file that may be corrupt somewhere that tells a remote share who the owner is.JulianHa this is the problem that just won't die...
It is the gift that keeps on giving..
Let's have one last look at this then, we probably all want to know how this ends after all these months. Rather than blindly give you instructions to fix it with the chmod hammer let's find out exactly what's going on.Let's find out who you are and what your UID/GID is: id
julian@Cerce:~$ iduid=1000(julian) gid=1000(julian) groups=1000(julian),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),114(lpadmin),134(sambashare)
Better have a look at fstab again: cat /etc/fstab
julian@Cerce:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installationUUID=8d9120a6-d4c7-4bd2-80a3-797b2db43287 / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb8 during installationUUID=792a3ecb-d6fa-49d5-8f51-787a2befdeb0 /home ext4 defaults 0 2
# swap was on /dev/sdb2 during installationUUID=dadfb6ff-cfe6-4e5d-8af8-62054e95d042 none swap sw 0 0 192.168.1.3:/volume1/DEMETER /media/julian/DEMETER nfs _netdev,auto,users,x-systemd.requires=network-online.target,x-systemd.automount,x-systemd.mount-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0
And because we all think it's permissions problems, let's check the directory listings:ls -alh /path/to/your/nfs/mount
Assuming you mean the mount point not the actual mount, as it cannot find that:
julian@Cerce:~$ ls -alh /media/julian/DEMETER ls: cannot open directory '/media/julian/DEMETER': Permission denied julian@Cerce:~$ sudo ls -alh /media/julian/DEMETER [sudo] password for julian: total 232M drwxrwxrwx 44 root root 4.0K Sep 3 19:56 . drwxr-xr-x 5 root root 4.0K Oct 25 16:49 .. drwxrwxrwx 2 julian julian 4.0K Jul 16 2017 'Android APKs' drwxrwxrwx 3 julian julian 4.0K Oct 5 2017 'Android update' drwxrwxrwx 5 julian julian 4.0K Oct 5 2017 Audio drwxrwxrwx 62 julian julian 12K Feb 27 2021 'Barry At War' drwxrwxrwx 4 julian julian 4.0K Oct 5 2017 'BBC Articles' drwxrwxrwx 10 julian julian 4.0K Feb 8 2019 'Birmingham University' -rwxrwxrwx 1 julian julian 23K Jul 17 2017 Bond.xls drwxrwxrwx 2 julian julian 4.0K Oct 5 2017 Car drwxrwxrwx 13 julian julian 4.0K Oct 5 2017 'Cardiff Met' drwxrwxrwx 2 julian julian 4.0K Oct 5 2017 'Causes of War' -rwxrwxrwx 1 julian julian 134K Jul 17 2017 Cdlabel.alb drwxrwxrwx 3 julian julian 4.0K Feb 27 2021 Colour -rw-rw-rw- 1 julian julian 2.2K Jul 17 2017 Danish.txt -rwxrwxrwx 1 julian julian 77 Jul 17 2017 desktop.ini drwxrwxrwx 10 julian julian 4.0K Oct 5 2017 Download drwxrwxrwx 4 julian julian 4.0K Oct 5 2017 DVD2 drwxr-xr-x 6 julian julian 4.0K Mar 27 2018 facebook-julianmhallwales -rw-r--r-- 1 julian julian 196M Mar 27 2018 facebook-julianmhallwales.zip drwxrwxrwx 16 julian julian 4.0K Apr 4 2021 Family drwxrwxrwx 2 julian julian 4.0K Oct 5 2017 FFs drwxrwxrwx 13 julian julian 4.0K Feb 27 2021 Finances -rwxrwxrwx 1 julian julian 857 Jul 17 2017 foxuser.dbf -rwxrwxrwx 1 julian julian 4.5K Jul 17 2017 foxuser.fpt drwxrwsrwx 6 julian julian 4.0K Oct 5 2017 'Game Saves' drwxrwsrwx 16 julian julian 4.0K Apr 1 2020 Genealogy drwxrwsrwx 2 julian julian 4.0K Oct 5 2017 'Glamorgan University' -rw-rw-rw- 1 julian julian 24 Jul 17 2017 GoDaddy.txt -rw-rw-rw- 1 julian julian 4.3K Jul 17 2017 gparted_details.htm-rw-rw-rw- 1 julian julian 780K Jul 17 2017 Greenlinks-Membership-Form-English-Ffurflen-Ymaelodi-Saesneg-18.01.2017.pdf
-rwxrwxrwx 1 julian julian 161K Jul 17 2017 hellados.tpp -rw-rw-rw- 1 julian julian 37 Jul 17 2017 Heredis.txt drwxrwsrwx 12 julian julian 4.0K Jan 8 2021 'History Research' drwxrwsrwx 15 julian julian 4.0K Jan 21 2021 Installers drwxrwxrwx 6 julian julian 4.0K May 10 2019 IPCAM -rwxrwxrwx 1 1026 users 767K Jan 4 2018 'Julian Hall - Bath Seat.jpg' drwxrwsrwx 2 julian julian 4.0K Oct 5 2017 'Linux Books' drwxrwxrwx 2 julian julian 4.0K Apr 14 2021 Misc drwxrwxrwx 2 julian julian 4.0K Jul 31 2020 'Panels Claim' drwxrwsrwx 5 julian julian 4.0K Sep 11 2018 PDF drwxrwsrwx 2 julian julian 4.0K Dec 8 2017 PhD -rw-r--r-- 1 julian julian 54K Jul 18 2017 'proof of postage.jpeg' drwxrwxrwx 4 julian julian 4.0K Dec 21 2018 'Property Damage' drwxrwxrwx 2 root root 4.0K Sep 3 19:55 '#recycle' -rw-rw-rw- 1 julian julian 1.2K Jul 17 2017 'Reinstall List.txt' drwxrwsrwx 2 julian julian 4.0K Feb 25 2018 'Rio Tinto' -rw-rw-rw- 1 julian julian 516 Jul 17 2017 rsync.txt -rw-rw-rw- 1 julian julian 5.5M Jul 25 2016 S0040191.JPG -rwxrwxrwx 1 julian julian 125K Jul 17 2017 SAFlashPlayer.app drwxrwsrwx 2 julian julian 4.0K Oct 5 2017 SanDiskSecureAccess drwxrwxrwx 5 julian julian 4.0K Oct 3 2020 Security -rwxrwxrwx 1 julian julian 7.3K Jul 17 2017 SIM071215.tel-rwxrwxrwx 1 1026 users 28M Apr 27 2018 Skype-com.skype.raider-84357886-v5.7.0.13054.apk
-rwxrwxrwx 1 julian julian 147K Dec 14 2015 'Sofia Family Tree.jpg' drwxrwsrwx 2 julian julian 4.0K Mar 2 2021 Spreadsheets-rw-r--r-- 1 1024 users 1.5K Sep 3 19:56 Synology_PermissionReport_20210903-195614.csv
drwxrwxrwx 5 julian julian 4.0K Sep 11 2018 .Trash-1000 drwxrwsrwx 7 julian julian 4.0K Oct 5 2017 Twitter drwxrwsrwx 2 julian julian 4.0K Oct 5 2017 'UFO Incidents' drwxrwsrwx 2 julian julian 4.0K Oct 5 2017 Warhammer drwxrwsrwx 7 julian julian 4.0K Oct 5 2017 Websites drwxrwxrwx 2 julian julian 4.0K Apr 14 2021 Wheelchairs drwxrwsrwx 6 julian julian 4.0K Oct 5 2017 Word drwxrwsrwx 2 julian julian 4.0K Oct 5 2017 WotW
I like logs: journalctl -b | grep -i mount
julian@Cerce:~$ journalctl -b | grep -i /media/julian/DEMETER Nov 07 09:51:02 Cerce systemd[1]: Mounting /media/julian/DEMETER... Nov 07 09:51:02 Cerce systemd[1]: Failed to mount /media/julian/DEMETER.Nov 07 09:51:10 Cerce systemd[1]: media-julian-DEMETER.automount: Got automount request for /media/julian/DEMETER, triggered by 1418 (pool)
Nov 07 09:51:10 Cerce systemd[1]: Mounting /media/julian/DEMETER... Nov 07 09:51:10 Cerce systemd[1]: Mounted /media/julian/DEMETER. Nov 07 09:52:32 Cerce systemd[1]: Unmounting /media/julian/DEMETER... Nov 07 09:52:32 Cerce systemd[1]: Unmounted /media/julian/DEMETER.Nov 07 11:18:51 Cerce systemd[1]: media-julian-DEMETER.automount: Got automount request for /media/julian/DEMETER, triggered by 4856 (ls)
Nov 07 11:18:51 Cerce systemd[1]: Mounting /media/julian/DEMETER... Nov 07 11:18:51 Cerce systemd[1]: Mounted /media/julian/DEMETER.Nov 07 11:19:11 Cerce sudo[4882]: julian : TTY=pts/0 ; PWD=/home/julian ; USER=root ; COMMAND=/usr/bin/ls -alh /media/julian/DEMETER
Nov 07 11:20:12 Cerce systemd[1]: Unmounting /media/julian/DEMETER... Nov 07 11:20:12 Cerce systemd[1]: Unmounted /media/julian/DEMETER.
Also if I remember rightly from talking about this before you found an option on the Synology NAS to switch from NFS3 to NFS4 right? I'd flip that on as well just because.You _could_ just sledgehammer fix this with a brutal chmod -R /mnt/point at any time but I wouldn't recommend it.
Kind regards, Julian -- “The great tragedy of Science — the slaying of a beautiful hypothesis by an ugly fact.” ― Thomas Henry Huxley -- The Mailing List for the Devon & Cornwall LUG https://mailman.dcglug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq