[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Samba: Can't Rename the Log File



>>>>> "dm" == HP-USA,ex1  <MCCALL> writes:

 dm> Hi;
 dm> you may want to check the PATH to the log file as well; perhaps 
 dm> there is not the appropriate execute permission to allow samba to 
 dm> traverse /var or /var/log to GET to the smb file that has write permissions.

If you mean the execute permission of the directorys: They are
OK:

# ll / | grep var
drwxr-xr-x   16 root     root         1024 Nov 21  2000 var
# ll /var/ | grep log
drwxr-xr-x    8 root     root         5120 Jun 22 12:28 log
# ll /var/log/smb
-rw-r--r--    1 root     root          117 Jun 22 12:28 /var/log/smb
#

Otherwise smbd wouldn't be able to write to it, but it does.

 dm> Hope this helps,

No, sorry.

What could be the reason for smbd to be able to write but not to
rename the log file????

I now did it by hand and set "max log size" to 10. Let's see what
happens...

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
E-Mail: palme@uni-wuppertal.de             (Germany)
http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html

-- 
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------

830 eingetragene Mitglieder in dieser Liste.


Reply to: