Move vs Copy
January 8th, 2010
A quick tidbit.
When you COPY a file/folder from one location and PASTE it to a new location, you will strip all inherited permissions from the parent folder and take on the perms of the new root location.
When you MOVE a file/folder to a new location, the file will not inherit the permissions of the host location and instead maintain the permissions set on the original file.
This does not apply when you zap over a file to a different drive, in which case all perms are stripped.
PLEASE, do yourself and your IT mates a favor and remember the difference. Thank you.
1/14 – edit fail reversed. lousy wordpress autosave
What? That seems backwards. One would think a copy/paste (effectively a “new” file creation) would inherit the permissions of the host, while when you move, you would move everything, including the permissions.
Yeah I fixed it. Somehow my old draft got pushed out when I was publishing an update.