Sample Header Ad - 728x90

Sharing a Partition Between Windows and Linux Throws Permission Errors

1 vote
1 answer
1011 views
I created a new partition in Windows 10 formatted as Fat32, so that I could work with files located in one place despite being logged into my MX Linux installation or Windows 10. While logged into Windows 10, I can move files in and out of the partition no problem. While logged into MX Linux, the drive wasn't mounted, so I modified /etc/fstab by adding this line: UUID=3F02-4BFD /mnt/sda4 vfat defaults 0 2 Then I rebooted, only to find I couldn't mkdir inside /mnt/sda4. So I looked up the permissions and found that every owner and group was root. So I logged into root and attempted to run: chown foo:users sda4/ and got the error: chown: changing ownership of 'sda4/': Operation not permitted Note that I got with this sudo and while actually logged in as the root user. I did some research and apparently there might be some immutability properties so I ran: lsattr sda4/ And got this on all of the directories: lsattr: Inappropriate ioctl for device While reading flags on sda4/foo Currently stuck at this point.
Asked by so1120 (115 rep)
Jul 16, 2020, 01:39 PM
Last activity: Jul 16, 2020, 05:41 PM