Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-15-2009, 04:04 AM   #1
LQ Newbie
Registered: May 2009
Posts: 3

Rep: Reputation: 0
Samba permissions between Windows XP and Fedora 10

Hi all, hope you are good.

I have successfully configured Samba on my Fedora 10 and can see my office networked comps which are on Windows XP. I can access the samba share folders from the XP platform but am unable to either send files to the forlders nor get the files from the forlders. FTP has the same issues. I get 'Access denied' error. This is an issue with permisions. I have made the shares writable but still no solution. I have tried using the chmod but the problem persist. Any solution is much appreciated.

Thanks in advance.
Old 05-15-2009, 04:37 AM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a look in fedora's smb.conf and see what notes it has regarding SELinux. This could well be your issue.

A simple test is to temporarily tun SELinux off

setenforce 0

try accessing the shares, and turn it back on (setenforce 1)
Old 05-15-2009, 04:44 AM   #3
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,500

Rep: Reputation: 100Reputation: 100
Here's my smb.conf that does exactly what you describe you need. I simply created the local mount points in /mnt and made then a+rwx. Please note that this is a "no-security" type config, I just wanted to get things working with the minimum of fuss, I made absolutely no arrangements or concessions (on either side, in XP or Linux) to security - so it can be illustrative, but I wouldn't use it in a risky environment. I use this on my tiny intranet in my house only.

My smb.conf:

netbios name = development
workgroup = WORKGROUP
security = share
log file = /var/log/samba.log 
log level =  1
wins support = yes 
domain logons = no
logon drive = f: 
logon home = \\stefan\%U
os level = 99 
preferred master = yes
local master = yes
hosts allow =
encrypt passwords = yes
browseable = yes
lanman auth = yes 
lm announce = yes 

path = /mnt/win/shared
guest ok = yes 
writeable = yes 
create mode = 0666 
directory mode = 0777
browseable = yes
public = yes
This allows any Windows machine which has one of the IPs listed above, to access the C:\shared folder (as seen from a Windows perspective) when my dual-boot box is in Linux.

Hope this helps!

Last edited by rylan76; 05-15-2009 at 04:46 AM.
Old 05-15-2009, 05:59 AM   #4
LQ Newbie
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Billy, it worked.



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
samba pdc blocks write permissions on windows? ferradura Linux - Server 0 10-02-2007 05:57 PM
Samba 3.x file permissions on Windows share lefty.crupps Linux - Software 0 09-07-2006 10:08 AM
Samba Permissions - Windows 98 joshnya Linux - Newbie 0 09-12-2005 09:40 AM
How to change Samba permissions through Windows LJ151 Linux - Networking 4 03-07-2005 07:02 AM
Windows Permissions through SAMBA joshnya Linux - Security 1 12-16-2003 10:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 AM.

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