LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-23-2004, 09:30 AM   #1
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
FIXED - writing to home directory from windows


i have samba setup and have shares working, i can see and browse the share from winxp and create files in the share. i have setup another samba user so i can see my home directory from winxp as well but i cannot write to it from winxp.

i have a 2 user names setup with smbpasswd -a that works with my linux share (/share)

i have another user setup with smbpasswd -a (my linux login name) that i use to see that users linux home directory (/home/slacker). i can see this directory but cannot write to it.

to clarify, users nbk1w4a and jerry can rw to /share, user slacker can read /home/slacker but cannot write to it

my smb.conf:

[global]

netbios name = sl4ck3r
workgroup = corp

server string = %h server (Samba %v)


; wins support = no
; wins server = w.x.y.z
dns proxy = no
; name resolve order = lmhosts host wins bcast


log file = /var/log/samba/log.%m

####### Authentication #######

; security = user
encrypt passwords = true
passdb backend = tdbsam guest
obey pam restrictions = yes
; guest account = nobody
invalid users = root

######## File sharing ########

# Name mangling options
; preserve case = yes
; short preserve case = yes


#======================= Share Definitions =======================

[nbk1w4a]
comment = Jerry's Linux Share
path = /share
read only = no
guest ok = no
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777

[jerry]
comment = Jerry's Linux Share
path = /documents
read only = no
guest ok = no
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777

[slacker]
comment = Jerry's Linux Share
path = /home/slacker
read only = no
guest ok = no
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777

[homes]
comment = Home Directories
browseable = yes

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0777

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0777

Last edited by jsmarshall85; 07-23-2004 at 09:40 AM.
 
Old 07-23-2004, 09:39 AM   #2
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Original Poster
Rep: Reputation: 30
fixed

nevermind. i had to change the permissions to my home folder to 777 to allow others to rw

thanks!
 
  


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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
Samba: Home directory files do not appear in windows ryan12345 Linux - Networking 1 05-14-2005 02:57 AM
home directory in windows Baco Linux - Networking 1 02-22-2005 04:13 PM
Writing to a shared home folder confused_bof Linux - Networking 5 05-18-2004 06:50 AM
Writing to a shared directory under Mandrake 9x julius Linux - Networking 1 03-28-2004 02:44 AM

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

All times are GMT -5. The time now is 03:13 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