Re: Mount permissions weired
Hi,
On Fri, Jul 11, 2025 at 07:29:15PM +0200, Hans wrote:
> > The ownership of the underlying mount point is ignored (and should
> > generally be set to root:root mode 755 to avoid possible complications
> > in odd cases). You need to chown the directory *after* it is mounted.
>
> This is not, what I wanted.
Why wasn't it what you "wanted"? It answers your questions.
> The questions are:
>
> 1. Why does this happen only with one of the 3 drives?
Because you are probably confused and did something different with the
one that is different.
A mount point is just a directory that has its own permissions, then you
mount something on it and it has the permissions of whatever you
mounted. So there are two sets of permissions to consider for each one:
before mounting and after.
> 2. What did I do wrong with this drive?
You have simply probably forgotten to set them in one case (or did set
them in one case, but not in the other two).
> All 3 are ext4 formatted.
> All 3 are seperate hardware.
It doesn't matter. What you are seeing is completely normal if we assume
you did not set the permissions how you wanted both before and after
mounting.
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Reply to: