I have a triple boot system: macOS, Windows (Fast Boot disabled), and Xubuntu. Beside the OS drive, there's a data drive formatted in NTFS.
I use ntfsusermap
as mentioned in osxfuse's NTFS-3G guide to write to the drive on macOS. However, I can't write normally under Xubuntu anymore. For example:
touch new_file
does createnew_file
, but it complainssetting times of 'new_file': Permission denied
.rm new_file
complainsremove write-protected regular empty file 'new_file'
.rm -f
works.
I think this ntfsusermap
is the problem, I've never touched the permission on Windows. What can I do to fix or at least debug this?
Update: getacl
on the drive gives me this:
# file: .
# owner: root
# group: dialout
user::rwx
group::rwx
other::rwx
And on any file, folder inside:
# file: xxx
# owner: 501
# group: dialout
user::rwx
group::rwx
other::rwx
Update 2: My fstab
line, I just copy the line in this answer:
UUID=xxxx /media/DATA ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0
ntfsusermap
does. – Minh Nghĩa Dec 27 '21 at 08:30