Cifs shares no longer mounting

I have some network shares that are supposed to mount on book, and they were working great until recently. I tried to access one yesterday and it was disconnected. When trying to mount the shares I get this:

sudo mount -a
[sudo] password for sam:      
bad option: gid="sambashare"
bad option: gid="sambashare"
bad option: gid="sambashare"
bad option: gid="sambashare"

If I try to manually mount one of the shares with the only option being the user I get this:

sudo mount -t cifs //192.168.1.1/Shows /media/samba/Shows -o user=media
Password for [email protected]//192.168.1.1/Shows: 
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

When I check dmesg it shows this:

sudo dmesg | tail
[ 4152.498163] CIFS: Attempting to mount \\192.168.1.1\Shows
[ 4152.504891] CIFS: VFS: cifs_mount failed w/return code = -22
 {4152.505296] audit: type=1106 audit(1657212845.992:356): pid=698135 uid=1000 auid=1000 ses=3 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 4152.505308] audit: type=1104 audit(1657212845.992:357): pid=698135 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 4154.102391] audit: type=1101 audit(1657212847.589:358): pid=698181 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="sam" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 4154.102487] audit: type=1110 audit(1657212847.589:359): pid=698181 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 4154.103625] audit: type=1105 audit(1657212847.591:360): pid=698181 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'

The other systems on the network can access the shares just fine and if I go to

smb://192.168.1.1/Shows/

in dolphin I can access it.

I tried some snapper images and the mounts worked on the image I had for June 29, but not the next on July 3. Unfortunately I learned that you can only boot into one of the snapper images once, so I wasn't able to do comparisons on what changed.

I was able to create a list of packages that were installed during that time frame by looking at the package cache, unfortunately there is nothing that obviously affects smb.

Packages:

> /var/cache/pacman/pkg/alsa-card-profiles-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/depot-tools-git-r8964.78c53d11a-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/dkms-3.0.5-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/faudio-22.07-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/garuda-update-2.5.1-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/gimp-plugin-gmic-3.1.5-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/gmic-3.1.5-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/gst-plugin-pipewire-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/intel-compute-runtime-22.26.23599-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/intel-graphics-compiler-1:1.0.11485-4-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/intel-media-driver-22.4.4-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-faudio-22.07-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-pipewire-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-pipewire-jack-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libva-utils-2.15.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pipewire-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pipewire-alsa-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pipewire-jack-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pipewire-pulse-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pipewire-v4l2-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pipewire-zeroconf-1:0.3.53-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/python-imagesize-1.4.1-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/wayland-1.21.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/firedragon-102.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/liblangtag-0.6.4-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/protontricks-git-1.9.0.r0.g8e35c31-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/dmidecode-3.4-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/dxvk-mingw-git-1.10.1.r138.g7c4d6028-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/dxvk-mingw-git-1.10.1.r139.g8d413e2d-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/easyeffects-6.2.6-2-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/gnome-boxes-42.2-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/icoextract-0.1.3-3-any.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-libva-mesa-driver-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-mesa-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-mesa-vdpau-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-opencl-mesa-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-vulkan-mesa-layers-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-vulkan-radeon-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libva-mesa-driver-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/mesa-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/mesa-vdpau-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/opencl-mesa-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/python-ifaddr-0.2.0-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/python-pecan-1.4.2-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/python-pillow-9.2.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/python-zeroconf-0.38.5-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/vulkan-mesa-layers-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/vulkan-radeon-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/vulkan-swrast-22.1.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/zenity-3.43.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/argyllcms-2.3.1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/depot-tools-git-r8954.0e5881fb4-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/extra-cmake-modules-git-5.96.0_r3504.g0064cf77-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/glib-networking-1:2.72.1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/harfbuzz-4.4.1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/harfbuzz-icu-4.4.1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-glib-networking-2.72.1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-harfbuzz-4.4.1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libxnvctrl-515.57-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/linux-zen-5.18.8.zen1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/linux-zen-headers-5.18.8.zen1-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/makemkv-1.17.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/netcdf-4.9.0-3-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/sweet-theme-full-git-r274.7da8215-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/garuda-assistant-2.7.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/garuda-hooks-2.7.0-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/geocode-glib-3.26.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/glib2-2.72.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/glib2-docs-2.72.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/go-ethereum-1.10.20-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/kmod-30-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/latte-dock-git-0.10.6.r261.g0cc73324-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/lib32-glib2-2.72.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-beetle-pce-1143-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-beetle-pce-fast-1186-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-beetle-psx-2615-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-beetle-psx-hw-2615-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-bsnes-hd-51-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-dolphin-33015-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-genesis-plus-gx-1918-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-overlays-219-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-shaders-slang-954-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/libretro-snes9x-2152-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libsoup3-3.0.7-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libva-2.15.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/libvpx-1.12.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/openfortivpn-1.17.3-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/pacman-contrib-1.6.0-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/python-outcome-1.2.0-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/python-trio-0.21.0-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/python-trove-classifiers-2022.6.26-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/qt5-base-5.15.5+kde+r166-1-x86_64.pkg.tar.zst
> /var/cache/pacman/pkg/retroarch-assets-glui-1:428-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/retroarch-assets-ozone-1:428-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/retroarch-assets-xmb-1:428-1-any.pkg.tar.zst
> /var/cache/pacman/pkg/rust-1:1.62.0-1-x86_64.pkg.tar.zst

I've been scouring the internet for the past day and haven't found anything that has helped. Any suggestions on what I can do to get my network shares working again?

Thank you

System:

garuda-inxi
System:
  Kernel: 5.18.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=ca83993c-a870-4bce-addb-c3eb0fdd42b6 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=63df942f-e8b2-4280-a174-35dce1a1934c loglevel=3
  Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: BIOSTAR model: X370GT5 serial: <superuser required>
    UEFI: American Megatrends v: 5.14 date: 07/21/2020
CPU:
  Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 3748 high: 4320 min/max: 2200/4426 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 4187 2: 4320
    3: 3540 4: 4315 5: 3503 6: 3590 7: 3591 8: 3552 9: 3747 10: 3819 11: 3475
    12: 4088 13: 3488 14: 3587 15: 3586 16: 3594 bogomips: 114986
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Retpolines, IBPB: conditional, STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
    vendor: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA 1
    process: TSMC n7 (7nm) built: 2019-20 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 0c:00.0
    chip-ID: 1002:7340 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
    alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4520x1920 s-dpi: 96 s-size: 1195x508mm (47.05x20.00")
    s-diag: 1298mm (51.12")
  Monitor-1: DP-1 mapped: DisplayPort-0 pos: primary,bottom-l
    model: MSI MAG342CQRV serial: <filter> built: 2020 res: 3440x1440 dpi: 110
    gamma: 1.2 size: 797x333mm (31.38x13.11") diag: 856mm (33.7") modes:
    max: 3440x1440 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: top-right model: Dell P2419H
    serial: <filter> built: 2020 res: 1080x1920 hz: 60 dpi: 93 gamma: 1.2
    size: 296x527mm (11.65x20.75") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD Radeon RX 5500 XT (navi14 LLVM 14.0.6 DRM 3.46
  5.18.9-zen1-1-zen)
    v: 4.6 Mesa 22.1.3 direct render: Yes
Audio:
  Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:ab38
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio
    vendor: Biostar Microtech Intl Corp driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0e:00.4 chip-ID: 1022:1487
    class-ID: 0403
  Sound Server-1: ALSA v: k5.18.9-zen1-1-zen running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 16.1 running: no
  Sound Server-4: PipeWire v: 0.3.54 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Biostar Microtech Intl Corp driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 1-2:2 chip-ID: 0a12:0001 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 2.46 TiB used: 1.54 TiB (62.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Smart Modular Tech.
    model: SHGP31-500GM-2 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 41061C20 temp: 43.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Crucial model: CT1000P1SSD8
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: P3CR021
    temp: 45.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Mushkin model: MKNSSDS2960GB
    size: 894.25 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 8A0 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT240M500SSD1
    size: 223.57 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: MU03 scheme: GPT
Partition:
  ID-1: / raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 69.75 GiB (16.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-3: /home raw-size: 894.25 GiB size: 879.14 GiB (98.31%)
    used: 682.91 GiB (77.7%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
  ID-4: /var/log raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 69.75 GiB (16.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-5: /var/tmp raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 69.75 GiB (16.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.29 GiB used: 1.5 MiB (0.0%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.43 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:5
Sensors:
  System Temperatures: cpu: 58.5 C mobo: N/A gpu: amdgpu temp: 48.0 C
    mem: 0.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1359
Info:
  Processes: 420 Uptime: 59m wakeups: 0 Memory: 31.29 GiB
  used: 5.78 GiB (18.5%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 2726
  lib: 619 flatpak: 0 Shell: fish v: 3.4.1 default: Bash v: 5.1.16
  running-in: yakuake inxi: 3.3.19
Garuda (2.6.4-2):
  System install date:     2021-11-09
  Last full system update: 2022-07-07 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:            media-samba-Movies.mount media-samba-Music.mount media-samba-Pictures.mount media-samba-Shows.mount nmb.service smb.service 

First thing is to always test an alternate kernel. The LTS kernel is usually the best one to start with unless your hardware is brand spanking new, (test the mainline kernel for the newest hardware).

The glib-networking package would seem the most likely candidate as the culprit.

1 Like

I'll test with the lts and regular kernels and get back.

Installed the LTS kernel and there was no change, downgraded the glib-networking package to this version /var/cache/pacman/pkg/glib-networking-1:2.72.0-1-x86_64.pkg.tar.zst and it still isn't mounting the shares.

It looks like I have a kernel package from 25 Jun, so I think I'll give that a try.

EDIT
Nope still not mounting.

You could try writing Systemd mount & automount units instead of using fstab.

Is this the actual name of a group on your system? (cat /etc/group) I ask because I don't think this is a default group.

Have you tried swapping out the non-numeric gid for the numeric one?

From man mount.cifs:

gid=arg
sets the gid that will own all files or directories on the mounted filesys‐
tem when the server does not provide ownership information. It may be spec‐
ified as either a groupname or a numeric gid. When not specified, the de‐
fault is gid 0. The mount.cifs helper must be at version 1.10 or higher to
support specifying the gid in non-numeric form. See the section on FILE AND
DIRECTORY OWNERSHIP AND PERMISSIONS below for more information.

From FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS:

If the uid's and gid's being used do not match on the client and server, the
forceuid and forcegid options may be helpful. Note however, that there is no cor‐
responding option to override the mode. Permissions assigned to a file when
forceuid or forcegid are in effect may not reflect the the real permissions.

I might be reaching here, but maybe you could try taking out the gid option and give that forcegid option a shot.

1 Like

This is a known regression in 5.18.9. 5.18.10 is worth trying, and if it's not fixed then it's possible to use kernel modules from an earlier kernel (which I'll detail if 5.18.10 doesn't work).

Edit: for reference, https://bbs.archlinux.org/viewtopic.php?pid=2044718#p2044718

4 Likes

Yes, I created the group. I have not tried changing to using the numeric gid.
I hadn't done to much with the options other than remove them for test a manual mount, since it was working with my setup.

It looks like there is a Nitrous 5.18.10 and a clear 5.18.10 in the repos right now, so I'll try those.

Installing the 5.18.10 kernel worked.

Thanks

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.