LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2014, 07:40 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 590

Rep: Reputation: 34
Unable to write to the samba share


Hi can some one tell me why I am unable to write to the samba share. I can access and read all but not write

I am using Fedora 20

Linux permission

drwxr-xr-x. 14 user1 user1 4096 Sep 9 15:28 user1

My smb.conf is

[share]
comment = restricted access
path = /user1
public = no
only guest = yes
writable = yes
valid user = user1
printable = no

Thanks and Regards
 
Old 09-11-2014, 03:52 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by procfs View Post
Hi can some one tell me why I am unable to write to the samba share. I can access and read all but not write

I am using Fedora 20

Linux permission

drwxr-xr-x. 14 user1 user1 4096 Sep 9 15:28 user1

My smb.conf is

[share]
comment = restricted access
path = /user1
public = no
only guest = yes
writable = yes
valid user = user1
printable = no

Thanks and Regards
Remove the Guest Only directive? I believe what is happening is that With Only Guest even though you are probably connecting with user1 it is still taking on guest access. Also guest access uses Share Level permissions and not local permissions.

Also did you create a smbpasswd for user1.
 
Old 09-11-2014, 10:51 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
Are you unable to write to it locally or from another computer?

If it's from another computer, check the directory permissions. They may not align with the Samba configuration. If you want everyone (that is, "owner," "group," "everyone") to be able to write to it, they should look like this:

Code:
lrwxrwxrwx 1 [owner] [group] 17 Aug 13 12:48 /path/to/some/directory
 
Old 09-12-2014, 12:58 AM   #4
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 590

Original Poster
Rep: Reputation: 34
Hi Guys thank you for the replies , removing "only guest" did the trick

Best Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to enable write access to Samba share stonehurstX11 Linux - Server 1 08-14-2010 08:20 PM
Samba Share with AD2008 Unable to Write mlsrar Linux - Server 1 06-30-2010 09:07 AM
Why can I not write to a SAMBA share when read/write is enabled? eric m Linux - General 4 08-21-2006 10:22 PM
Unable to write to samba share Gargomel7 Linux - General 5 01-17-2006 05:43 AM
Unable to write to Samba Share sephiro499 Linux - Newbie 8 11-30-2004 01:05 PM


All times are GMT -5. The time now is 08:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration