Why I cannot change the ownership on mounting ntfs drive?
I give uid=1000,gid=1000,
etc in my /etc/fstab
file, but found it is not working. So I'm testing it out on command line:
root@host:~# mount | grep /mnt/tmp1 | wc
0 0 0
root@host:~# mount -o uid=1000 /dev/nvme0n1p4 /mnt/tmp1/
root@host:~# mount | grep /mnt/tmp1
/dev/nvme0n1p4 on /mnt/tmp1 type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
root@host:~# umount /mnt/tmp1
root@host:~# mount -o user_id=1000 /dev/nvme0n1p4 /mnt/tmp1/
root@host:~# mount | grep /mnt/tmp1
/dev/nvme0n1p4 on /mnt/tmp1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
$ apt-cache policy mount
mount:
Installed: 2.36.1-8ubuntu1
Candidate: 2.36.1-8ubuntu2
Version table:
2.36.1-8ubuntu2 500
500 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages
*** 2.36.1-8ubuntu1 500
500 http://archive.ubuntu.com/ubuntu impish/main amd64 Packages
100 /var/lib/dpkg/status
Am I missing something? (This is Ubuntu 21.10 impish)
Why I cannot change the ownership on mounting ntfs drive?
/mnt/tmp1
didn't have anything mounted on it, but didn't show that/dev/nvme0n1p4
isn't already mounted elsewhere. Is it? – muru Nov 15 '21 at 23:55/etc/fstab
line, either. – waltinator Nov 16 '21 at 00:18Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted
– xpt Nov 16 '21 at 00:47