LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu 22.10 studio permissions ownership issue on a ntfs partition suddenly changes (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-22-10-studio-permissions-ownership-issue-on-a-ntfs-partition-suddenly-changes-4175721484/)

BW-userx 01-30-2023 01:38 PM

Ubuntu 22.10 studio permissions ownership issue on a ntfs partition suddenly changes
 
I changed my fstab and it still is the same ownership /w permissions. It was working between Ubunutu and Slackware yesterday and before that, now it says root owns everything on that ntfs partition, but in Slackware it is et properly as it should be.

I went into my copy of Windows and had it run fix disk/partition on it even no go.


today I see this

Code:

root@Ubutt-Butt:/home/userx# chown userx:users  /media/ntfs -R
root@Ubutt-Butt:/home/userx# ls -la /media/ntfs
total 1007460
drwxrwxrwx 1 root root    32768 Jan 30  2023  .
drwxr-xr-x 8 root root      4096 Jan 30 13:25  ..
drwxrwxrwx 1 root root        0 Jan 20 13:16 '$RECYCLE.BIN'
-rw-rw-rw- 1 root root 171529331 Apr 13  2022 '15 People With Rarest and Unique Beauty Around the World!-BQNGTfonBTg.mp4'
-rw-rw-rw- 1 root root    16263 Jan 24 06:32  adduser
drwxrwxrwx 1 root root      4096 Jan 26 11:40  Andreea-Munteanu
drwxrwxrwx 1 root root      4096 Jan 23 10:28  bin
drwxrwxrwx 1 root root    32768 Jan 28 16:49  blender-videos
drwxrwxrwx 1 root root        0 Jan 29 21:19  BL_proxy
-rw-rw-rw- 1 root root 110690067 Aug 30 11:46 'How to Paint Skin Like Disney Characters in Blender (Full Guide)-xIk3gF53cig.mp4'
-rw-rw-rw- 1 root root  28245132 Jan 23 20:28  HuionTablet_v15.0.0.89.202205241352.x86_64.deb
-rw-rw-rw- 1 root root  7069104 Jan 28 10:55  human-skin-pratice-file_V1.blend
-rw-rw-rw- 1 root root  7876836 Jan 28 15:17  human-skin-pratice-file_V2.blend
-rw-rw-rw- 1 root root  7863748 Jan 28 14:33  human-skin-pratice-file_V2.blend1

fstab

I even changed it from 'ntfs defaults'
to
'ntfs3 fmask=111,dmask=000 1 0" still no change. I can no longer access this via reg user
Code:

root@Ubutt-Butt:/home/userx# 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>
UUID=1892-D901                            /boot/efi      vfat    defaults  0 2
UUID=07f4cc1c-81df-42af-9658-55f6b80c8171 /media/data    ext4    defaults  0 2
UUID=3EFFB78F41A9A962                    /media/ntfs    ntfs3    fmask=111,dmask=000 1 0
UUID=f9f37dbc-8232-439d-824f-c5141b9adb31 /media/storage ext4    discard    0 2
UUID=82dfbc2d-b30b-4c2e-b98c-9b7e636618b3 /              ext4    discard    0 1
UUID=4677fb7a-a666-4cc9-8404-cc0dd51a5ce2 /home          ext4    discard    0 2
tmpfs            /tmp          tmpfs  defaults,noatime,mode=1777,size=1G 0 0


BW-userx 01-30-2023 01:58 PM

I figured it out. I unmounted it then changed ownership then remounted the partition

SOLVED
Code:

userx@Ubutt-Butt:~$ sudo umount /media/ntfs
userx@Ubutt-Butt:~$ ls /media/ntfs
userx@Ubutt-Butt:~$ ls -la /media/ntfs
total 8
drwxr-xr-x 2 root root 4096 Jan 24 07:30 .
drwxr-xr-x 8 root root 4096 Jan 30 13:25 ..

userx@Ubutt-Butt:~$ su root
Password:
root@Ubutt-Butt:/home/userx# chown userx:users /media/ntfs
root@Ubutt-Butt:/home/userx# ls -la /media/ntfs
total 8
drwxr-xr-x 2 userx users 4096 Jan 24 07:30 .
drwxr-xr-x 8 root  root  4096 Jan 30 13:25 ..

root@Ubutt-Butt:/home/userx# mount -a
root@Ubutt-Butt:/home/userx# ls -la /media/ntfs
total 1007460
drwxrwxr-x 1 userx users    32768 Jan 30  2023  .
drwxr-xr-x 8 root  root      4096 Jan 30 13:25  ..
drwxrwxrwx 1 userx users        0 Jan 20 13:16 '$RECYCLE.BIN'
-rw-rw-r-- 1 userx users 171529331 Apr 13  2022 '15 People With Rarest and Unique Beauty Around the World!-BQNGTfonBTg.mp4'



All times are GMT -5. The time now is 08:24 PM.