Download | Plain Text | No Line Numbers


  1. diff -Naur spectrumctl/spectrum/spectrum.py spectrumctl/spectrum/spectrum.py
  2. --- spectrumctl/spectrum/spectrum.py 2010-07-20 21:49:07.000000000 +0200
  3. +++ spectrumctl/spectrum/spectrum.py 2010-07-21 01:23:18.000000000 +0200
  4. @@ -125,11 +125,7 @@
  5. # on windows, there is no real way to get the info that
  6. # we need
  7. return 0, "ok"
  8. -
  9. - # we must be root
  10. - if os.getuid() != 0:
  11. - raise RuntimeError( "User", "Must be root to start spectrum" )
  12. -
  13. +
  14. # check permissions for config-file:
  15. env.check_ownership( self.config_path, 0 )
  16. # we don't care about user permissions, group MUST be read-only
  17.