[Samba] Can't delete files via FTP

johnnyNO5 ctopher.er at gmail.com
Wed May 2 20:00:49 GMT 2007

I am getting an error when trying to delete files from FTP. I can upload,
download, rename files, and even delete empty folders. But when I try to
delete a file, I get below error and the filename changes to
'.pureftpd-rename.<alphanumeric string>'.

Command:   DELE /path/to/file
Response:   550 Could not delete /path/to/file Invalid argument

A little Background...

I have a small internal webserver, that my users use to host tons of images.
It gets full a lot and we can't remove the images. I needed a quick and
cheap (not spending a dime) solution for more space. I have a SAN storage
with a volume of 1.2TB. I installed Samba and created a service in the SAN
controller, then I mounted that on the webserver. Everything works except
deleting files from FTP.

Here's my smb.conf snippet:

   comment = My Webserver Images Directory
   path = /path/to/volume
   valid users = sambauser
   public = no
   writable = yes
   printable = no

    comment = ftp server file area
    path = /path/to/volume
    writable = yes
    public = yes

I have tried both services, ftp and imagesdir using this mount command:

mount_smbfs -I //sambauser at

I also have ACL_SUPPORT enabled and Samba was installed via ports.

Here are my specs:

Apache 1.3.3
PureFTPd 1.0.20

Samba 3.0.24

Please help me or point me in the right direction. :)
If you need any more information, just let me know.   :D
View this message in context: http://www.nabble.com/Can%27t-delete-files-via-FTP-tf3682869.html#a10293561
Sent from the Samba - General mailing list archive at Nabble.com.

More information about the samba mailing list