Project

General

Profile

Actions

Bug #955

closed

editing files on webdav

Added by Anonymous over 18 years ago. Updated over 1 year ago.

Status:
Wontfix
Priority:
Normal
Category:
mod_webdav
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

Hi, I think when putting file that already exists it should overwrite file, not delete and create file again, cause when editing any file via webdav and gnome-vfs it looses all previous permissions and other attributes, and gets permission like a new created file depending on umask, which was set when running lighttpd.

Actions #1

Updated by gstrauss about 9 years ago

  • Description updated (diff)
  • Status changed from New to Wontfix

webdav properties are preserved on a PUT of an existing file.

The reason for replacing the existing file is that the PUT request might fail to upload somewhere in the middle, and so the upload is done to a temporary file before copying into place. It should generally be discouraged to write into an existing file (same inode) that others might be in the middle of reading.

Question: Are you suggesting that lighttpd mod_webdav should attempt to preserve the permission mode when a PUT is made on an existing file? That might be useful when accessing a directory tree via webdav and via alternative means, but it is easy to corrupt webdav properties if someone is moving files around the webdav tree via alternative means (without using webdav), e.g. by direct modification via mv and cp.

Actions #2

Updated by gstrauss over 1 year ago

  • ASK QUESTIONS IN Forums set to No
Actions

Also available in: Atom