Peppermint OS Community Forum

Support => Advanced Topics => Topic started by: zebedeeboss on September 07, 2019, 06:11:34 am

Title: File Ownership [SOLVED]
Post by: zebedeeboss on September 07, 2019, 06:11:34 am
Hi

I have a drive mounted as follows in FSTAB

Quote
LABEL=F /mnt/F auto nosuid,nodev,nofail,x-gvfs-show 0 0

When I look at the properties of the file in Nemo it states that root is the owner and group

using
Code: [Select]
sudo chown -R zebedee:zebedee /mnt/F

completes but root is still the owner

example file listing shows
Quote
-rwxrwxrwx 1 root root  855798905 Oct 12  2018

Advise please.   Bearing in mind this drive is accessible from multiple distro's and has the same problem in all.

If I try and modify the permissions in a root session of Nemo - I can pick zebedee but then it immediately goes back to root ? Same thing for Group too

Regards Zeb...
Title: Re: File Ownership
Post by: murraymint on September 07, 2019, 06:38:40 am
Is this an NTFS partition?
Title: Re: File Ownership
Post by: zebedeeboss on September 07, 2019, 06:40:46 am
yeah sorry - forgot to mention that
Title: Re: File Ownership
Post by: murraymint on September 07, 2019, 06:41:38 am
OK, I've never done this but it looks worth a read:

https://askubuntu.com/questions/11840/how-do-i-use-chmod-on-an-ntfs-or-fat32-partition/887502#887502
Title: Re: File Ownership
Post by: zebedeeboss on September 07, 2019, 06:51:52 am
Thanks I will take a look.

The weird thing is these drives have worked fine for years...  It is only just recently that this has occurred

Regards Zeb...
Title: Re: File Ownership
Post by: PCNetSpec on September 07, 2019, 11:26:50 am
And the problem is ?

What I mean is, why is this a problem for you ? .. wouldn't it be just as easy to make the mountpoint read/write/execute by everyone ?

Just trying to figure out what the exact problem is and what your goals are ?
Title: Re: File Ownership
Post by: zebedeeboss on September 07, 2019, 11:56:33 am
What I mean is, why is this a problem for you ? .. wouldn't it be just as easy to make the mountpoint read/write/execute by everyone ?

You are right, the problem was I could not rename a file in MX19 beta this morning.   What would I need to change in fstab to do that please ?

Regards Zeb...
Title: Re: File Ownership
Post by: PCNetSpec on September 07, 2019, 05:13:10 pm
Can you give me the contents of your fstab ?

and the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
blkid
Title: Re: File Ownership
Post by: zebedeeboss on September 09, 2019, 09:24:05 am
Apologies - been busy

Spoiler (click here to view / hide)
zebedee@threadripper ~ $ sudo fdisk -l
Disk /dev/loop0: 88.7 MiB, 92983296 bytes, 181608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 94.7 MiB, 99250176 bytes, 193848 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 54.4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/nvme0n1: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 639FD5A5-851E-4CE0-9E0B-CDC7D5A736E9

Device              Start        End   Sectors   Size Type
/dev/nvme0n1p1       2048    2099199   2097152     1G Microsoft basic data
/dev/nvme0n1p2    2099200    6293503   4194304     2G Linux swap
/dev/nvme0n1p3    6293504  635439103 629145600   300G Linux filesystem
/dev/nvme0n1p4 1264584704 1264617471     32768    16M Microsoft reserved
/dev/nvme0n1p5 1264617472 1873283071 608665600 290.2G Microsoft basic data
/dev/nvme0n1p6 1934663680 1935704063   1040384   508M Windows recovery environment
/dev/nvme0n1p7  635439104 1264584703 629145600   300G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AA5C39BD-5D8E-4634-8A21-128757261363

Device          Start        End    Sectors  Size Type
/dev/sda1        2048    1050623    1048576  512M Microsoft basic data
/dev/sda2     1050624   17827839   16777216    8G Linux root (x86)
/dev/sda3    17827840  227543039  209715200  100G Linux filesystem
/dev/sda4   227543040  437258239  209715200  100G Linux filesystem
/dev/sda5   437258240  646973083  209714844  100G Linux filesystem
/dev/sda6   646973440 1695549439 1048576000  500G Linux filesystem
/dev/sda10 1952477184 1953523711    1046528  511M Microsoft basic data


Disk /dev/sdb: 7.3 TiB, 8001563221504 bytes, 15628053167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1B1EA40C-F732-4A22-BECB-A1D32A2D878D

