I have multiple drives mounted where I want them but all the permissions say owner root / user root
I can view content but can not add files, open files, or move or delete files on these mounted drives.
I am listed as member of root, users,vitualboxusers
So why can’t I have full access??
bootefi → /dev/sda1
swap → /dev/sda2
/ → /dev/sda3
/home → /dev/sda5 ext4 full access
/home/rick/e-drive → /dev/sda4 NTFS read only
/home/rick/special → /dev/sda6 ext4 read only
/run/media/rick/other → /dev/sda7 ext4 read only
/Programing -->/dev/sda8 ext4 read only
For the “ext4” drives, ownership is part of the file system. As root, change the owner of the disk. Or change the permissions.
For “/home” it is usual to have owner root. But each user has their own directory within that file system, and they own their own directory.
You could, perhaps, do (as the root user)
cd /Programming
chown techwiz03 .
Change that “techwiz03” to your login user. Then you should be able to write to that disk.
If you want several people to be able to write to it, then try:
cd /Programming
chmod og+w .
That will give everybody write permission.
For the vfat file systems, ownership is faked by mount attributes. It is best to not change that for “/boot/efi” because it is a critical file system that affects booting. But for your other vfat volume you could try changing the options column from “defaults” to “uid=1000” so that the files are owned by user 1000. The man pages for mount(8) list other options for “vfat”.
According yast user & group security I am user 1000 member of user, virtualboxuser, and root
According to /etc/fstab /dev/sda4 is vfat, According Yast it is vfat,ntfs and according to windows in virtualbox it is ntfs.
Man mount says vfat refers to vfat and ntfs
Before i upgraded 15.0 to 15.1 /dev/sda4 showed as vfat in ftstab and as ntfs in Yast partitioner now yast shows vfat,ntfs and if try to edit that partition under filesystem type there is type vfat but no type ntfs.
one more try
Signed in as root , tried to chown to root:users on /dev/sda4 mounted on /home/rick/e-drive and after a log pause it says ownership can not be changed.
So anyone can see the files but can’t open any save any copy any unless they are root.
Your UUID of “ABC9-795A” is similar to what I see for FAT drives (or “vfat”). The UUID for NTFS is usually longer, as in the example that you show. So I think it likely that your drive is FAT, not NTFS.
that drive was original drive d: in windows
windows ‘c:’ crashed some time after making drive d: ntfs
Susequently I kept d: unchanged Put linux onto space occupied by old c: and loaded windows as virtualbox in linux with the old d: as shared drive.
after many upgrades to linux I still had read/write access to shared drive now called e-drive under home/rick/e-drive but after re-install of 15.1 and the changes from my other posts now only root can access and make changes.