-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix various permission issues #3216
Fix various permission issues #3216
Conversation
So we would use this on all download related packages or just processing packages like Sonarr? |
Here is my idea:
If user want "download" folders (from transmission for instance) to be accessible to everyone, they can add "users" read permission on it. |
I just wonder if it is a good idea to set as "owner" folders in Shared... when package is removed, some strange effects may happen:
|
185a657
to
42b03ba
Compare
42b03ba
to
f88e098
Compare
If all services (both downloaders and professors) are already in |
Maybe I have guessed what DrBean idea was:
Probably sc-download/sc-media split is too complex for most end-users... But I think it is relevant for security and some advanced users (like some small companies for instance) to keep permission segregation. If a service account is in "users", it does not necessarily mean it will write files readable for "users". My idea is to enlist service account into "users" to be able to read "public" files (readable to anyone) |
I have even imagine in framework to propose users to choose group name from wizard thanks to |
I am pretty sure it was me who suggested to remove the group option from wizard. Because I think SynoCommunity package's should be here to make things easier for regular end-users.. Not expect them to be permissions and command line experts. I don't think I completely understand how the proposed approach would work in practice: how things can be just readable for one group but read and writeable for the other. Doesn't a consumer like Sonarr need also to write (remove) files? |
I agree with you... but I really think there is no reason to give any application full access to "users" group. I am not sure if it makes things clearer but I wrote a concept as a specification/design: #3217 |
Being part of a group like media or download is pretty fine and convenient. |
f88e098
to
29f14ca
Compare
Grant GROUP (sc-download) permission to browse subfolder in Shared Allow to enlist service user into "users" group to access contents Increase package versions to publish
a7123cf
to
4c1bb2d
Compare
@Safihre Are you OK with this PR ? |
Yes looks good to me. |
synoshare --list_acl does not give you this info. I did not find a way to convert it with a command so the script could do it, I also don't think it should be done via the script, the warnings in the wizard are there for good reasons. |
Doesn't |
Not to my knowledge. |
@BenjV May you please report output of |
I am sorry, I made a mistake. You were right it gives this output when the share has no ACL support: |
That's pretty general.. I also see that sometimes on DSM6 when old-style packages did some |
Yes it is general but enough to determine if the share has to be converted to support ACL's. |
Sorry to intrude, but reading this thread, will this ACL-requirement, when implemented, has as side-effect that external devices (usbshares) won't be able to be the destination shared-folder for Sonarr/Radarr? |
Grant GROUP (sc-download) permission to browse subfolder in Share Folder
Conditionally enlist service user into "users" group to access contents
Linked issues: #3192 #3215 #3212 #3185