Ask a Question related to SCO, Design and Development.
-
Ben Phillips #1
Permissions wrong on newly created file
I have two systems unrelated to each other with the same problem.
Both systems are running 5.0.5 and have RS505A patch loaded. At the
beginning of the month, a user will log into a certain program. If an
error occurs while running the program, a log file is created
automatically and the ownership and group are associated to the user.
The permissions are set to 644 on the file. Once the file is created,
other users that have errors occur in the same program will
automatically update the log. With the permissions being incorrect,
this can't happen and causes a core file to be created. I've checked
all the users and the umask settings are all set to 0. I'm not
trained in Unix and I've had to learn as I earn. Any suggestions as
to what I else I can check? Thanks!
Ben Phillips Guest
-
#40300 [NEW]: Calling a function on a newly created object doesn't work
From: finalvoid at gmail dot com Operating system: Windows XP PHP version: 5.2.0 PHP Bug Type: Class/Object related Bug... -
Page view issues with newly created links
I just finished creating links on each page of a 200 page document, allowing users to easily jump from section to section. When creating the links I... -
Permissions for newly created files by FSO
Hi there, I'm struggling with this problem: in a website I developed, XML files are created by users of the site to describe. The creation is... -
file permissions on files created with lotofile
when using lotofile the files created (on linux) get permissions 600 owned by informix:informix. this prohibits scenarios where for example a web... -
Newly Created Image Not Always Found by Following Code
I am having a problem where the bitmap image that I just created and saved to disk can not be found but the code in another area of the program.... -
Jean-Pierre Radley #2
Re: Permissions wrong on newly created file
Ben Phillips typed (on Wed, Jul 09, 2003 at 02:04:25PM -0700):
| I have two systems unrelated to each other with the same problem.
| Both systems are running 5.0.5 and have RS505A patch loaded. At the
| beginning of the month, a user will log into a certain program. If an
| error occurs while running the program, a log file is created
| automatically and the ownership and group are associated to the user.
| The permissions are set to 644 on the file. Once the file is created,
| other users that have errors occur in the same program will
| automatically update the log. With the permissions being incorrect,
| this can't happen and causes a core file to be created. I've checked
| all the users and the umask settings are all set to 0. I'm not
| trained in Unix and I've had to learn as I earn. Any suggestions as
| to what I else I can check? Thanks!
Does this mysterious "certain program" create the log file -- with
permissions 644 --, and then change its ownership to that of the
invoking user? Chown (chgrp) will change owner (group) of its
arguments, but do NOT change the permissions of a file.
--
JP
Jean-Pierre Radley Guest
-
Ben Phillips #3
Re: Permissions wrong on newly created file
Jean-Pierre Radley <jpr@jpr.com> wrote in message news:<20030709212821.GC4962@jpradley.jpr.com>...
The program was created by the company where I'm employed.> Ben Phillips typed (on Wed, Jul 09, 2003 at 02:04:25PM -0700):
> | I have two systems unrelated to each other with the same problem.
> | Both systems are running 5.0.5 and have RS505A patch loaded. At the
> | beginning of the month, a user will log into a certain program. If an
> | error occurs while running the program, a log file is created
> | automatically and the ownership and group are associated to the user.
> | The permissions are set to 644 on the file. Once the file is created,
> | other users that have errors occur in the same program will
> | automatically update the log. With the permissions being incorrect,
> | this can't happen and causes a core file to be created. I've checked
> | all the users and the umask settings are all set to 0. I'm not
> | trained in Unix and I've had to learn as I earn. Any suggestions as
> | to what I else I can check? Thanks!
>
> Does this mysterious "certain program" create the log file -- with
> permissions 644 --, and then change its ownership to that of the
> invoking user? Chown (chgrp) will change owner (group) of its
> arguments, but do NOT change the permissions of a file.
Unfortunately, nobody I've spoken to can confirm how exactly the log
file is created, but under our functional systems the file appears to
be created with permissions of 666, which is what we need. At this
point I need more information from our programmers and I'm going to
have to wait to hear back from them.
Ben Phillips Guest
-
Stefan Marquardt #4
Re: Permissions wrong on newly created file
On 9 Jul 2003 14:04:25 -0700, [email]celticskyhawk@hotmail.com[/email] (Ben Phillips)
wrote:
umask>trained in Unix and I've had to learn as I earn. Any suggestions as
>to what I else I can check? Thanks!
Stefan Marquardt Guest
-
Ben Phillips #5
Re: Permissions wrong on newly created file
Stefan Marquardt <erase-this.stefan.marquardt@hagebau.de> wrote in message news:<3mjsgvk9699e19b6jmrvoccs2bqu9lgr2v@4ax.com>. ..
As I documented in the original post, the umask settings have been> On 9 Jul 2003 14:04:25 -0700, [email]celticskyhawk@hotmail.com[/email] (Ben Phillips)
> wrote:
>>> >trained in Unix and I've had to learn as I earn. Any suggestions as
> >to what I else I can check? Thanks!
> umask
checked and are correct.
Ben Phillips Guest



Reply With Quote

