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

Home directory not available #168

Open
Derkades opened this issue Aug 30, 2021 · 1 comment
Open

Home directory not available #168

Derkades opened this issue Aug 30, 2021 · 1 comment

Comments

@Derkades
Copy link

Derkades commented Aug 30, 2021

I have a user with user id 33 group id 33. Files are configured with mode 600 and directories with mode 700, all owned by 33:33. It this works fine, except that the user home directory needs group rx permissions (750) or logging in will fail:

Response:	331 User user_1 OK. Password required
Command:	PASS ******************************
Response:	421 Home directory not available - aborting

That seems like a bug, surely user rx permissions should be enough, since the user I am logging in with is configured with the same uid as the file owner?

Only the home directory needs to be 750, all files and directories inside can be 600/700 and allow reading/writing just fine.

@stilliard
Copy link
Owner

Hey @Derkades
Not sure about that sorry, quickly checked and looks like you might be fine with 710 (only x needed for the group).
My guess is pure-ftpd needs this itself to check the folder first.

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

2 participants