> But: > [jacek@koniu jacek]$ls -l /mnt/cdrom/index.htm > -r-xr-xr-x 1 root root 869 lis 15 1997 /mnt/cdrom/index.htm > > As you can see the file (and all other files on the CD) have all execute > bit set, although filesystem is mounted by user and with "noexec". The exec bit doesn't mean anything. noexec tells that the exec syscall must fail and nothing about the flags. The permission mask for filesystems that lack permission information is determined by mount options for filesystems. And maybe the default value comes form your umask setting. You can have files with x-bit on any noexec partition - e.g. /home. But you can't exec them because of noexec. Try it! --- Meelis Roos e-mail: mroosat_private www: http://www.cs.ut.ee/~mroos/
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:43:14 PDT