I would like clarification on the permissions required, in order to move a file A from directory B to directory C (the command would be "mv B/A C/A", I think), with name unchanged.
Am I correct to think that the following are required?
- The user/group doing the move must have write permission for directory B (or B must have permission flag set to allow all users/groups to write it)
- The user/group doing the move must have write permission for directory C (or C must have permission flag set to allow all users/groups to write it)
- The user/group doing the move must have write permission for file A (or A must have permission flag set to allow all users/groups to write it)
Thank you.