View Single Post
  #1   (View Single Post)  
Old 18th September 2009
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Default Samba copying issue

I'm running FreeBSD 7.0 and samba version 3.0.32_1,1.

The problem is I have a share on there which when I try and copy a directory with files and directories in from an Ubuntu client I get the error:

The folder "test" cannot be copied because you do not
have permissions to create it in the destination.

If I click 'retry' it will copy the directories but not the files under the subdirectories.

The directory I tried to copy was
base_dir <top level dir>
test <sub dir>

It copied the base_dir fine but nothing under that base dir.

Here is my configuration for my samba share:
Code:
# Samba config file created using SWAT
# Date: 2009/08/24 10:31:54

[global]
	workgroup = lan
	server string = Samba Server
	security = SHARE
	log file = /var/log/samba/log.%m
	max log size = 50
	dns proxy = No
	ldap ssl = no
	hosts allow = 192.168.200.

[data]
	comment = Common data area
	path = /usr/data
	read only = No
	create mask = 0774
	directory mask = 0775
Here is how I mount the drive from the client side (Ubuntu):
Code:
//<server ip>/data	/media/data	smbfs	uid=<user>,gid=<group>,rw,username=<user>,password=<password>,auto,forcegroup=<group>	0 0
I don't know if this problem is on the server side or client side so I'm starting here on the server side.
Reply With Quote