Tag: permissions

SSH authentication refused bad ownership or modes for file

So you created SSH keypair, installed public key on the server you want to connect to but, probably, made this not as described in this article: How To Set Up SSH Keys and now the server refuses your key and in /var/log/secure we can see message like this: Authentication refused: bad ownership or modes for …

Continue reading

How to recursively set permissions for ACL in FreeBSD

freebsd

This is not too difficult however as not as straightforward as it can be done in Linux. setfacl command in Linux has -R directive to set permissions recursively in the same way as with chmod command. In FreeBSD setfacl does not have -R directive. Use the following examples to recursively set ACL permissions in FreeBSD:

Continue reading