[Top][All Lists]
[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:03:03 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, May 27, 2011 at 09:01:47AM +0200, Karsten Hilbert 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".
I set it anyway to now say:
# user/group the backup is eventually owned by
BACKUP_OWNER="$USER:$USER"
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c), (continued)
Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c), Karsten Hilbert, 2011/05/27
Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c), Sebastian Hilbert, 2011/05/27
Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c), Karsten Hilbert, 2011/05/27
- Re: [Gnumed-devel] Problems dumping database (Mac limitation on su -c),
Karsten Hilbert <=