Re: Making chmod changes static

From: Simon Barner (barner_at_in.tum.de)
Date: 05/31/04

  • Next message: hugle: "Re[3]: routing for 1000 users and 10Mbit internet."
    Date: Mon, 31 May 2004 22:59:58 +0200
    To: Gerard Seibert <gerard-seibert@rcn.com>
    
    
    

    > I need to make both the floppy drive (fd0), the internal zip dive (afd0)
    > and the cdrom (acd0) usable by any user without having to use 'sudo' or go
    > the 'su' route.

    Hi,

    you want /dev/devfs.conf (see devfs(8) for more details).

    E.g.:

    # Commonly used by many ports
    link acd0 cdrom
    perm cdrom 0660
    own cdrom root:operator

    # burncd
    perm acd0 0660

    # xcdroast
    perm xpt0 0660
    perm pass0 0660

    This will make your setting persisting over reboots.
    In order to apply your changes to that file (without rebooting),
    simply run (as root)

    /etc/rc.d/devfs restart

    Simon

    
    



  • Next message: hugle: "Re[3]: routing for 1000 users and 10Mbit internet."

    Relevant Pages

    • Re: /etc/devfs.conf not working properly
      ... the original permissions are being retained. ... link acd0 cdrom ... own cdrom root:operator ... perm acd0 0770 ...
      (freebsd-questions)
    • Re: CD access permissions
      ... Give members of the cdrom group permissions on the CD-ROM drives. ... perm xpt0 0660 ... link cd0 cdrom ... - Give users the ability to mount stuff. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: FBSD-6 usb/scanner-access-rights
      ... One thing you could do is make the groups usb and cdrom and make them ... add path 'uscanner*' mode 0660 group usb ... perm xpt0 0660 ... link cd0 cdrom ...
      (freebsd-stable)
    • Re: CD Writing from non root accounts
      ... # Allow members of the group wheel to mount the cdrom. ... perm /dev/pass0 0666 ...
      (freebsd-questions)