New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Almalinux 9 - new partition created but root has ownership
I re-installed almalinux on a storage vps. I want to mount the disk as /data. I setup up the same via manual partitioning during the install. All good.
When I login my regular user, part of the wheel group cannot access that as it's owned by root.
What is the best way to manage this? Definitely I do not want to use sudo for doing a ls.
Thanks in advance!


Comments
What is an issue with chown? Should work for ext4
What are the current permissions for /data ?
Can you show your fstab as well?
drwxr-xr-x. 2 root root 6 Oct 17 16:19 dataYou said in your opening post:
Do you mean to say that as an ordinary user,
ls /datadoesn't work?Ls probably does. Need to write as well.
Which makes sense, as root has read/write/execute, the group is root (with read/execute), and everyone has read/execute.
If you want the wheel group to have read/write, then:
Now your group will be able to write to it.
Or just su to root and do whatever you want. The Internet police are not going to arrest you because you don't use sudo.
Over the years Have I been afraid for nothing all these years?
sudo rm -rf /fearand move on.