Mount 2nd disk as 1st disk - allow all users/specifi group read write

I have setup a Hyper-V VM with fedora 41 xfce, with 2 hard drives. When I log, I can see the 2nd hard drive but when I try to access it, I get prompted to enter my password and then get mounted.
I need to make the 2nd hard drive get mounted as the 1st one and give read write access to all users or specific group.
I was able to change owner to my user and give read/write to all users using

sudo chown…
sudo chmod 777…
In gnome-disks, I see it is not mounted before accessing the data disk

Also, in spite of the fact that I am the owner, I cant change any permission and I should use sudo to do any changes such as chmod.

So the main question is why it is not getting mounted automatically in spite in gnome-disks it is configured to be mounted at system startup

Thanks for your help

What is strange also, is that in fstab I don’t see this 2nd disk

Since the disk is not present in /etc/fstab, it is not mounted at startup.

This is confirmed by the fact that in GNOME Disks, the Use Session Defaults toggle switch is on (irrespective of the settings grayed out). You can switch it off, then edit the flags, mount points etc. After hitting OK, an entry should be created in etc/fstab.

Make sure to keep the nofail flag, as otherwise possible errors might bring the system to an unbootable state (emergency mode).

Is the disk formatted to a native Linux file system? If not (e.g. NTFS), and still having issues with access rights, you might want to replace the nosuid flag with uid=/gid=/umask= ones, adding the appropriate values.

So many thanks Mike for the tip, yes, turning it off , editing the flags did the job but I don’t see the label data as before, I see /mnt/0f999…

instead of the label “Data”

You’re welcome!

You’ll have to change the mount point in /etc/fstab, or by using GNOME Disks if you prefer. See the screenshot from your post above, where the mount point used by default can be noticed. You can change that to /mnt/data or another folder to your liking.