[Samba] Unable to open new log file: Permission denied

Marc Muehlfeld Marc.Muehlfeld at medizinische-genetik.de
Mon Sep 10 08:10:06 GMT 2007


I use 3.0.22 on my PDC and I found "Permission denied" errors in different 
logfiles. The funny thing is, that this error is exactly in that logfile:

# cat /var/log/samba/wks-01.log
[2007/09/10 09:51:29, 0] lib/debug.c:reopen_logs(597)
   Unable to open new log file /var/log/samba/wks-01.log: Permission denied

This are ther permissions on the logdirectory:
drwxr-xr-x  2 root root 12288 Sep 10 09:32 /var/log/samba/

And here ther permission how samba create them by itself:
-rw-r--r--  1 root root 16183 Sep 10 09:51 /var/log/samba/operon.log

Any idea whats wrong there?


Marc Muehlfeld
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78

More information about the samba mailing list