LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 03-04-2004, 12:16 AM   #1
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Write Access on Samba Server not working


here is what I am trying to accomplish :

---Internet------> (Router) ---LAN----> (Samba Server + Apache PHP File Manager)

The plan being I can serve shared files from the samba server to the internet (so we can access from school / work)

All the shared files go in /home/share. I eventually plan to mount some shared folders from the windows machines inside /home/share as well, but that later.

/home/share should be accessable (r+w) from the windows machines, with the username share, password share. (If I can, I'd rather remove the U/N + P/W alltogether, they're behind a hardware firewall anyway.)

I can see, and read the shared folder, but not write it.

I have tried chmod -R a+rw /home/share
I have re-set the user share's password, just to be sure.

Also, does anyone know where debian woody's samba install hides it's extra config file? because I setup the folder share during install, but now I don't want it any-more, and I can't find the file to remove it. and yes, I have
find / -name *s*m*b*
but that no worky

Also, does anyone know why (as root)
debian:~# mount -t smbfs //New/NAMESchool/ /home/share/NAMESchool/
returns :
mount: wrong fs type, bad option, bad superblock on //New/NAMESchool/,
or too many mounted file systems
where NEW is the name of the computer?
(and yes, /home/share/NAMESchool does exist)

Thanks.
 
Old 03-04-2004, 12:43 AM   #2
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 30
Whoops

Relavent section of /etc/samba/smb.conf :
#======================= Share Definitions =======================

[homes]
comment = Uploaded Files
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 = 0766

# 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 = 0766
 
Old 03-04-2004, 05:03 AM   #3
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 30
Heh, my bad

I forgot that I changed /home/share from a local directory on the EXT3 partition to the much larger (EX windows 98) vfat partition, I forgot to set the umask. Worky now
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
updated samba, now don't have write access BrianK Fedora 1 10-04-2005 03:10 PM
Samba - No Write Access from Linux Box HKDude Linux - Networking 6 05-30-2005 02:59 PM
guest write access through samba? Tangz Linux - Networking 3 07-11-2004 07:23 AM
Mandrake 9.0: Unable to Get Write Access to Samba Server on Win2K tkotam Linux - Newbie 2 05-28-2003 10:59 AM
Gaining Write Access through Samba MaleMe Linux - Networking 2 06-28-2002 10:15 AM


All times are GMT -5. The time now is 09:06 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration