Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-27-2004, 02:46 AM   #1
LQ Newbie
Registered: May 2004
Location: Sydney , Australia
Posts: 3

Rep: Reputation: 0
Samba + hdd permissions


I've just installed samba, setup users/groups

and have made a share to my 80gb fat hard disk (/dev/hdd1) ,
which is mounted at mnt/fat-d

it is automatticaly mounted with fstab

with the line:
/dev/hdd1 /mnt/fat-d vfat gid=100,umask=0007 0 0

and this is shared by samba...

now with my windows xp computer logged in as "adam", is able to view the files on this disk, however cannot add new directories or add/edit files... so it cant write...

however when you ssh into the linux box you are able to mkdir, cp or whatever... why cant i do this with SMB?

I hope i was able to describe the problem well enough..


Old 05-27-2004, 03:13 AM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,508

Rep: Reputation: 100Reputation: 100

So your problem is that your Windows XP machine can't write to the Samba share on the linux machine? I had the same problem, and here is my smb.conf that fixed it for me:


netbios name = stefan
workgroup = GOEDEHOOP10
security = share
log file = /var/log/samba.log
log level = 1
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow =
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

path = /mnt/win/
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

Hope this helps!
Old 05-27-2004, 03:53 AM   #3
LQ Newbie
Registered: May 2004
Location: Sydney , Australia
Posts: 3

Original Poster
Rep: Reputation: 0
So i am guessing that these are the important paramaters?

writeable = yes
create mode = 0666
directory mode = 0777

or is there something else i missed in the global section?

I'm out at the moment, so cannot test...

Thanks for the response :-)


Last edited by paidhitman; 05-27-2004 at 03:54 AM.


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
Mounting external Firewire NTFS HDD & Permissions Ganza Linux - Newbie 9 11-06-2005 08:39 AM
Permissions on second hdd devilsaltarboy Linux - Newbie 2 06-03-2005 10:35 AM
permissions to use my hdd jappstam12345 Mandriva 2 03-26-2005 04:30 AM
How to copy all User and Samba info to new HDD MichaelP Linux - Networking 2 03-06-2005 02:36 PM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 11:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration