httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54563] New: mod_webdav ignores quota
Date Fri, 15 Feb 2013 10:32:27 GMT

            Bug ID: 54563
           Summary: mod_webdav ignores quota
           Product: Apache httpd-2
           Version: 2.2.16
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_dav
    Classification: Unclassified

Hi *,

I am using a Debian 6.0.6 system with Apache 2.2.16.
# apache2 -v
Server version: Apache/2.2.16 (Debian)
Server built:   Nov 30 2012 08:33:45

I like to use webdav and configured it correctly. 
It works fine so far. Now the problem:

The data for the webdav share is physical located on a Windows CIFS share
with NTFS as filesystem and configured quota to limit data to 50 MB.

On Linux I get a correct message, when I try to copy a file on a "full" share:

www-data@Skolerouter:~$ env LANG=c cp rules.png /var/davmnt/Lehrer/Lehrer1/
cp: closing `/var/davmnt/Lehrer/Lehrer1/rules.png': No space left on device
www-data@Skolerouter:~$ mount 
//$/ on /UNIONFS/var/davmnt/Lehrer/Lehrer1 type cifs

When I upload a file with Linux and cadaver or with Windows 7, I get no error
message, but a NULL byte file is created:

dav:/Lehrer1/> put qemu.bz2 
Uploading qemu.bz2 to `/Lehrer1/qemu.bz2':
Progress: [=============================>] 100,0% of 9865186 bytes succeeded.
dav:/Lehrer1/> ls
Listing collection `/Lehrer1/': succeeded.
Coll:   Eigene Dateien                         0  Feb 14 15:28
Coll:   Favoriten                              0  Feb 14 14:21
        7z920-x64.msi                          0  Feb 14 16:39
        foo                             51179520  Feb 15 11:10
        foo.png                          1231977  Feb 14 16:47                                0  Feb 15 11:11
        index.php                            940  Feb 15 11:11
        qemu.bz2                               0  Feb 15 11:27
        rules.png                              0  Feb 15 11:25

When there is some space left on the device, data is filled up to the quota
limit and the uploaded file is broken.

Shouldn't mod_webdav tell the user that the underlying operating system 
can not write the file?

Thanks for any hints or fixes.

best regards
 Waldemar Brodkorb

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message