All of lore.kernel.org
 help / color / mirror / Atom feed
* Buglet: Mount iso-9660 always have exec bit set (755)
@ 2001-02-23 10:18 Mircea Ciocan
  2001-02-23 10:46 ` Umbra
  0 siblings, 1 reply; 2+ messages in thread
From: Mircea Ciocan @ 2001-02-23 10:18 UTC (permalink / raw)
  To: lk


	For a while I'm annoyed by a buglet:

When trying to mount an ordinary CD like (as root):

mount /dev/cdrom /mnt/cdrom -o ro,noexec

it works, but all files have the execute attribute set for all users,
and that is annoying in 

MidnightCommander and other filemanagers that try execute the file as a
program instead of opening it based on file asociation set.

Mount version is: mount-2.10o 
kernel2.4.1ac10 but see the same behaviour on all 2.4.x kernels.

	Is that something that I miss or is a small buglet in mounting isofs
???

		Thank you 

		Mircea C.

P.S: That problem didn't arise when using 2.2.x.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Buglet: Mount iso-9660 always have exec bit set (755)
  2001-02-23 10:18 Buglet: Mount iso-9660 always have exec bit set (755) Mircea Ciocan
@ 2001-02-23 10:46 ` Umbra
  0 siblings, 0 replies; 2+ messages in thread
From: Umbra @ 2001-02-23 10:46 UTC (permalink / raw)
  Cc: lk

On Fri, 23 Feb 2001, Mircea Ciocan wrote:

>
> 	For a while I'm annoyed by a buglet:
>
> When trying to mount an ordinary CD like (as root):
>
> mount /dev/cdrom /mnt/cdrom -o ro,noexec

Try mount /dev/cdrom /mnt/cdrom -o ro,noexec,mode=0444

>
> it works, but all files have the execute attribute set for all users,
> and that is annoying in
>
> MidnightCommander and other filemanagers that try execute the file as a
> program instead of opening it based on file asociation set.
>
> Mount version is: mount-2.10o
> kernel2.4.1ac10 but see the same behaviour on all 2.4.x kernels.
>
> 	Is that something that I miss or is a small buglet in mounting isofs
> ???
>
> 		Thank you
>
> 		Mircea C.
>
> P.S: That problem didn't arise when using 2.2.x.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-23 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-23 10:18 Buglet: Mount iso-9660 always have exec bit set (755) Mircea Ciocan
2001-02-23 10:46 ` Umbra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.