title: Operation not permitted
body: <p>I want to run some command in python script</p>
  
  <pre><code>import fcntl
  
  KDSETLED = 0x4B32
  SCR_LED  = 0x01
  
  console_fd = os.open('/dev/console', os.O_NOCTTY)
  fcntl.ioctl(console_fd, KDSETLED, SCR_LED)
  </code></pre>
  
  <p>I've set <code>a+rw</code> for <code>/dev/console</code> but when I run script from regular user:</p>
  
  <blockquote>
    <p>fcntl.ioctl(console_fd, KDSETLED,
    SCR_LED) IOError: [Errno 1] Operation
    not permitted</p>
  </blockquote>
  
  <p>What should I do if I need to run that script from regular user?</p>