Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce /var/www permissions for SFTP #123

Open
tituspijean opened this issue Aug 17, 2023 · 0 comments
Open

Enforce /var/www permissions for SFTP #123

tituspijean opened this issue Aug 17, 2023 · 0 comments

Comments

@tituspijean
Copy link
Member

To ensure that SFTP does not complain with fatal: bad ownership or modes for chroot directory component "/var/www/", we have to make sure the permissions are the following:

➜  ls -ld /var/www
drwxr-xr-x+ 24 root root 4096 Aug 16 15:39 /var/www
➜  getfacl /var/www
getfacl: Removing leading '/' from absolute path names
# file: var/www
# owner: root
# group: root
user::rwx
group::r-x
group:all_users:---
mask::r-x
other::r-x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant