Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why will chmod not change the permissions on symlinks?

chmod permissions symlinks
0
Posted

Why will chmod not change the permissions on symlinks?

0

Symlinks do not have permissions, and by default, chmod(1) will not follow symlinks to change the permissions on the target file. So if you have a file, foo, and a symlink to that file, bar, then this command will always succeed.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.