On 5/22/2010 12:00 AM, harbour-requ...@harbour-project.org wrote:
------------------------------
Message: 4
Date: Fri, 21 May 2010 13:16:32 +0200
From: Przemys?aw Czerpak<dru...@acn.waw.pl>
Subject: Re: [Harbour] Setting File Permission with NetIO
To: "Harbour Project Main Developer List."
<harbour@harbour-project.org>
Message-ID:<20100521111632.ga4...@linux-4bod.home.aster.pl>
Content-Type: text/plain; charset=utf-8
On Fri, 21 May 2010, Mario H. Sabado wrote:
Hi,
> How can I set the file permission when creating index file via NetIO
> server under Linux? I have to chmod each time I reindex to reset
> file permission settings of the created index.
Set umask before you run the server.
See:
man umask
for details.
Maybe in some spare time I'll add to contrib some wrappers for
LIBC/POSIX functions, i.e. hbposix library.
best regards,
Przemek
Thank you so much Przemek!
Best regards,
Mario
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour