Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permissions testing

Status
Not open for further replies.

stu78

Programmer
May 29, 2002
121
GB
Hi,

I am seeing some strange behavior on our hardened build when installing some software, which I think are permissions based errors.

I have used lsof & truss to see what the problem might be, does anyone else know the best way to see what file/perms are causing a process to fails?

DC
 
Hi,

Basically I am installing software - which maintains it's own log file.

I can log fine to /tmp for example, but I need to log to a specific file system as a certain user.

As this user I can touch a file in the directory I neeed to log to, but when I run the daemon that should log, it fails... I'm pretty sute it's a perms issue, but if anyone knows good commands to troubleshoot this?

That's kinda what I'm looking for;
DC
 
stack traces ? errors ? Whats this daemon ? Who's the daemon running as ?
What OS ? I take it you mean Linux or UNIX, but you don't actuall say !

--------------------------------------------------
Free Database Connection Pooling Software
 
The OS is solaris 8.

It's an application daemon & I need to see where it is failing to write a log file...

The daemon runs as apache user. When I log in as this user I can touch a file to this directory, but when I start the web server it does not log. I am assuming it's permissoins, but I need some help on what utilities I can run to give me more information.
DC
 
This is the wrong forum - apoligies..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top