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

fix: should be user? #25

Closed
wants to merge 19 commits into from
Closed

fix: should be user? #25

wants to merge 19 commits into from

Conversation

cskiwi
Copy link

@cskiwi cskiwi commented Jan 1, 2021

Motivation: As of the documentation this value should be the user.
https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_Administration_CLI_Guide.pdf (page 8)

synoshare {--add} sharename share_desc share_path user_list_na user_list_rw user_list_ro share_browsable adv_privilege

publicarray and others added 19 commits December 20, 2020 21:18
  (synouser, synogroup, synoshare)
* remove tool that fail to modify permissions (synoacltool)
* remove tool that fail to apply configuration (servicetool)

servicetool, synouser, synogroup and synoshare have alternative
 ways to do the same thing using resource configuration
- change icon size from 72x72 to 64x64 for DSM 7
fixes missing log entries on reinstall
TODO add moreutils package, use sponge to prevent overriding file with 0 content
- 1<> $@
+ | sponge $@
…e user can create, they are invisible in the UI an are only useful to access another packages permissions (ffmpeg comes to mind)

For DSM7 I recommend setting permissions for individual packages (System Internal User)
or use the shared folder resource worker to add permissions. We can ask the user from the wizard the folder name

"join-groupname": "http" is for system groups, mainly for the web service ("root" don't work but "system" does)
@publicarray
Copy link
Owner

Thanks, good point. Would you be willing to add the PR to the master branch in https://github.com/SynoCommunity/spksrc ? I don't think it's DSM7 specific.

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

Successfully merging this pull request may close these issues.

3 participants