[SATLUG] Re: Cron issues with strange sudo twist

Bruce Dubbs bruce.dubbs at gmail.com
Fri Jan 23 23:22:40 CST 2009


Marc Ripley wrote:
> Interesting thing:
> If I run the arecord as su "sudo" it works from a remote login.  So
> evidently some hardware access permissions which are available in gome
> sessions but not in cron or remote sessions work as a superuser.  I
> dont know how to use this discovery to resolve my issue.  I don't want
> to run the jobs under a root cron because the files will not be owned
> by my log in user ID.

Figure out what device or file is causing the problem and change the group to 
something where you are a member.  Then make sure that device or file's group 
permissions will allow you to do what you need.

   -- Bruce



More information about the SATLUG mailing list