• Bug#265824: cannot mount as user

    From Martin Godisch@1:229/2 to All on Sun Aug 15 10:10:07 2004
    From: [email protected]

    Package: loop-aes-utils
    Version: 2.12a-3
    Severity: normal

    # grep hdc /etc/fstab
    /dev/hdc /mnt/hdc iso9660 noauto,user,nodev,nosuid,umask=077,ro 0 0

    # mount /mnt/hdc
    mount: wrong fs type, bad option, bad superblock on /dev/hdc,
    or too many mounted file systems
    zsh: exit 32 mount /mnt/hdc
    # mount /dev/hdc
    mount: wrong fs type, bad option, bad superblock on /dev/hdc,
    or too many mounted file systems
    zsh: exit 32 mount /dev/hdc
    # mount /dev/hdc /mnt/hdc
    mount: block device /dev/hdc is write-protected, mounting read-only
    # umount /mnt/hdc

    $ mount /mnt/hdc
    mount: wrong fs type, bad option, bad superblock on /dev/hdc,
    or too many mounted file systems
    zsh: exit 32 mount /mnt/hdc
    $ mount /dev/hdc
    mount: wrong fs type, bad option, bad superblock on /dev/hdc,
    or too many mounted file systems
    zsh: exit 32 mount /dev/hdc
    $ mount /dev/hdc /mnt/hdc
    mount: only root can do that
    zsh: exit 1 mount /dev/hdc /mnt/hdc

    Kind regards,

    Martin

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (ignored: LC_ALL set to en_US.UTF-8)

    Versions of packages loop-aes-utils depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Max Vozeler@1:229/2 to Martin Godisch on Tue Aug 17 00:20:06 2004
    From: [email protected]

    Hi Martin,

    On Sun, Aug 15, 2004 at 09:45:55AM +0200, Martin Godisch wrote:
    Package: loop-aes-utils
    Version: 2.12a-3
    Severity: normal

    [cannot mount as user]

    # grep hdc /etc/fstab
    /dev/hdc /mnt/hdc iso9660 noauto,user,nodev,nosuid,umask=077,ro 0 0

    [snip]

    I think the umask= parameter causes this problem. It's not valid for
    iso9660 filesystems and causes mounts that take options from fstab to
    fail. The mount as root on the other hand works because it ignores fstab options if invoked as mount <dev> <target>.

    There should be an error message detailing the invalid parameter in
    dmesg if this is the cause.

    Cheers,
    Max

    --
    308E81E7B97963BCA0E6ED889D5BD511B7CDA2DC


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)