单项选择题

A. User2 needs write permission to the directory.
B. User2 needs both read and write permissions to the directory.
C. User2 needs both read and execute permissions to the directory.
D. User2 needs both write and execute permissions to the directory.