[oi-dev] ext2 on OI Hipster 20151003 follow-up

Jean-Pierre André jean-pierre.andre at wanadoo.fr
Wed Oct 14 20:08:23 UTC 2015


Bruce Lilly wrote:
> On Wed, Oct 14, 2015 at 12:40 PM, Jean-Pierre André
> <jean-pierre.andre at wanadoo.fr> wrote:
>
>> What is this file mode changing about ?
>
> See http://openindiana.org/pipermail/oi-dev/2015-October/003804.html
>
Depends on your use case...

If you do not want to define the user mapping to
Windows, you just have to mount with option
fmask=0111 to hide the execution right.

If you want the rights interoperable with Windows,
you have to bear the Windows rules, which usually
define an inherited execution right for files created
by Windows. You can however define an inheritance
rule in the parent directory so that files created
by Windows in that directory do not have the
execution right. You can even make this rule
inheritable to inner directories, to only have to
set the rule on the root directory. This is only
for files created by Windows, for files created by
OpenIndiana the Posix rules apply.

Jean-Pierre







More information about the oi-dev mailing list