[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] samba home mandrake secure
And Lo! The Great Prophet fred uttered these words of wisdom:
>
> pulled my /etc/samba/smb.conf apart with location of [home] to create
> mode 0755 and directories as well, but it still keeps changing after I
> keep manually changing this directory and others, could it have some
> thing to do with settings on the loading of mandrake secure kernel.
Samba wouldn't reset /all/ of /home. I suspect its the secure kernel. Doing
some digging, the secure kernel is essentially patched with grsecurity, but
I'm having problems getting to the grsecurity website, so can't do any more
digging.
Depending on your samba config though, you should be able to see /home/mp3
anyway; you could try chmod'ing the directory to the user you are
authenticating as - should make it visible then? I take it that there is a
seperate user "mp3", and you're connecting as "bob" or similar.
An alternative is have a specific share for mp3, something like (off the
top of my head, so the odd directive might be wrong):
[mp3]
path = /home/mp3
force user = <name of mp3 user>
public = yes
readonly = yes
This way, you ensure that the mp3 share is always connected to with the
right user credentials to get into the directory (that's what force user
does). Other settings may need to be changed or added depending on what you
actually want to do with the directory :) Without force user, you connect
to the share with the username you authenticated to the server as, so that
means that you'd not have access.
Chris...
--
\ Chris Johnson \ NP: CreamLive - 16. Lange ft. The Morrighan - Fo
\ cej [at] nightwolf.org.uk ~-----, llow Me (Orginal Mix)
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.