04-19-2002
Log file - permission - Mandrake Linux 8.2
Dear all
I have installed Openwebmail 1.64 on Mandrake Linux 8.2. This application creates a log file at /var/log with the name openwebmail.log. The application needs that the permission of this log file should be as follows:
owner - root
group - mail
mode - 660
Even though i set the parameters of the file as above, the parameters changes as below after a gap of 25 minutes, automatically, thus preventing the Openwebmail application to write to the /var/log/openwebmail.log file.
owner - root
group - root
mode - 640
Last edited by ajkiruba; 04-19-2002 at 10:14 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
there is a directory eg. /home/edp/ , all the files under this directory :
1. the file and directory owner is "user1" ,
2. the permission is 644
I want everyone hv permission to overwrite all files and write a new file to it , but I want the file owner and permssion keep unchange , could... (1 Reply)
Discussion started by: ust
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
When I listed one directory in Sun, it showed that :
-rwsr-xr-x 1 root bsmbin 78004 Oct 21 2004 bsmprsm
I don't know meaning of the character "s" in "rws" above. I have searched in Sun admin documents but no result. Would you please explain it ? :)
Thank you so much. (1 Reply)
Discussion started by: msg098
1 Replies
3. Cybersecurity
Hello,
i need some help/advice on how to solve a particular problem.
these are the users:
|name | group |
---------- ---------------
|boss | department1 |
|assistant | department1 |
|employee | department1 |
|spy | department2 |
this is the... (0 Replies)
Discussion started by: elzalem
0 Replies
4. UNIX for Dummies Questions & Answers
i have two user named sourav and jishu.
i have created a file named source.txt in sourav.
i made another user called shovon.
i want to give read write permission of souce.txt for shovon but not for jishu.
how can i set permission only for jishu ? (1 Reply)
Discussion started by: sourav_ray
1 Replies
5. Solaris
I can't get the exact error message because I am at home, but on Solaris 10u5 machine I have at work, a few services are stuck in the maintenance state with the following error message in the individual service logs (/var/svc/log/FMRI:instance.log):
Cannot chdir: permission denied
Fortunately... (2 Replies)
Discussion started by: ilikecows
2 Replies
6. Solaris
hi frnds
can u explain
/etc/shadow file have read and write permissions for root only
but while normal user changes his passwd it also updated in that file whats the logic behind that. (2 Replies)
Discussion started by: sravan ega
2 Replies
7. Shell Programming and Scripting
Hi All,
https://www.unix.com/unix-advanced-expert-users/105758-chmod-parent-sub-directories.html
I have to change permission for the directories and subdirectories in single command
when googled i found some updates but i understand what is switch.
If there is a command please... (2 Replies)
Discussion started by: thelakbe
2 Replies
8. Emergency UNIX and Linux Support
Hello All, On my SuSE system, I have wtmp log this log file permission is 644 but every reboot the file permission rollback to 664. In the logrotate.conf and logrotate.d/wtmp files the wtmp logrotate set to 644. I would like to know, which "file" or "script" modify the wtmp log to rollback to... (7 Replies)
Discussion started by: kalaso
7 Replies
9. AIX
I'm trying to set the permission for the syslog log file in syslog,conf.
---------
The below is my configuration file
## example:
# "mail messages, at debug or higher, go to Log file. File must exist."
# "all facilities, at debug and higher, go to console"
# "all facilities, at crit or... (1 Reply)
Discussion started by: novaothers
1 Replies
10. UNIX for Dummies Questions & Answers
Only kernel can write to a directory file. Then what does write permission for a directory imply? (2 Replies)
Discussion started by: vijaysy
2 Replies
LEARN ABOUT DEBIAN
dpkg::log::analyse
DPKG::Log::Analyse(3pm) User Contributed Perl Documentation DPKG::Log::Analyse(3pm)
NAME
DPKG::Log::Analyse - Analyse a dpkg log
VERSION
version 1.20
SYNOPSIS
use DPKG::Log;
my $analyser = DPKG::Log::Analyse->new('filename' => 'dpkg.log'); $analyser->analyse;
DESCRIPTION
This module is used to analyse a dpkg log.
METHODS
$analser = DPKG::Log::Analyse->new('filename' => 'dpkg.log')
$analyser = DPKG::Log::Analyse->new('log_handle' => $dpkg_log)
Returns a new DPKG::Log::Analyse object. Filename parameter can be omitted, it defaults to /var/log/dpkg.log.
Its possible to specify an existing DPKG::Log object instead of a filename. This will be used and overrides any filename setting.
$analyser->analyse;
Analyse the debian package log.
$analyser->newly_installed_packages
Return all packages which were newly installed in the dpkg.log.
$analyser->upgraded_packages
Return all packages which were upgraded in the dpkg.log.
$analyser->removed_packages
Return all packages which were removed in the dpkg.log.
$analyser->unpacked_packages
Return all packages which are left in state 'unpacked'.
$analyser->halfinstalled_packages
Return all packages which are left in state 'half-installed'.
$analyser->halfconfigured_packages
Return all packages which are left in state 'half-configured'.
$analyser->installed_and_removed_packages
Return all packages which got installed and removed.
SEE ALSO
DPKG::Log, DPKG::Log::Analyse::Package
AUTHOR
Patrick Schoenfeld <schoenfeld@debian.org>.
COPYRIGHT AND LICENSE
Copyright (C) 2011 Patrick Schoenfeld <schoenfeld@debian.org>
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
perl v5.10.1 2011-02-26 DPKG::Log::Analyse(3pm)