Hi! This is my share: |[root] | comment = Root-Partition | path = / | guest ok = no I have a file called /etc/exim/config that is required to be owned by mail.mail, mode 664. My user account is called mh and I am member of the group mail. I'd like to edit that file via samba with an editor that is running on my desktop Windows box. Whenever I write to the file, it gets reset to mh.mh 744 which breaks the mail system reading its configuration from that file. I suspect this happens because the editor might be renaming the old file, writing a new one and then deleting the old file. Can this behaviour be controlled by configuring samba? Any hints will be appreciated. Greetings Marc -- -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Marc,>I have a file called /etc/exim/config that is required to be owned by >mail.mail, mode 664. My user account is called mh and I am member of >the group mail. I'd like to edit that file via samba with an editor >that is running on my desktop Windows box. > >Whenever I write to the file, it gets reset to mh.mh 744 which breaks >the mail system reading its configuration from that file. I suspect >this happens because the editor might be renaming the old file, >writing a new one and then deleting the old file.Yes.>Can this behaviour be controlled by configuring samba?No. Besides of using another editor you could do something like [exim] path = /etc/exim force user = mail force group = mail force create mode = 0664 Hasta la vista, Robert -- --------------------------------------------------------------- Robert.Dahlem@frankfurt.netsurf.de Radio Bornheim - 2:2461/332@fidonet +49-69-4930830 (ZyX, V34) 2:2461/326@fidonet +49-69-94414444 (ISDN X.75) ---------------------------------------------------------------