httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54563] New: mod_webdav ignores quota
Date Fri, 15 Feb 2013 10:32:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54563

            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
          Assignee: bugs@httpd.apache.org
          Reporter: waldemar.brodkorb@pl.rlp.de
    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 
..
//172.16.0.2/Lehrer1$/ on /UNIONFS/var/davmnt/Lehrer/Lehrer1 type cifs
(rw,mand,relatime,vers=1.0,sec=ntlmi,cache=loose,unc=\z.16.0.2\Lehrer1$,username=Lehrer1,uid=0,noforceuid,gid=0,noforcegid,addr=172.16.0.2,file_mode=0666,dir_mode=0777,nounix,serverino,rsize=61440,wsize=16580,actimeo=1)

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
        http.so                                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
dav:/Lehrer1/> 

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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message