Enforce copying instead of moving to preserve the files in original locations
by Zbigniew from LinuxQuestions.org on (#54K2W)
Is it possible to set constraints on folder to not move files to it (only copy)?
I want to create a temporary RAM disk and protect files from other locations against moving them to RAM disk. Similar behaviour is applied when moving files between drives - files are copied. When moving inside the same drive, files are moved from source folder to other one. I want to allow only copying files to RAM disk.


I want to create a temporary RAM disk and protect files from other locations against moving them to RAM disk. Similar behaviour is applied when moving files between drives - files are copied. When moving inside the same drive, files are moved from source folder to other one. I want to allow only copying files to RAM disk.