SOLVED: [Samba] can't write to writeable drives - FC4

Bill Measday linux_test at measday.com
Wed Aug 3 18:45:30 GMT 2005


Brilliant Sanjay - that does it.  I'd discounted SELinux as almost too
obvious - stupid me.

There's a utility called system-config-securitylevel (this is the same
one available under Gnome "security level") that lets you turn off
SELinux for specific daemons (see SELinux tab).  Turn off smbd
enforcement and all is well (I don't know if nmbd or winbind will affect
other functionality).


Thanks to all.


Rgds


Bill


On Wed, 2005-08-03 at 10:15 +0530, Sanjay Upadhyay wrote:
> check selinux... (FC4 has it by default!)
> #>getenforce...
> in case this returns 1...
> diable it...
> 
> On 8/3/05, Bill Measday <linux_test at measday.com> wrote:
> > 
> > I think the relevant processes are listed below Pavel.
> > 
> > UID PID PPID C STIME TTY TIME CMD
> > root 6264 1 0 Aug02 ? 00:00:00 smbd -D
> > root 6265 6264 0 Aug02 ? 00:00:00 smbd -D
> > root 6267 1 0 Aug02 ? 00:00:03 nmbd -D
> > bill 12214 4916 0 07:00 pts/2 00:00:00 smbclient //host/test
> > -Ubill%deleted password
> > bill 12215 6264 0 07:00 ? 00:00:00 smbd -D
> > root 12216 6264 0 07:00 ? 00:00:00 smbd -D
> > 4776 0 07:01 pts/1 00:00:00 ps -Af
> > 
> > 
> > Rgds
> > 
> > 
> > Bill
> > 
> > 
> > On Tue, 2005-08-02 at 16:22 +0200, Pavel Vávra wrote:
> > > Well, could you check ... sorry I am not able describe it in English, 
> > I'll write it in Bash language :-) 
> > >
> > > > ps -Af | grep
> > >
> > > ... and check UID of selected processes.
> > >
> > > Regards,
> > > P.
> > >
> > >
> > > On Tue, 02 Aug 2005 22:24:34 +1000
> > > Bill Measday < linux_test at measday.com> wrote:
> > >
> > > > And therein lies the problem - I've tried all these simple things and
> > > > the answer is eluding me (in other words, no problem creating 
> > directory
> > > > directly from bash) 
> > > >
> > > > Rgds
> > > >
> > > >
> > > > Bill
> > > >
> > > > On Tue, 2005-08-02 at 14:12 +0200, Pavel Vávra wrote:
> > > > > On Tue, 02 Aug 2005 21:31:35 +1000
> > > > > Bill Measday < linux_test at measday.com> wrote:
> > > > >
> > > > > > What about permissions and owner of /data/bill?
> > > > > > >
> > > > > > > P. 
> > > > > > >
> > > > > >
> > > > > > drwxrwxrwx 4 bill net_users 4096 Jul 31 07:45 bill
> > > > > >
> > > > > > It doesn't seem to be anything quite as trivial as permissions, 
> > but 
> > > > > > then, who knows?
> > > > > >
> > > > >
> > > > > Well, log to this machine as linux user bill and try to create file 
> > and directory in /data/bill. If it will not work, check permissions of 
> > /data. If it will work, I cannot find simple answer why.
> > > > > P.
> > > >
> > > >
> > 
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/listinfo/samba
> > 
> 
> -- 
> Sanjay Upadhyay
> http://saneax.blogspot.com



More information about the samba mailing list