gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c)


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c)
Date: Fri, 27 May 2011 09:01:47 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 26, 2011 at 10:31:36PM -0700, Jim Busser wrote:

> The failure of my backup script line
> 
>       chown ${BACKUP_OWNER} ${BACKUP_FILENAME}.tar
> 
> resulted (while regular user) on Mac OS in
> 
>       chown: djb.djb: Invalid argument 
> 
> and (while root) in
> 
>       chown: root.root: Invalid argument
> 
> seems a function of the script using the chown syntax "dot" delimiter
> 
>       owner[.group]
> 
>  whereas Mac requires the colon delimiter
> 
>       owner[:group]
> 
> See "COMPATIBILITY" comment below in my Mac OS output of man chown.
> 
> Can Debian / Linux / WIndows accept a script revision delimiting instead with 
> colon ":"
> 
> ??

It can but it doesn't matter because the scripts use the
variable ${BACKUP_OWNER} which gets set in
/etc/gnumed/gnumed-backup.conf under the section "this needs
to be adjusted in most if not all cases".

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]