I've got an Apache webdav directory serving files to clients read-only. Clients are limited to get,propfind and options. Is it 'safe' to populate this directory using native OS commands like rsync, cp, mv , then setting the owner:group to apache:apache as necessary. Or should I always use some sort of webdav client, even from the hosting server, (RHEL) such as a webdav mount or using something like cadaver? I assume it's perfectly safe to shutdown apache, populate the directory using rsync, check that owner:group permissions are correct then turn apache back on but if the contents change frequently this will get old very fast. Any tips appreciated.
|
feedback
|
|
Why would you need to shut down apache? Just copy the new files in and, as you said, verify permissions. | |||||||||||
feedback
|