LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2002, 09:18 PM   #1
MaleMe
LQ Newbie
 
Registered: Jun 2002
Location: Texas
Distribution: RedHat
Posts: 7

Rep: Reputation: 0
Question Gaining Write Access through Samba


I have a RedHat Linux 7.2 box (hostname=mlinux) and a Win2k box on a stand alone network with static IP addresses. I'm trying to give the user 'mark' on the Win2k box write access to the 'downloads' directory on 'mlinux'. When mlinux is accessed from the Win2k box (user 'mark') through network neighborhood the 'mark' and 'downloads' shares are seen and both can be read. However, the user 'mark' only has write access to the 'mark' share. Why is the 'downloads' share not writable from the Win2k box as user 'mark'?
Currently the firewall on the Linux machine is not installed.
Below is the smb.conf file:
[global]
netbios name = Mlinux
workgroup = PAI
server string = Samba %v
hosts allow = 192.168.5.
log file = /var/log/samba/%m.log
max log size = 100
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
interfaces = eth0
dns proxy = no
[homes]
comment = User home
browseable = no
case sensitive = no
read only = no
valid users = %s
[downloads]
path = /downloads
comment = stuff
browseable = yes
read only = no
valid users = mark

I'm starting to think something besides Samba is causing me this grief... what could it be? Any help would be appreciated.
 
Old 06-27-2002, 09:33 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
This one naffed me for a while once too, what's the UNIX permissions on the directory /downloads? If its owned by root then its probably not writeable by world, so no matter what samba thinks its allowed to do, the Unix file side is ignoring it.

You could either chown the whole dir to mark, or just chmod it wide open.

Cheers,

Finegan
 
Old 06-28-2002, 10:15 AM   #3
MaleMe
LQ Newbie
 
Registered: Jun 2002
Location: Texas
Distribution: RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
You were right, the permissions on that directory only allowed writes by the owner and mark was not the owner. Problem solved
and I appreciate the help!
 
  


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
Gaining access to an inherited machine... please help elemental666 Linux - Security 8 10-21-2005 10:18 AM
Gaining access to Printerserver? gundestrup Linux - Hardware 8 08-07-2005 05:02 AM
Gaining access to Printerserver? gundestrup LinuxQuestions.org Member Intro 2 05-18-2004 11:54 AM
gaining access to my Windows C:/ drive spano Linux - Newbie 16 03-22-2004 11:21 PM
Gaining root access in KDE d-katz Linux - General 9 02-27-2004 05:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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