Device      Start         End     Sectors  Size Type
/dev/sdb1      34      262177      262144  128M Microsoft reserved
/dev/sdb2  264192 15628052479 15627788288  7.3T Microsoft basic data

Partition 1 does not start on physical sector boundary.


Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A55F9D19-08DC-4C07-931F-C432575F68B7

Device          Start        End   Sectors  Size Type
/dev/sdd1        2048    1026047   1024000  500M Microsoft basic data
/dev/sdd2     1026048  420456447 419430400  200G Linux filesystem
/dev/sdd3   420456448  839886847 419430400  200G Linux filesystem
/dev/sdd4   839886848 1049602047 209715200  100G Linux filesystem
/dev/sdd5  1049602048 1259317247 209715200  100G Linux filesystem
/dev/sdd6  1259317248 1469032447 209715200  100G Linux filesystem
/dev/sdd7  1469032448 1678747647 209715200  100G Linux filesystem


Disk /dev/sdc: 2.7 TiB, 3000592977920 bytes, 732566645 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes
Disklabel type: gpt
Disk identifier: 963C229B-D38F-4F8A-9322-406739FA2574

Device     Start       End   Sectors  Size Type
/dev/sdc1    256 732566527 732566272  2.7T Microsoft basic data


Disk /dev/sdh: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0B9982B5-F5D4-4CE9-ADD1-FECE766B65B8

Device          Start        End    Sectors  Size Type
/dev/sdh1        2048 1677723647 1677721600  800G Linux filesystem
/dev/sdh2  1874335744 1875384319    1048576  512M EFI System


Disk /dev/sdi: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B37871EC-AC46-4762-962A-14FBC6E96CC4

Device      Start       End   Sectors   Size Type
/dev/sdi1    2048      6143      4096     2M Microsoft basic data
/dev/sdi2    6144    268287    262144   128M Microsoft basic data
/dev/sdi3  268288 488395119 488126832 232.8G Linux filesystem
zebedee@threadripper ~ $
[close]

