LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-03-2002, 01:33 PM   #1
jakublgz
Member
 
Registered: Apr 2002
Location: Wood Dale IL
Distribution: redhat, slackware
Posts: 110

Rep: Reputation: 15
Question smbd/nmbd work fine, cant write to a share


Hello. I've just installed new samba 2.2.7 . It compiled just fine and it works perfectly. I also added a new drive to my server.
I am trying to share a folder on it . I mounted it using :
mount /dev/hdc5 /mnt/data/mp3. Worked just fine. (file system used is fat32).
Part of smb.conf file defining shared folder is :

[ftp]
comment = FtpFiles
path = /mnt/data/mp3
writable = yes
write list = jakublgz

browseable = yes
read only = No
valid users = jakublgz
invalid users = root bin daemon nobody named sys tty disk mem kmem,
also I've changed chmod of mp3:
drwxr-xr-x 2 root root 32768 Dec 2 16:44 mp3
When tried to write to it beeing loged in ftom windows as user jakublgz I was getting the following error:
Unable to write.
If anyone have a clue what am I doing wrong please let me know. Thank you.
Jakub.



Last edited by jakublgz; 12-03-2002 at 02:18 PM.
 
Old 12-04-2002, 07:24 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
jakublgz doesn't have permissions to write to /mp3. Add/modify line in fstab
/dev/hdb5 /mnt/data/mp3 vfat user,auto,umask=0 0 0

also umount hdb5 and verify you have write permissions on the /mnt/data/mp3 directory.
 
Old 12-05-2002, 08:19 PM   #3
jakublgz
Member
 
Registered: Apr 2002
Location: Wood Dale IL
Distribution: redhat, slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Thanx a lot for explanations. I will folow your hints.
Jakub.
 
Old 12-05-2002, 10:34 PM   #4
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
It's wrong. the mode I mean.

You should chown the folder to your user. That should work.

It must look something like this.
drwxr-xr-x 2 jakublgz jakublgz 32768 Dec 2 16:44 mp3
 
  


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
smbd and nmbd aproan Linux - Networking 1 02-05-2005 07:19 PM
smbd and nmbd missing PhilHalf Linux - General 1 01-28-2003 07:55 AM
smbd and nmbd artman62 Linux - Networking 3 06-27-2002 06:14 PM
smbd and nmbd iquadri1 Linux - Networking 0 09-29-2001 01:41 PM
xinetd and smbd/nmbd suselinux Linux - Networking 3 09-05-2001 10:00 AM

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

All times are GMT -5. The time now is 06:07 PM.

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