catbug catbug - 14 days ago 5
Linux Question

Linux What are the minimum permissions required to create a link to a file?

For the source directory, source file and target directory what are the minimum permissions required for each in order to create a link to a file?

Answer

You need execute permission to the source directory, and write+execute permission to the target directory. Permissions on the source file are irrelevant.

Comments