Everytime I reboot my Ubuntu server, I have to manually run "sudo chmod 777 /dev/video0" in order to get video going again.
What keeps happening to reset the permissions back during a reboot?
/dev/video0 keeps resetting permissions
-
- Posts: 15
- Joined: Wed Jun 17, 2009 12:53 am
if you are using Debian (at least i do):
nano /etc/rc.local
add the following line :
chmod 777 /dev/video0
reboot your machine.
You can also make a new file, put the command in and make it executable:
cd /etc/init.d
nano script
add :
chmod 777 /dev/video0
Save and exit...
chmod 775 script
update-rc.d script defaults
...done, now with every restart the permissions will be set to your video device.
regards.
rockmanchile
nano /etc/rc.local
add the following line :
chmod 777 /dev/video0
reboot your machine.
You can also make a new file, put the command in and make it executable:
cd /etc/init.d
nano script
add :
chmod 777 /dev/video0
Save and exit...
chmod 775 script
update-rc.d script defaults
...done, now with every restart the permissions will be set to your video device.
regards.
rockmanchile
Thanks rockmanchile, that worked.
I also found another link about this which will probably resolve the problem too.
http://www.zoneminder.com/forums/viewto ... mfix+chmod
I also found another link about this which will probably resolve the problem too.
http://www.zoneminder.com/forums/viewto ... mfix+chmod
-
- Posts: 15
- Joined: Wed Jun 17, 2009 12:53 am