Re: Cannot write to /etc/samba/smb.conf. Program will now exit.

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

 



 --- Nils Philippsen <nphilipp@xxxxxxxxxx> wrote: 
> On Mon, 2004-10-18 at 23:35 +0100, DAVID BENTLEY
> wrote:
> > > On Mon, 2004-10-18 at 17:24, DAVID BENTLEY
> wrote:
> > > > I set all of my SAMBA shares up before doing
> any
> > > > updates and now if I try to edit them or add
> new
> > > > shares I get the following error message :-
> > > > 
> > > > Cannot write to /etc/samba/smb.conf.  Program
> will
> > > now
> > > > exit.
> > > > 
> > > > I will see if it works in the original kernel
> next
> > > but
> > > > I am surprised that there has been no mention
> of
> > > this
> > > > before now.
> > 
> > >  --- John Dennis <jdennis@xxxxxxxxxx> wrote: 
> > > Are you getting SELinux messages (e.g. audit(*):
> > > avc:) in
> > > /var/log/messages about access denied? If so
> you're
> > > running afoul of the
> > > SELinux security policy. If you're running >=
> FC3t2
> > > SELinux targeted
> > > policy is in effect. What is the avc message?
> > > -- 
> > 
> > I am using a fully updated core3 test 3 and I
> don't
> > see any avc message but there are messages at boot
> > regarding what selinux policy is in effect as
> follows 
> > 
> > 18 22:46:17 bentledr-1 kernel: SELinux:  Starting
> in
> > permissive mode
> > Oct 18 22:46:17 bentledr-1 kernel: There is
> already a
> > security framework initialized, register_security
> > failed.
> > Oct 18 22:46:17 bentledr-1 kernel:
> > selinux_register_security:  Registering secondary
> > module capability
> 
> When running it on the command line, do you get any
> kind of python
> traceback, if so please post it.
> 

Traceback (most recent call last):
  File
"/usr/share/system-config-samba/shareWindow.py", line
537, in onOkEditButtonClicked
    self.samba_data.writeFile()
  File
"/usr/share/system-config-samba/sambaParser.py", line
173, in writeFile
    raise RuntimeError, (_("Cannot write to %s. 
Program will now exit." % path))
RuntimeError: Cannot write to /etc/samba/smb.conf. 
Program will now exit.


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]