SAMBA - No write access to shares!

SAMBA - No write access to shares!

Post by Beaufor » Sun, 06 Feb 2000 04:00:00



I have my Win98 PC and Linux connected by Samba and I am able to view
the shares I have setup, but I don't have write access. How do I get
write access?

Before you answer a few notes:

I have Linux dual booting with Win2k and the two partitions for Win2k
are C and D and are Fat32. Linux is on its own partition.

When I installed Linux I called these drives /dosc and /dosd and these
are the drives I want to be able to access from Win98.

The following is the sections of my smb.conf file to map these drives.

                   [C]
                      comment = C Drive
                      path = /dosc
                      valid users = Name
                      public = no
                      read only = no
                      writeable = yes
                      printable = no
                      create mask = 0765

                   [D]
                      comment = D Drive
                      path = /dosd
                      valid users =Name
                      public = no
                      read only = no
                      writeable = yes
                      printable = no
                      create mask = 0765

Given this information, how can I get write access to these drives
from Win98?

 
 
 

SAMBA - No write access to shares!

Post by Roge » Sun, 06 Feb 2000 04:00:00


ensure the folders on the box have the correct permissions?  in other words
they may only have read access but not write access.

(right click on the dos* folders and ensure that write access is checked).

just a thought (something you didn't mention w/i your post).


win98 to show linux in nb!!


Quote:> I have my Win98 PC and Linux connected by Samba and I am able to view
> the shares I have setup, but I don't have write access. How do I get
> write access?

> Before you answer a few notes:

> I have Linux dual booting with Win2k and the two partitions for Win2k
> are C and D and are Fat32. Linux is on its own partition.

> When I installed Linux I called these drives /dosc and /dosd and these
> are the drives I want to be able to access from Win98.

> The following is the sections of my smb.conf file to map these drives.

>                    [C]
>                       comment = C Drive
>                       path = /dosc
>                       valid users = Name
>                       public = no
>                       read only = no
>                       writeable = yes
>                       printable = no
>                       create mask = 0765

>                    [D]
>                       comment = D Drive
>                       path = /dosd
>                       valid users =Name
>                       public = no
>                       read only = no
>                       writeable = yes
>                       printable = no
>                       create mask = 0765

> Given this information, how can I get write access to these drives
> from Win98?


 
 
 

SAMBA - No write access to shares!

Post by Beaufor » Sun, 06 Feb 2000 04:00:00


I think my problem is that I am trying to share the actual partition
(like hda5 and hda6). I have 3 - one has the Linux OS the other two
are empty.

Maybe this is not possible to do this way. I have tried everything I
can think of and have spent hours going over the Samba docs.

Thoughts?


>ensure the folders on the box have the correct permissions?  in other words
>they may only have read access but not write access.

>(right click on the dos* folders and ensure that write access is checked).

>just a thought (something you didn't mention w/i your post).


>win98 to show linux in nb!!



>> I have my Win98 PC and Linux connected by Samba and I am able to view
>> the shares I have setup, but I don't have write access. How do I get
>> write access?

>> Before you answer a few notes:

>> I have Linux dual booting with Win2k and the two partitions for Win2k
>> are C and D and are Fat32. Linux is on its own partition.

>> When I installed Linux I called these drives /dosc and /dosd and these
>> are the drives I want to be able to access from Win98.

>> The following is the sections of my smb.conf file to map these drives.

>>                    [C]
>>                       comment = C Drive
>>                       path = /dosc
>>                       valid users = Name
>>                       public = no
>>                       read only = no
>>                       writeable = yes
>>                       printable = no
>>                       create mask = 0765

>>                    [D]
>>                       comment = D Drive
>>                       path = /dosd
>>                       valid users =Name
>>                       public = no
>>                       read only = no
>>                       writeable = yes
>>                       printable = no
>>                       create mask = 0765

>> Given this information, how can I get write access to these drives
>> from Win98?

 
 
 

SAMBA - No write access to shares!

Post by Pawel Staszewsk » Sun, 06 Feb 2000 04:00:00


Hi!
The loginname that you are using to admin Win9x should be maped to root
in the /etc/smbusers file like this:

root = administrator admin <or-what-you'r-using>

With regards
Pawel S

 
 
 

SAMBA - No write access to shares!

Post by pugfantu » Fri, 03 Mar 2000 04:00:00


Well, first off, what are the permissions of the directories /dosc and
/dosd?  They need to be world writeable/readable/executable (chmod 777
/dos?).  Samaba unless you have individual user access setup, Samba browses
as user Guest (in windows too) and by default only the direcrories
owner/group can write to the dirs (normally root). I know it's a pain (and
a security hazzard), but unless you want to set up user access and all
that, you'll have to do it.  

pugfantus


> I have my Win98 PC and Linux connected by Samba and I am able to view
> the shares I have setup, but I don't have write access. How do I get
> write access?

--
Posted via CNET Help.com
http://www.help.com/
 
 
 

1. Can't get write access to samba shares...

Already tried everything I could come up with , but still can't get
write access to my samba share: (using RH6.2 and its build in samba
V2.0.6)

-opening up guest with write access
-added user root to smbpasswd , using same linux passwd
-added root to the write list

From windows machines I can get into the share as guest , root or some
other user , all read-only:-((

root logged on the linux console has full access , so I guess
directory permissions can't be the problem.

Here's my current smb.conf , generated using swat

[global]
        workgroup = CRONVILLE
        netbios name = RH62
        server string = Samba Server
        interfaces = eth1 127.0.0.1
        bind interfaces only = Yes
        encrypt passwords = Yes
        map to guest = Bad User
        null passwords = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        os level = 65
        preferred master = Yes
        dns proxy = No
        write list = root

[mpeg]
        comment = MP3 files
        path = /home/mpeg
        read only = No
        guest ok = Yes

Any hints welcome

DualIP

2. F-Secure Anti-Virus on OpenBSD

3. Help: Unix no write access to a mounted Linux Samba Share

4. Problem with bridging

5. Problems writing to Samba share, please help

6. kdb v1.9 patch fails in main.c 1 of 3 hunks no applied

7. Samba shares and Windows clients - cannot write to it when data size exceeds about 2 gig

8. Why can't Solaris be booted from FLASH drive ?

9. Problems writing to samba share

10. samba vfat share writing permissions

11. ex3 share write problem with samba

12. can't write to windows shares- Samba

13. permission denied writing in samba shared directory on linux