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

Re: kernel 2.4 and executable permission for mounted fs



Andreas Goesele <Goesele@hfph.mwn.de> writes:

> Hi,
> 
> as it is well known the 2.4 kernel series mixed up the permissions set
> at mounting for instance vfat and iso9660 partitions: As default all
> files are marked as executable, creating a problem if you copy them to
> ext2. One can't change that using umask as removing the executable bit
> with umask 1 also applies to directories.

[...]

> If there are no 2.4 kernels with the problem fixed - are there any
> workarounds? Put differently: As 2.4 users how do you get around that
> problem?

I found a workaround. The "well-documented" option "showexec". From
man mount:

       sys_immutable, showexec, dots, nodots, dotsOK=[yes|no]
              Various misguided attempts to force Unix or DOS conventions onto a FAT file
              system.

It's indeed only a workaround, as it IMHO doesn't make much sense to
show the executable tag for MS-executables. But better than nothing,
anyway.

If anybody has a real solution: A way on a stable 2.4.x kernel to show
all files on (for example) vfat as non-executables - please, tell us.

Andreas Goesele



Reply to: