Fedora Linux Support Community & Resources Center
  #1  
Old 5th July 2006, 07:52 PM
RabPHP Offline
Registered User
 
Join Date: Jul 2006
Posts: 2
Samba Server Write permissions

Greetings all,

I am having 2 issues with Samba Server and write permissions.

I have setup Samba and can view all the directories using security = user

We'll address the first issue then hopefully it will lead me to resolving the second

I have read about 50 different tutorials on this subject and it seems I am doing it right. here are the details.

My windows login user is called rabphp and it is in the smbpasswd file

My SMB conf file is the following:

# Global parameters
[global]
workgroup = LINUX
server string = Samba Server
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
guest ok = Yes
hosts allow = 64.207.10., 192.168.11., 127.
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[tmp]
comment = Temporary file space
path = /tmp
read only = No

[rabphp]
comment = dan folder
path = /rabphp
valid users = rabphp
public = no
writable = yes



The directory is marked the following...

drwxrwxrwx 2 rabphp rabphp 4096 Jul 5 13:31 dan

I can shell into this server as rabphp and mkdir or touch files to create them without any issues, so the permissions seem correct. In Windows XP explorer I see the directory and can enter the directory.

Strangely enough, I can write to the /tmp directory but cannot write to the rabphp directory from windows. Any help greately appreciated.


Rab
Reply With Quote
  #2  
Old 5th July 2006, 08:28 PM
RabPHP Offline
Registered User
 
Join Date: Jul 2006
Posts: 2
I found the issue...

setenforce 0

Appears SELinux was the problem.
Reply With Quote
Reply

Tags
permissions, samba, server, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions to write to this folder b3n3v3nt3 Using Fedora 3 30th April 2008 11:26 PM
mount iso with write permissions Clunixchit Using Fedora 3 13th January 2006 01:15 AM
Samba Read/Write Permissions darthn Using Fedora 1 11th January 2006 07:14 PM
Samba Write Permissions issue JPK300 Servers & Networking 5 6th January 2006 01:06 AM


Current GMT-time: 18:35 (Wednesday, 26-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Binjai - Burhar Travel Photos - Dhanera Photos on Instagram