[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: Mount permissions weired



David wrote: 
> Something that I am curious to learn more about, if anyone has ideas, is
> the discussion at the above link about the need to have at least 'chmod
> 111' on mountpoint directories.
> 
> I have not found that necessary, and so I wonder if that advice is
> outdated, or somehow not relevant to current ext4 on Debian.

It is not relevant to Linux of any distribution that I am aware
of. The AIX source code descends from AT&T System V Release 4.3,
and has been in IBM's hands every since. Linux was written from
scratch almost five years later.

> In fact it has been my practice for some years now to 'chown root:' and
> 'chmod 0' on all my mountpoints and set the immutable bit on them, to avoid
> accidentally writing into directories that are intended only as
> mountpoints

I don't know any reason not to do that, in those circumstances. 

-dsr-


Reply to: