I have loaded zoneminder 1.24 on ubuntu 9.1.
being a newbe to Linux I am having to learn the OS at same time as the application.
I was having a problem with getting zoneminder to open the file /dev/video0, I was getting a permissions denied result in the enhanced log.
I did some searching and found that if I use 'sudo chmod 666 or 777 /dev/video0' that I can get the permissions on the file to change.
with the permissions changed I am now able to get the system to work just fine.
the problem is that when I reboot the box the file permissions go back to what they were and I have to re-enter the chmod command.
how do I set permissions in ubuntu for this file and heve them stick?
/dev/video0 File Permissions in UBUNTU
Hi,
As no-one else has answered, I'll try to help, but with a huge caveat - I'm a newbie as well, at most a couple of weeks further down the road.
My understanding of this issue is that while it can be solved with chmod it's possibly overkill, the real problem is likely to be related to access via Apache. The first time I installed zm on the system I use it just worked - I didn't go through any of this, but after breaking the thing and re-installing on a clean system, I had the same behavior to fix.
'sudo adduser www-data video' solved it for me.
PW
As no-one else has answered, I'll try to help, but with a huge caveat - I'm a newbie as well, at most a couple of weeks further down the road.
My understanding of this issue is that while it can be solved with chmod it's possibly overkill, the real problem is likely to be related to access via Apache. The first time I installed zm on the system I use it just worked - I didn't go through any of this, but after breaking the thing and re-installing on a clean system, I had the same behavior to fix.
'sudo adduser www-data video' solved it for me.
PW
Thanks!kentcoast wrote:Hi,
As no-one else has answered, I'll try to help, but with a huge caveat - I'm a newbie as well, at most a couple of weeks further down the road.
My understanding of this issue is that while it can be solved with chmod it's possibly overkill, the real problem is likely to be related to access via Apache. The first time I installed zm on the system I use it just worked - I didn't go through any of this, but after breaking the thing and re-installing on a clean system, I had the same behavior to fix.
'sudo adduser www-data video' solved it for me.
PW
that really helps!
I have webmin on my ubuntu, and what I did was to enter in the Users and Groups config page, and add the "www-data" user to the "video" group.
I guess that's what the command does too...
thanks for the great post, solved my problem completely!