Chmod of /dev/ulptN
freebsd at edvax.de
Tue Feb 12 12:36:47 UTC 2013
On Mon, 11 Feb 2013 18:33:12 -0800, Ronald F. Guilmette wrote:
> I exactly followed the directions here:
> Nontheless, my /dev/lpt0 node still only has permissions set to 0644.
In the subject you've mentioned /dev/ulpt (USB LPT port), and
now /dev/lpt (conventional LPT port), still the same applies
Because the content of /dev is dynamically generated and maintained
as a virtual file system. This service is controled by devfs (devices
created at startup time) and devd (devices dynamically created during
runtime), both with their respective configuration files devfs.conf
and devfs.rules, and devd.conf. Those files need to be adjusted. To
make the change become active, restart the service.
> What did I do wrong?
You did not use the current proper method. :-)
Make the change you need in /etc/devfs.conf, e. g.
perm ulpt0 0664
if you need rw/rw/r. You can also use "own user:group" in
a similar way if you need to change file owner or group.
See "man devfs.conf" for details.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions