LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-13-2015, 06:02 AM   #1
eddyml
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
Write access to samba share problem.


Hi everybody,
could anyone help on this issue.
I am from a small island called Mauritius.
I have samba version 3.6.9 installed on redhat 6.5 machine.
i have a folder /data/netLinx created with a 777 permission.
The folder is owned by a os user called netLinx.
I am able from a windows machine to access my netLinx share but cannot create any file into it.
please find below my smb.conf.

[global]
netbios name = FILESERVER
interfaces = lo, eth0, x.x.x.x/24
security = SHARE
idmap config * : backend = tdb
guest ok = Yes
hosts allow = 127., x.x.x.

[homes]
comment = Home Directories
browseable = No

[netLinx]
path = /data/netLinx
read only = No
guest only = Yes

I tried several combinations of parameters without success.

Thank you for your help.
 
Old 02-13-2015, 08:44 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Code:
writeable = yes
 
Old 02-15-2015, 11:39 PM   #3
eddyml
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
I use testparm to generate the smb.conf file.
Code:
# testparm -s smb.conf.master > smb.conf
This tool convert writeable = yes into read only = No.
Any way I inserted "writeable = yes" directly into the generated smb.conf but it still does not work.
Any ideas ?

Thank you for your help.
 
Old 02-16-2015, 07:17 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
What I've had to do is create a directory where the Linux user does have write privileges, I do use the writeable = yes phrase and the only other thing I can think about here is that I use the "smbpasswd" command to ensure that my user has a SAMBA password. However those actions have worked for me. Perhaps you can check your logs, edit out private username or directory information and then post the gist of what the log shows.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba share access from XP works - Win 7 share access disappear after about 3 minutes rylan76 Linux - Networking 1 11-03-2012 06:00 AM
Unable to enable write access to Samba share stonehurstX11 Linux - Server 1 08-14-2010 07:20 PM
no write access to subfolders of samba share roozbeh Linux - Server 8 12-08-2009 07:35 PM
Write Only access to samba share ? nathan2225 Linux - Software 0 11-08-2007 02:21 AM
mounted NT Samba share write access problems dm215 Linux - Software 1 01-08-2007 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration