permissions problem?

DAve lists at pixelhammer.com
Sun Feb 25 21:17:04 GMT 2001


Server -> FreeBSD 4.2
Client -> Slackware 7.1
Samba 2.0.7
Sharity Light 1.1

I've used Samba many times, even with Shlight, and had excellent results. But I'm currently
doing something wrong and I don't have a clue what it is. I can connect just fine, browse and
copy files, but I cannot write to my mounted directories. The directories have the correct
permissions and appear writable but when attampting to cp a file into the directory bash
returns an error.

Can someone enlighten me please? I'm going nuts here. Shlight and Samba are compiled from source,
no extra flags.

DAve

<term script>
bash-2.03$ shlight -v
shlight: Version 1.1 (1998-11-16)
bash-2.03$ su
Password: 
bash-2.03# shlight //test/shared /home/dave/mount_shared -u dave -p niecie
Password: 
Using port 1030 for NFS.
bash-2.03# cp resume.lyx mount_shared/
cp: cannot create regular file `mount_shared/resume.lyx': No such file or directory
bash-2.03# mount
/dev/hda2 on / type ext2 (rw)
/dev/hdb2 on /usr type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /proc type proc (rw)
shlight-12996 on /usr/local/home/dave/mount_shared type nfs (soft)
bash-2.03$ ls -l
total 238
drwxrwxr-x   5 dave     wheel        4096 Feb  4 12:57 GNUstep
drwxr-xr-x   2 dave     wheel        4096 Feb 22 19:39 Spam
drwxr-xr-x   2 dave     wheel        4096 Feb 22 19:40 bin
-rw-r--r--   1 dave     wheel        3340 Feb 25 00:18 cover.lyx
drwxr-xr-x   2 dave     wheel        4096 Feb 11 20:50 mount_live
drwxr-xr-x   1 dave     root       100000 Jan  1  1970 mount_shared
drwxr-xr-x   2 dave     wheel        4096 Feb 11 20:50 mount_test
drwxr-xr-x   3 dave     wheel        4096 Feb 18 18:41 ns_imap
drwxrwxr-x   2 dave     wheel        4096 Feb 18 18:41 nsmail
drwxr-xr-x   3 dave     wheel        4096 Oct 20  1999 refman
-rw-r--r--   1 dave     wheel       74893 Feb 20 18:20 refman.tar.gz
-rw-r--r--   1 dave     wheel        5716 Feb 25 00:21 resume.lyx
-rw-r--r--   1 dave     wheel       70296 Feb 24 16:26 resume.pdf
-rw-r--r--   1 dave     wheel        3646 Feb 20 18:03 resume.sty
-rw-r--r--   1 dave     wheel        7379 Feb 24 23:45 resume_full.lyx
drwxr-xr-x   5 dave     wheel        4096 Feb 24 18:06 src
drwxrwxr-x   7 dave     wheel        4096 Jul 25  2000 tik
drwxrwxr-x   2 dave     wheel        4096 Feb 25 12:56 tmp
drwxr-xr-x  24 dave     wheel        8192 Feb 22 22:40 wv
bash-2.03$ 


<samba config>
 # Samba config file created using SWAT
 # from 172.16.0.202 (172.16.0.202)
 # Date: 2001/02/25 13:00:39

 # Global parameters
   [global]
    workgroup = HOMELAN
    netbios name = TEST
    interfaces = eth0 172.16.0.1 lo0 127.0.0.1
    encrypt passwords = Yes
    guest account =
    create mask = 0764

   [SHARED]
    path = /usr/local/shared
    force group = macusers
    writeable = Yes
    directory mask = 0765
    inherit permissions = Yes
    follow symlinks = No

    [DMZ]
      path = /usr/local/DMZ
      writeable = Yes

   [TEST]
      path = /usr/local/web
      writeable = Yes

    [LIVE]
     path = /usr/local/cdstage
     writeable = Yes






More information about the samba mailing list