On my website, I have a bunch of links to files (mostly PDFs) that I am frequently updating. I would like to set up my server so that when I change my personal version of the file (which is not located in the public directory of my server), the change is automatically reflected in the version that appears on my website. I was hoping that making a symbolic link from my personal version of a file to a public directory (e.g. wp-content/uploads) would work, but it seems that I would need to change the owner of my personal version of the file to www-data, which I would prefer not to do. I was wondering if there is an easy work-around for this?
Currently, I am using Dropbox as a work-around: I have symbolic links to my files in a public Dropbox folder, and my website links to the public link that Dropbox gives me for the file. This works fine, but it seems silly to me that I should rely on a 3rd party website to do something that I would hope would be easy to accomplish on my own server.
Thanks in advance for your help!