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

Read-only shares missing from FTP #549

Open
fred-cardoso opened this issue Dec 29, 2019 · 4 comments
Open

Read-only shares missing from FTP #549

fred-cardoso opened this issue Dec 29, 2019 · 4 comments
Labels
5.x

Comments

@fred-cardoso
Copy link

@fred-cardoso fred-cardoso commented Dec 29, 2019

After configuring a share on Shared Folders section as Read-only for a specified user, that user can't see the folder using FTP. If the same folder is changed and set as Read/Write, the user can see the folder.

To test this issue is quite simple:
1 - Create two users
2 - Create a shared folder, and give read only access to one of the users and read/write to the other one
3 - Add the newly created shared folder to the FTP Shares section
4 - Access via FTP using the read only user's account
5 - Access via FTP using the read write user's account
6 - One can see the share, the other can't

After using cat the output is this:
<Directory /Filmes> <Limit ALL> AllowUser OR fred DenyAll </Limit> <Limit READ DIRS> AllowUser OR fred DenyAll </Limit> </Directory> <Directory /Empires> <Limit ALL> DenyAll </Limit> <Limit READ DIRS> DenyAll </Limit> </Directory>

So, the directory Filmes is configured as Read/Write and the Empires one as Read only for the user fred. As seen, the user fred is not allowed in the Empires directory at all.

@votdev

This comment has been minimized.

Copy link
Collaborator

@votdev votdev commented Jan 1, 2020

Which OMV version are we talking about?

@fred-cardoso

This comment has been minimized.

Copy link
Author

@fred-cardoso fred-cardoso commented Jan 1, 2020

Hi @votdev !

Current version is: 5.2.1-1 (Usul).

Thank you and Happy new Year!

@votdev votdev added 5.x and removed feedback requested labels Jan 2, 2020
@votdev

This comment has been minimized.

Copy link
Collaborator

@votdev votdev commented Jan 2, 2020

Please describe how to create the shared folder Filmesand Empires. Are they on the same level or is Empires a sub-directory of Filmes?

I can not reproduce this issue when creating a share called Dataand give a user read-only and another one read-write access.

@fred-cardoso

This comment has been minimized.

Copy link
Author

@fred-cardoso fred-cardoso commented Jan 2, 2020

They are on the same level. Actually, they are different hard drives, and on both I created a shared folder pointing to them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.