Re: Bob Proulx in [EMAIL PROTECTED]
perl -e 'printf(%o\n,(stat($ARGV[0]))[2]);' /tmp # print mode in octal
41777
My only question now is where did that '4' come from in the mode? But
the last four digits always seem to be correct.
stat(2):
S_IFDIR004 directory
Christoph Berg wrote:
Re: Bob Proulx in [EMAIL PROTECTED]
perl -e 'printf(%o\n,(stat($ARGV[0]))[2]);' /tmp # print mode in octal
41777
My only question now is where did that '4' come from in the mode? But
the last four digits always seem to be correct.
stat(2):
S_IFDIR
Christoph Berg wrote:
Re: Bob Proulx in [EMAIL PROTECTED]
perl -e 'printf(%o\n,(stat($ARGV[0]))[2]);' /tmp # print mode in octal
41777
My only question now is where did that '4' come from in the mode? But
the last four digits always seem to be correct.
stat(2):
S_IFDIR
Paul Cupis [EMAIL PROTECTED] schrieb:
On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster)
wrote:
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to
recently, it was only depending on stuff in /bin
On Mon, Nov 03, 2003 at 10:34:59AM +0100, Frank Küster wrote:
Paul Cupis [EMAIL PROTECTED] schrieb:
On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster)
wrote:
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in
Steve Langasek [EMAIL PROTECTED] schrieb:
As I don't use nfs at all, I don't know how to figure this out safely
during configure. Can you point me to the right place?
Can you explain in more detail how the call to 'stat' is being used? Is
it not possible to detect, at runtime, if the stat
On Mon, Nov 03, 2003 at 05:45:31PM +0100, Frank Küster wrote:
Steve Langasek [EMAIL PROTECTED] schrieb:
As I don't use nfs at all, I don't know how to figure this out safely
during configure. Can you point me to the right place?
Can you explain in more detail how the call to 'stat' is
Frank Küster wrote:
stat is called to get uid and exact permissions of a temporary
configuration file which has just been created.
Perl is standard on systems. I hesitate to put more use of it in init
scripts but... Perhaps this would be of use instead of stat just to
work around this
On Mon, Nov 03, 2003 at 10:34:59AM +0100, Frank Küster wrote:
Paul Cupis [EMAIL PROTECTED] schrieb:
On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster)
wrote:
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in
Steve Langasek [EMAIL PROTECTED] schrieb:
As I don't use nfs at all, I don't know how to figure this out safely
during configure. Can you point me to the right place?
Can you explain in more detail how the call to 'stat' is being used? Is
it not possible to detect, at runtime, if the stat
On Mon, Nov 03, 2003 at 05:45:31PM +0100, Frank Küster wrote:
Steve Langasek [EMAIL PROTECTED] schrieb:
As I don't use nfs at all, I don't know how to figure this out safely
during configure. Can you point me to the right place?
Can you explain in more detail how the call to 'stat' is
Frank Küster wrote:
stat is called to get uid and exact permissions of a temporary
configuration file which has just been created.
Perl is standard on systems. I hesitate to put more use of it in init
scripts but... Perhaps this would be of use instead of stat just to
work around this
Hi,
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently,
it was only depending on stuff in /bin and /sbin. However, as the result
of a bug report I have introduced a call to /usr/bin/stat.
Now I wonder wether
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster)
wrote:
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to
recently, it was only depending on stuff in
Hi,
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to recently,
it was only depending on stuff in /bin and /sbin. However, as the result
of a bug report I have introduced a call to /usr/bin/stat.
Now I wonder wether
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 02 November 2003 19:30, [EMAIL PROTECTED] (Frank Küster)
wrote:
I have become the (sponsored) maintainer of netenv, a package that
creates a link to it's /etc/init.d/ file in /etc/rcS.d/. Up to
recently, it was only depending on stuff in
16 matches
Mail list logo