LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-30-2023, 01:38 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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

Last edited by BW-userx; 01-30-2023 at 01:43 PM.
 
Old 01-30-2023, 01:58 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Video - Studio 13.37 vs KXStudio, AV Linux, Dream Studio, and Ubuntu Studio l0wt3ch Studio 13.37 1 12-05-2012 07:45 PM
Studio to studio or studio to transmitter stable open source solution MATRIX_q Linux - Server 0 08-25-2011 03:44 AM
NTFS File Ownership Changes? ahwm General 9 04-13-2010 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration