Re: FS-mounting as user woes

From: Alan Chandler (alan_at_chandlerfamily.org.uk)
Date: 08/03/04

  • Next message: John Summerfield: "Re: Package to delete pre-incoming mail?"
    To: debian-user@lists.debian.org
    Date: Tue, 3 Aug 2004 00:08:32 +0100
    
    

    On Monday 02 August 2004 13:17, Robert Waldner wrote:
    > On Mon, 02 Aug 2004 18:20:01 +0800, John Summerfield writes:
    > <...>
    >
    > >>But on my lapdog, the same doesn't work:
    > >> /dev/sda1 /mnt/stick vfat defaults,user,noauto 0 0

    What permissions has /sda1, and how is it created?

    Using udev, you can tweek what happens in the /etc/udev/permissions.d
    directory. Here is an example that I do to set permissions
    on /dev/dvd /dev/cdrw and /dev/flash

    (see earlier post about using udev to see how I got these devices)

    kanger:/etc/udev/permissions.d# more 01-akcspecial.permissions
    dvd:root:cdrom:664
    cdrw:root:cdrom:660
    flash:alan:alan:770

    -- 
    Alan Chandler
    alan@chandlerfamily.org.uk
    First they ignore you, then they laugh at you,
     then they fight you, then you win. --Gandhi
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: John Summerfield: "Re: Package to delete pre-incoming mail?"

    Relevant Pages

    • Re: Change permissions on /dev file? [SOLVED ROOT ONLY XSANE execution problem]
      ... The permissions are set there. ... I haven't quite got used to this newudev stuff... ... This is the same kind of behaviour as for CD-ROM, but is not right in this case, as I want to share the scanner across the net In fact, I'm not happy with the general trend of assuming the desktop user "owns" everything, as to me, flexibility in sharing resources is a very large part of what Linux is or should be about. ... it appears that the perms files need to be named the reverse of the udev ...
      (Fedora)
    • Re: Change permissions on /dev file? [SOLVED ROOT ONLY XSANE execution problem]
      ... The permissions are set there. ... I haven't quite got used to this newudev stuff... ... This is the same kind of behaviour as for CD-ROM, but is not right in this case, as I want to share the scanner across the net In fact, I'm not happy with the general trend of assuming the desktop user "owns" everything, as to me, flexibility in sharing resources is a very large part of what Linux is or should be about. ... it appears that the perms files need to be named the reverse of the udev ...
      (Fedora)
    • Re: udev: how to do it right?
      ... >> Another problem I have been running into are the permissions. ... > created by udev (udev only creates node exported through sysfs, ... Devfs and the old dev made ... After loading the ide-disk module, ...
      (Debian-User)
    • [ANNOUNCE] udev 051 release
      ... I've released the 051 version of udev. ... The major change in this release is the fact that the .permissions files ... o fix gcc 2.96 issue in libsysfs ... o udevd: ...
      (Linux-Kernel)
    • Re: udev permission problem - dvd-ram mounts only read/writeable for root
      ... Udev is doing everything as it is supposed to... ... wrong permissions of the data on the DVD-RAM itself ... It seems that files and directories on a udf file system (used by ...
      (Ubuntu)