Code: [Select]
zebedee@threadripper ~ $ blkid
/dev/nvme0n1p1: UUID="BF5B-0CB9" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="c6a5196e-3a51-4ffa-be84-4603d1d08997"
/dev/nvme0n1p2: UUID="a4597704-a482-4fab-9d7f-b1e07dc210b5" TYPE="swap" PARTUUID="2c958e2a-67f2-4482-b98d-9354b49cbbbb"
/dev/nvme0n1p3: LABEL="Peppermint" UUID="62410ee8-7e2b-43f0-aad7-8eaec645cf17" TYPE="ext4" PARTUUID="73db31aa-1583-4e7c-9765-dc8107097f77"
/dev/nvme0n1p5: LABEL="Windows 10" UUID="9292F81792F80191" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8acf41fe-0532-459f-bb41-df8a02711e68"
/dev/nvme0n1p6: UUID="32443A78443A3EC3" TYPE="ntfs" PARTUUID="7dc1323c-630b-41c3-9907-a20d4b923fc0"
/dev/nvme0n1p7: LABEL="ArcoLinux" UUID="2a620883-0d36-4bc4-91e1-5143503d7407" TYPE="ext4" PARTUUID="21bf7e6d-21ad-4a7a-aff1-38d0a5418e5f"
/dev/sda1: UUID="F489-9EE1" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="fc31967b-1183-4a2a-8c90-e199214dd6e8"
/dev/sda2: UUID="fef42237-4713-4ae2-8728-3e4991008b92" TYPE="swap" PARTUUID="03252434-c729-49d8-9680-3a0616589c54"
/dev/sda3: LABEL="Solus" UUID="9142955f-71f0-415c-bcba-3497c15b2f3e" TYPE="ext4" PARTUUID="e9e06f95-8b0e-46a2-a159-bc896003e395"
/dev/sda4: LABEL="PCLinuxOS" UUID="3c185fbc-c2bb-47f7-8f16-8fe0f422830a" TYPE="ext4" PARTUUID="fe798137-955f-40a0-a166-b6031651bd7f"
/dev/sda5: LABEL="antiX" UUID="803884e4-3797-4767-ab57-27db8347dfa4" TYPE="ext4" PTTYPE="dos" PARTUUID="45bac5be-535e-457b-9c04-da863a043573"
/dev/sda6: LABEL="Data2" UUID="dfe0315e-ca53-48ca-a499-124a73e6ee9e" TYPE="ext4" PARTUUID="ee1b4471-7c35-4af6-ab6c-e42156ad9361"
/dev/sda10: UUID="8CD1-39A9" TYPE="vfat" PARTUUID="a263c55d-e2ea-41f1-a79e-5c12aab795ee"
/dev/sdb2: LABEL="F" UUID="2C64709E64706C88" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0f725765-74ef-41c9-9f8e-8c73b061ceeb"
/dev/sdd1: SEC_TYPE="msdos" UUID="A454-339B" TYPE="vfat" PARTUUID="cb4f099e-2bc3-434c-886c-c8ef4ecfdaa8"
/dev/sdd2: LABEL="Tumbleweed" UUID="95116679-136c-4a27-b069-f83e11cc8e57" TYPE="ext4" PARTUUID="50666fae-c54f-45db-9f7b-f4dbe20b8f3b"
/dev/sdd3: LABEL="Salient KDE" UUID="b28561f7-4ac2-4874-9ef3-bc61d156dc1c" TYPE="ext4" PARTUUID="b2c36d05-e915-4138-be5c-c4acb0a389d3"
/dev/sdd4: LABEL="MX_Linux" UUID="dea3633d-98ea-4e94-94ba-4676a4bf1441" TYPE="ext4" PTTYPE="dos" PARTUUID="910107da-61f2-4696-abb5-4c103fc0f4ed"
/dev/sdd5: LABEL="Manjaro OpenBox" UUID="ff339e75-0355-4235-8953-c8fd886a0d51" TYPE="ext4" PARTUUID="980d9ccd-1221-4c10-b1a8-e2839662b71d"
/dev/sdd6: UUID="0d1c5c85-6934-4af6-960b-482cb539d32b" TYPE="ext4" PARTUUID="e04109d1-2103-4ef8-abc7-198193dee8ff"
/dev/sdd7: LABEL="Feren KDE" UUID="c8f1ca35-a6f5-4daf-a971-857c4dc4d362" TYPE="ext4" PARTUUID="6a2bb6ae-2b70-440a-95cd-b4a14c66ce09"
/dev/sdc1: LABEL="G" UUID="01D456426CFDF540" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="6be6dff0-5642-01d4-f86f-f335212bea00"
/dev/sdh1: LABEL="Data" UUID="33842076-a51a-4c4a-a1d2-74aa72889bad" TYPE="ext4" PARTUUID="60c27a6e-8893-44a9-865b-385f271d11e5"
/dev/sdh2: UUID="6AEC-0D47" TYPE="vfat" PARTLABEL="NO NAME" PARTUUID="62f4fc8e-d070-4277-9b05-6dcd42235266"
/dev/sdi1: UUID="23FD-5113" TYPE="vfat" PARTLABEL="grub" PARTUUID="2decf280-5a3b-4eff-9654-7434f32fa299"
/dev/sdi2: UUID="25BE-DFF5" TYPE="vfat" PARTLABEL="boot" PARTUUID="43d141f0-ac0e-420a-8cbb-c820836235da"
/dev/sdi3: UUID="db9aaa98-6c80-459e-aa97-7bb4a510c39c" TYPE="ext4" PARTLABEL="rootfs" PARTUUID="e2105a2b-33cb-4c51-b5d1-8b2a845ed42e"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
zebedee@threadripper ~ $

Regards Zeb...

Title: Re: File Ownership
Post by: PCNetSpec on September 09, 2019, 11:19:27 am
Quote
the problem was I could not rename a file in MX19 beta this morning

So does that mean you CAN rename a file on that partition in Peppermint (without elevated privileges) ?



From MX19, what's the output from
Code: [Select]
mount
and can we have the same from Peppermint too.
Title: Re: File Ownership
Post by: zebedeeboss on September 09, 2019, 11:34:28 am
Hi

yes I can rename a file in Peppermint

Spoiler (click here to view / hide)
zebedee@mx-2950x:~
$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=32880056k,nr_inodes=8220014,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=6588904k,mode=755)
/dev/sdc4 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=48729)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/var/lib/snapd/snaps/core18_1074.snap on /snap/core18/1074 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1098.snap on /snap/core18/1098 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/obs-studio_396.snap on /snap/obs-studio/396 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sdg1 on /mnt/Data type ext4 (rw,relatime,x-gvfs-show)
/dev/sda6 on /mnt/Data2 type ext4 (rw,relatime,x-gvfs-show)
/dev/nvme0n1p3 on /mnt/Peppermint type ext4 (rw,relatime,x-gvfs-show)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /mnt/G type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,x-gvfs-show)
/dev/sdd2 on /mnt/F type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,x-gvfs-show)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
zebedee@mx-2950x:~
[close]

From MX - I had more drives switched on

So F2 does not work in MX and rename is greyed out. So i am guessing this is an MX problem and should take it to their forums lol

Regards Zeb...
Title: Re: File Ownership
Post by: PCNetSpec on September 09, 2019, 03:11:06 pm
Seems like in MX the directories are being mounted via fuse

What's the output from:
Code: [Select]
mount
in Peppermint

and can I have the fstab from both OS's



Can you also post the output from:
Code: [Select]
ls -l /mnt
from both OS's
Title: Re: File Ownership
Post by: zebedeeboss on September 10, 2019, 04:32:24 am
mount in peppermint
Spoiler (click here to view / hide)
zebedee@threadripper ~ $ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=32882796k,nr_inodes=8220699,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=6587860k,mode=755)
/dev/nvme0n1p3 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=40,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2987)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/var/lib/snapd/snaps/telegram-desktop_908.snap on /snap/telegram-desktop/908 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1313.snap on /snap/gtk-common-themes/1313 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1098.snap on /snap/core18/1098 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_7396.snap on /snap/core/7396 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda6 on /mnt/Data2 type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdc1 on /mnt/Data type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
tmpfs on /tmp type tmpfs (rw,noatime,size=8388608k)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=6587860k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sde1 on /mnt/G type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdf2 on /mnt/F type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,noexec,relatime,size=6587860k,mode=755)
nsfs on /run/snapd/ns/telegram-desktop.mnt type nsfs (rw)
/var/lib/snapd/snaps/core_7713.snap on /snap/core/7713 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sdi1 on /mnt/I type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdj1 on /mnt/O type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdl1 on /mnt/M type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdn1 on /mnt/E type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdm1 on /mnt/H type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdh1 on /mnt/K type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdg1 on /mnt/L type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sdk1 on /mnt/J type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
zebedee@threadripper ~ $
[close]

/mnt command in Peppermint
Code: [Select]
zebedee@threadripper ~ $ ls -l /mnt
total 188
drwxr-xr-x 20 zebedee zebedee  4096 Aug 23 11:23 Data
drwxr-xr-x  4 zebedee zebedee  4096 Aug 25 10:14 Data2
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 E
drwxrwxrwx  1 root    root    81920 Sep  9 06:26 F
drwxrwxrwx  1 root    root     8192 Sep  7 14:54 G
drwxrwxrwx  1 root    root    16384 Aug 30 05:34 H
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 I
drwxrwxrwx  1 root    root     8192 Aug 30 05:34 J
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 K
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 L
drwxrwxrwx  1 root    root    24576 Aug 30 05:34 M
drwxrwxrwx  1 root    root    24576 Aug 30 05:34 O
drwxr-xr-x  2 root    root     4096 Jul 12 10:45 temp
zebedee@threadripper ~ $

/mnt command in MX19
Code: [Select]
zebedee@mx-2950x:~
$ ls -l /mnt
total 164
drwxr-xr-x 20 zebedee zebedee  4096 Aug 23 11:23 Data
drwxr-xr-x  4 zebedee zebedee  4096 Aug 25 10:14 Data2
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 E
dr-xr-xr-x  1 root    root    81920 Sep  9 06:26 F
dr-xr-xr-x  1 root    root     8192 Sep  7 14:54 G
drwxrwxrwx  1 root    root    16384 Aug 30 05:34 H
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 I
drwxrwxrwx  1 root    root     8192 Aug 30 05:34 J
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 K
drwxrwxrwx  1 root    root     4096 Aug 30 05:34 L
drwxrwxrwx  1 root    root    24576 Aug 30 05:34 M
drwxr-xr-x 25 root    root     4096 Sep  7 08:05 Peppermint
zebedee@mx-2950x:~

Regards Zeb...
Title: Re: File Ownership [SOLVED]
Post by: zebedeeboss on September 10, 2019, 04:43:16 am
Hi, fixed it thanks to your commands. I can now edit files on those two drives as per normal.

Not sure how but the F and G drive got mounted with different read/write permissions ??

So I went into gnome-disks and stopped the mounts - remounted it in the normal way (using gnome-disks) and checking the /mnt command it now shows drwxrwxrwx like the others.

Many Thanks

Regards Zeb...
Title: Re: File Ownership [SOLVED]
Post by: PCNetSpec on September 10, 2019, 09:24:23 am
Great news :)

Personally I tend to add mounts manually in fstab .. just means I know what they **should** be doing, so have a place to start if they're not doing as expected.