Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-10-2004, 08:48 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Deland, FL
Posts: 26

Rep: Reputation: 15
guest write access through samba?

OK, I seem to be having a problem correctly accessing a shared folder from linux.
My wife's p.c. (Windows 2000) has a program called camedia which allows her to transfer images from her pc to the share drive (located on my pc) and ever since I moved to SuSE 9.1 I have been trying to find out how to set up shares.

Well I have the share setup correctly (i think) it is setup as the EXACT same directory as if I were booted into MY windows 2000 machine. Basically I wanted to set it up like this so she wouldnt have to worry about if I was logged into the correct OS or not to be able to transfer her images.

My issue right now is, she has guest access to they share she needs but for some reason it wont let her create new folders. It seems to have read only access. but in the smb.conf file it shows read only = no

here is the smb file...what do i need to put in there to let her have full access to that [pictures] folder....(at the bottom)

encrypt passwords = yes
guest account = smbguest
netbios name = AWIEG
security = share
wins support = yes
workgroup = WIEGNET
interfaces = eth0
bind interfaces only = true
printing = cups
printcap name = cups
printer admin = @ntadmin, root, administrator
map to guest = Bad User
comment = Home Directories
valid users = %S
browseable = No
read only = No
comment = All users
path = /home
writeable = Yes
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
comment = All groups
path = /home/groups
writeable = Yes
inherit permissions = Yes
comment = PDF creator
path = /var/tmp
printable = Yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
path = /cifs/pub
read only = no
guest ok = yes
guest only = yes
path = /windows/C/SHARE/My Documents/My Pictures
read only = no
guest ok = yes
guest only = yes

Here is the user file where I added smbguest in
smbguest:x:4000:4000:Samba Guest Account:/dev/null:/bin/false

also /etc/shadow

and last but not least../etc/group
Old 07-10-2004, 09:28 PM   #2
LQ Newbie
Registered: Jul 2004
Location: Deland, FL
Posts: 26

Original Poster
Rep: Reputation: 15

I think I found out what the issue is, however, I don't know how to resolve it!!!

The directory that I am unable to write to is a windows drive (NTFS) and for some reason when I click on the folder and check permissions it says...

Could not modify the ownership of file /windows/c/share/my documents/my pictures/family/!OLYMPUS!/CAMEDIA/Album. Yo u have insufficient access to the file to perfom the change.

I am logged in as root, how much more privledges does this s.o.b. need?
Old 07-11-2004, 03:55 AM   #3
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
You can't write to NTFS from Linux (yet).An Idea might be to create a partition on your Windows Box as FAT32 then you can read / write to it.

BTW have you tried the Network Browser in Suse 9.1 -- saves setting up a load of SAMBA configuration files for accessing and mounting Windows Shares.

Provided you set up the Shares on the Windows system then you can simply browse them on SUSE. There should be an Icon on your desktop called LOCAL NETWORK.
This works rather like the Windows Network Browser when you click Entire Network

If not go into Conqueror and enable show navigaton panel or press F9. Click the Icon that looks like a symbol of planet Earth --about 5 down. In the new window click Local Network. --Wait for it to show your Network. You can drag to Desktop ( Copy Here when prompted).

MUCH MUCH Easier than messing about with Samba mounts etc.

BTW do the YOU (Online Updates) as there's been a few fixes to SAMBA (which you still need to have installed).

Also saves looking for fixes for Linneighborhood which has problems when trying to mount devices and you don't have to do anything in the fstab either.

Last edited by 1kyle; 07-11-2004 at 03:57 AM.
Old 07-11-2004, 07:23 AM   #4
LQ Newbie
Registered: Jul 2004
Location: Deland, FL
Posts: 26

Original Poster
Rep: Reputation: 15
Hey, thanks for the tips, quite useful.

why cant a windows 2000 machine write to a linux box (which has a ntfs drive shared?)

I cant really change it (ntfs) that is. because my machine was set up as the 'server' when i set up this network.

one more question, im sure this ones quite easy...........

I found out that when I booted up this morning that the smbd process is started automatically but the nmbd process isn't. How can i have the command /usr/sbin/smbd -D run automatically at boot?

[EDIT] Nevermind on that last thing, I looked at the runlevel editor and it wasnt atomatically started...set it to yes and works fine now!!

Last edited by Tangz; 07-11-2004 at 07:33 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
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
samba guest directory once write then no delete ilnli Linux - Networking 1 08-30-2004 01:36 AM
Samba, write access with windoes but not linux Exio Linux - Networking 1 05-17-2004 01:16 PM
Gaining Write Access through Samba MaleMe Linux - Networking 2 06-28-2002 10:15 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:52 PM.

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