NVME permissions after changing to EXT 4 Format to user from ROOT  [Solved]

Message
Author
User avatar
beardedragon
Posts: 209
Joined: Wed Mar 27, 2019 11:26 pm

NVME permissions after changing to EXT 4 Format to user from ROOT

#1 Post by beardedragon »

I have a second internal NVME I'd like to change from XFAT to EXT4. Every time I have used Gparted it has ROOT as the owner. Is there a way to change permissons to user? I tried chown in Terminal but it did not take.

Code: Select all

System:
  Kernel: 6.15.11-1-liquorix-amd64 [6.15-12~mx25ahs] arch: x86_64 bits: 64 compiler: gcc v: 14.2.0 clocksource: tsc
    avail: acpi_pm parameters: audit=0 intel_pstate=disable amd_pstate=disable
    BOOT_IMAGE=/boot/vmlinuz-6.15.11-1-liquorix-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.1 tk: Gtk v: 3.24.48 wm: xfwm4 v: 4.20.0 with: xfce4-panel
    tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0 Distro: Debian GNU/Linux 13 (trixie)
Machine:
  Type: Desktop System: PELADN product: WO4 v: N/A serial: <superuser required>
  Mobo: PELADN model: WO4 serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: 5.24 date: 07/24/2024
Battery:
  Device-1: hidpp_battery_0 model: Logitech ERGO M575 Trackball serial: <filter> charge: 90%
    rechargeable: yes status: discharging
CPU:
  Info: model: AMD Ryzen 9 6900HX with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3+ gen: 3
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x44 (68)
    stepping: 1 microcode: 0xA404107
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 2356 min/max: 1600/4935 boost: enabled scaling: driver: acpi-cpufreq
    governor: performance cores: 1: 2356 2: 2356 3: 2356 4: 2356 5: 2356 6: 2356 7: 2356 8: 2356
    9: 2356 10: 2356 11: 2356 12: 2356 13: 2356 14: 2356 15: 2356 16: 2356 bogomips: 105398
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: ghostwrite status: Not affected
  Type: indirect_target_selection status: Not affected
  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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  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; IBRS_FW; STIBP: always-on; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsa status: Vulnerable: Clear CPU buffers attempted, no microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M] driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8,
    Writeback-1 bus-ID: 76:00.0 chip-ID: 1002:1681 class-ID: 0300 temp: 51.0 C
  Display: x11 server: X.Org v: 21.1.16 compositor: xfwm4 v: 4.20.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Sceptre F27 built: 2023 res: N/A dpi: 82 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 1 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: radeonsi inactive: wayland,device-0
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.7-2 glx-v: 1.4 direct-render: yes
    renderer: AMD Radeon 680M (radeonsi rembrandt LLVM 19.1.7 DRM 3.63 6.15.11-1-liquorix-amd64)
    device-ID: 1002:1681 memory: 3.91 GiB unified: no
  Info: Tools: api: eglinfo,glxinfo de: xfce4-display-settings x11: xdriinfo, xdpyinfo, xprop,
    xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio [Rembrandt/Strix]
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 76:00.1
    chip-ID: 1002:1640 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor driver: snd_pci_acp6x v: kernel
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63,
    snd_sof_amd_acp70 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 76:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 76:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.15.11-1-liquorix-amd64 status: kernel-api tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.4.7 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    port: f000 bus-ID: 02:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel modules: wl pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
  Device-3: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
    mode: 1.1 bus-ID: 3-3:2 chip-ID: 8087:0029 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2 lmp-v: 11
    sub-v: 21c1 hci-v: 11 rev: 21c1 class-ID: 6c0104
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, audio, telephony
Drives:
  Local Storage: total: 3.64 TiB used: 1.04 TiB (28.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Crucial model: CT1000P3PSSD8 size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: P9CR413 temp: 51.9 C scheme: MBR
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Crucial model: CT2000P3PSSD8 size: 1.82 TiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: P9CR40D temp: 60.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 990 EVO 1TB size: 931.51 GiB block-size:
    physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 10 Gb/s lanes: 1 mode: 3.2 gen-2x1
    tech: SSD serial: <filter> fw-rev: 1.00 scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 209.68 GiB (11.4%) fs: ext4
    dev: /dev/nvme1n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 8.7 MiB (3.5%) fs: vfat
    dev: /dev/nvme1n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 53.2 C mobo: N/A gpu: amdgpu temp: 51.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: dpkg pkgs: 2350 libs: 1218 tools: apt, apt-get, aptitude, nala, synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian.sources
    1: deb http://deb.debian.org/debian/ trixie main  contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ trixie-security main  contrib non-free non-free-firmware
    3: deb http://deb.debian.org/debian/ trixie-updates  main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.sources
    1: deb http://mirror.math.princeton.edu/pub/mxlinux/mx/repo/ trixie main  non-free
    2: deb http://mirror.math.princeton.edu/pub/mxlinux/mx/repo/ trixie ahs
Info:
  Memory: total: N/A available: 58.61 GiB used: 2.2 GiB (3.8%)
  Processes: 438 Power: uptime: 3h 49m states: freeze,mem,disk suspend: s2idle avail: deep
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 23.37 GiB
    services: upowerd,xfce4-power-manager Init: SysVinit v: 3.14 runlevel: 5 default: 5
    tool: service
  Compilers: gcc: 14.2.0 Client: shell wrapper v: 5.2.37-release inxi: 3.3.38
Boot Mode: UEFI
Rule #1 Backup Everything
Rule #2 Read Rule #1

User avatar
RedGreen925
Posts: 56
Joined: Sat Feb 01, 2025 3:21 pm

Re: NVME permissions after changing to EXT 4 Format to user from ROOT

#2 Post by RedGreen925 »

beardedragon wrote: Wed Sep 24, 2025 10:47 pm I have a second internal NVME I'd like to change from XFAT to EXT4. Every time I have used Gparted it has ROOT as the owner. Is there a way to change permissons to user? I tried chown in Terminal but it did not take.
I fail to see how using sudo mkdir /path/to/mountpoint, sudo chown username:username /path/to/mountpoint then sudo mount /dev/nvme1n1p1 /path/to/mountpoint does not work. It has never failed on numerous systems I have done it on in the twenty-six plus years I have used GNU/Linux.

Here you can see my system where those exact commands without the sudo as I enable root user were used.

Code: Select all

zeus@9600k:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  4.4M  3.2G   1% /run
/dev/nvme1n1p2   40G   19G   21G  47% /
tmpfs           5.0M   20K  5.0M   1% /run/lock
none            256K   65K  187K  26% /sys/firmware/efi/efivars
tmpfs           6.3G  139M  6.2G   3% /dev/shm
/dev/nvme1n1p3   79G   27G   52G  34% /home
/dev/nvme1n1p4  629G  561G   69G  90% /home/zeus/Music
/dev/nvme1n1p5  2.9T  750G  2.2T  26% /home/zeus/rtorrent
/dev/nvme0n1p4  351G  183G  164G  53% /home/zeus/rtorrent/storage
/dev/sda4       329G  133G  195G  41% /home/zeus/rtorrent/watching
/dev/nvme1n1p1  200M  6.3M  194M   4% /boot/efi
tmpfs           3.2G   16K  3.2G   1% /run/user/1000
You can see the /home/zeus/Music, /home/zeus/rtorrent, /home/zeus/rtorrent/storage and /home/zeus/rtorrent/watching are all on seperate partitions/drives. The ownership of those mount points were set to the user zeus:zeus using the chown command when necessary.

Code: Select all


zeus@9600k:~$ ls -l 
total 112
snip..
 4 drwxr-xr-x  4 zeus zeus  4096 Aug  7 21:48  Music/
snip...
 4 drwxr-xr-x 10 zeus zeus  4096 Apr 26 10:16  rtorrent/


zeus@9600k:~$ ls -l rtorrent/
total 28
snip...
4 drwxr-xr-x  4 zeus zeus 4096 Aug 21  2024 storage/
4 drwxr-xr-x  5 zeus zeus 4096 Aug 24  2024 watching/


How are you doing it, what do results of the commands used show? Post the details of it here as it is impossible to help without knowing these type of details.

User avatar
beardedragon
Posts: 209
Joined: Wed Mar 27, 2019 11:26 pm

Re: NVME permissions after changing to EXT 4 Format to user from ROOT  [Solved]

#3 Post by beardedragon »

RedGreen925 wrote: Thu Sep 25, 2025 9:50 am
beardedragon wrote: Wed Sep 24, 2025 10:47 pm I have a second internal NVME I'd like to change from XFAT to EXT4. Every time I have used Gparted it has ROOT as the owner. Is there a way to change permissons to user? I tried chown in Terminal but it did not take.
\

How are you doing it, what do results of the commands used show? Post the details of it here as it is impossible to help without knowing these type of details.
Well I managed in a different way.
Open Root Thunar here, next Open Properties as root, added Bob as Group, then changed access to Read & write. odd the other way would not work for me, but this did.
Rule #1 Backup Everything
Rule #2 Read Rule #1

User avatar
beardedragon
Posts: 209
Joined: Wed Mar 27, 2019 11:26 pm

Re: NVME permissions after changing to EXT 4 Format to user from ROOT

#4 Post by beardedragon »

Bye the way this also works for an external NVME.
Rule #1 Backup Everything
Rule #2 Read Rule #1

Post Reply

Return to “Software / Configuration”