I am engaged in a self guided learning project (not school) to simulate a web development environment. Here is system information:
LAMP server running in VMWare WorkStation Player on Windows 7 host
- Ubuntu 16.04
- Apache server 2.4.18
- MySQL 5.7
- PHP 7.0.22
- fstp via Filezilla
When transferring files from Windows, I cannot transfer directly to the document root (/var/www/html
). For organization reasons I have created sub-directories and files under the html directory. I must use an intermediate folder, which I call transfers
, and then copy the file via the terminal. Because I am in a learning process, I wish to employ both best practices and efficiency.
Can I set appropriate permissions in the target directory and then create a symlink, or will permissions in the target directory's parent directories negate using this mind set? Any how/why explanations will be greatly appreciated.