Re: /dev files keep no permissions



On Wed, Sep 23, 2009 at 09:44:12AM +0300, Manolis Kiagias wrote:
herbs wrote:
Hi Daemons,
I wonder whats wrong there:

I need to change the permissions from
/dev/speaker 600 to /dev/speaker 666
--all works ok.

Then I reboot the computer and the permissions of the file is back to 600.

How to make it permanent? Is is normal that /dev files do what they
want?

Yes :)
The /dev filesystem is dynamic, it is recreated at every boot. For your
setting to persist, enter it in /etc/devfs.conf

The examples in there will help you out, although probably this is the
line you need:

perm speaker 0666

One important caveat; /etc/devfs.conf works only for devices that are
available at boot time. For devices that are created during runtime, like
e.g. usb devices, you have to use /etc/devfs.rules instead. The format of both
files is explained in their respective manual pages.

Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpKhtNp47xh4.pgp
Description: PGP signature



Relevant Pages

  • Re: /dev files keep no permissions
    ... herbs wrote: ... I wonder whats wrong there: ... Then I reboot the computer and the permissions of the file is back to 600. ...
    (freebsd-questions)
  • /dev files keep no permissions
    ... I wonder whats wrong there: ... Then I reboot the computer and the permissions of the file is back to 600. ...
    (freebsd-questions)
  • Re: XP Group/File Permissions (Possible BUG found)
    ... groups and permissions. ... the feature sucks, and causes disruption in a production ... >This is well documented and by design. ... >> permissions, until a system reboot. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XP Group/File Permissions (Possible BUG found)
    ... You don't have to reboot, ... And its only when you add someone new to a group-- not when you change file ... > groups and permissions. ... >>local system or the domain, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Cant view reg key HKLMSWMSWindowsCurrentVersion
    ... Yes, we checked all of the permissions, but were unable to propogate them to ... A reboot fixed the problem completely. ... Microsoft MVP: Windows Server ... database server running SQL 2000. ...
    (microsoft.public.windows.server.general)