I have my FreeBSD configured to use acpi but I like to use KLaptopDaemon which uses apm. FreeBSD can interface apm to acpi for application compatibility. Everytime at boot I suspect the it looks at rc.conf and sees that I want apm support enabled and creates the device node, however, I have to manually set the permissions everytime so accounts besides root can access it. I was wondering if anyone knew if there was a configuration that would set the permissions of files and folders at startup. Would be a lot nicer than creating a startup script...
Edit /etc/devfs.conf, and add the line (or something similar to fit your specific needs):
perm apm 0660
You could also change the owner with:
own apm user:group
As for setting permissions on files and folders on startup... which files and folders, and under what circumstances would the permissions be set?
Quote from: EpicOfTimeWasted on April 25, 2005, 07:33 PM
Edit /etc/devfs.conf, and add the line (or something similar to fit your specific needs):
perm apm 0660
You could also change the owner with:
own apm user:group
As for setting permissions on files and folders on startup... which files and folders, and under what circumstances would the permissions be set?
I want to change the permissions of /dev/apm
Quote from: EpicOfTimeWasted on April 25, 2005, 07:33 PM
Edit /etc/devfs.conf, and add the line (or something similar to fit your specific needs):
perm apm 0660
You could also change the owner with:
own apm user:group
As for setting permissions on files and folders on startup... which files and folders, and under what circumstances would the permissions be set?
Yep, that worked... Thanks a lot! I suppose its not necessary to change the permissions at startup.