[Mondo-devel] Mondo should be in sbin?
Brought to you by:
bcornec
|
From: Jonathan M. M. <jma...@al...> - 2002-01-31 20:58:46
|
Sorry to intrude on the path issues here, but I have some additional input based on some recent problems I've had... I agree with others that a standard user install should be in /usr/local, and a distro's package should install in /usr - this is typical - and it's not just a debian issue - I noticed your RPM packages install mondo in /usr/bin, not /usr/local/bin. Either way - my problem is that it installs into /usr/bin or /usr/local/bin. I think it should be in "sbin" instead. Case in point: bin is in the path of non-root users. When I run mondo-archive as non-root - I get the following: mkdir: cannot chdir to directory, '/root': Permission denied /usr/bin/mondo-archive: $LOGFILE: ambiguous redirect /usr/bin/mondo-archive: '/var/log/mondo-archive.log: Permission denied You really need to be root to run this program - the default isodir is /root/images/mondo. You also need to be root to write to /var/log. BTW - this isn't even trying to run a backup... This is running "mondo-archive --help" as non-root! Looking at the source - just using the help flag will cause all sorts of things to happen... Anyway, IMHO, a program that is used for system administration, and should only be run by root, needs to be in sbin. ~Jonathan |