"Brian J. Murrell" <[EMAIL PROTECTED]> writes:

> Perl seems to be Mandrakesoft's interpreter of choice for writing
> it's utilities.  Why is msec written in Python?  On my server I can
> only find msec and spec-helper that need Python.

I don't think spec-helper is really needed on a server.

> msec doesn't seem so special that it needs Python in particular.  Why
> not stick to the (apparent) standard and (re-)write it in Perl?

I agree it would have been better to write it in perl but I'm not a
perl developer. If you want to contribute a port, it'll be great.

> Given that, msec seems to be printing in my log over and over again:
> 
> Apr  9 22:01:28 linux msec: changed owner of /usr/src from brian to root
> Apr  9 22:01:28 linux msec: changed group of /usr/src from brian to root
> 
> but the directory never changes.  Perhaps at level 2 (which my server
> is at) it is only supposed to be a warning (I can't tell from the
> script, I can't read Python, much less write it), but if that is the
> case should it not say something like:
> 
> msec: owner of /usr/src should be changed from brian to root
> 
> More a direction to the admin that a statement of what has been done
> when it hasn't actually been done.

I don't see what is going wrong here. Are you sure nothing else is
changing the owner/group. I have reproduced what you were trying to do
without problem:

[root@montreal root]# chown flepied.flepied /usr/src
[root@montreal root]# ll -d /usr/src
drwxr-xr-x    7 flepied  flepied      4096 Apr  8 16:44 /usr/src/
[root@montreal root]# msec
[root@montreal root]# ll -d /usr/src
drwxr-xr-x    7 root     root         4096 Apr  8 16:44 /usr/src/

-- 
Fred - May the source be with you

Reply via email to