Bug 616 - permission denied for unrelated file
permission denied for unrelated file
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
5.2
All Linux
low Severity low
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-12-26 18:11 EST by borgia
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-02-25 04:36:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description borgia 1998-12-26 18:11:11 EST
This did not happen with 6.3.2-4, but happens with
6.3.2-10; no changes in between

-cut-cut-
/etc/rc.d/init.d/postgresql start
Starting postgresql service: bash: /root/.bashrc: Permission
denied
postmaster [11059]
-cut-cut-
Comment 1 borgia 1998-12-28 01:37:59 EST
found a solution: you need "su -l -c" instead of "su -c" in the
startup script
Comment 2 Jay Turner 1998-12-31 12:05:59 EST
I have verified that this bug is true in the test lab. It does
generate the error as reported by the user but the postmaster service
is still started.

Adding a - or -l to the /etc/rc.d/init.d/postgresql script alleviates
the error message.
Comment 3 Cristian Gafton 1999-02-25 04:36:59 EST
Fixed in the source rpm available from rawhide

Note You need to log in before you can comment on or make changes to this bug.