alter and write passwords are not contradictory, they are focusing on different things:
ALTER – restricts who may delete the file, update variable attributes, or create and delete
indexes.
WRITE – restricts who may update the data in the file. For SAS data sets, it restricts who can add,
modify, and delete observations.