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

mega-permissions is not documented #719

Open
EndBug opened this issue Oct 1, 2022 · 1 comment · May be fixed by #720
Open

mega-permissions is not documented #719

EndBug opened this issue Oct 1, 2022 · 1 comment · May be fixed by #720

Comments

@EndBug
Copy link

EndBug commented Oct 1, 2022

The permissions command is not in the User Guide

@polmr
Copy link
Collaborator

polmr commented Oct 3, 2022

Thanks for pointing that out. In any case, inline documentation is available:

$ permissions --help                                         
Usage: permissions [(--files|--folders) [-s XXX]]                              
Shows/Establish default permissions for files and folders created by MEGAcmd.

Permissions are unix-like permissions, with 3 numbers: one for owner, one for group and one for others
Options:
 --files	To show/set files default permissions.
 --folders	To show/set folders default permissions.
 --s XXX	To set new permissions for newly created files/folder. 
        	 Notice that for files minimum permissions is 600,
        	 for folders minimum permissions is 700.
        	 Further restrictions to owner are not allowed (to avoid missfunctioning).
        	 Notice that permissions of already existing files/folders will not change.
        	 Notice that permissions of already existing files/folders will not change.

Notice: this permissions will be saved for the next time you execute MEGAcmd server. They will be removed if you logout.

EndBug added a commit to EndBug/MEGAcmd that referenced this issue Oct 3, 2022
@EndBug EndBug linked a pull request Oct 3, 2022 that will close this issue
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 a pull request may close this issue.

2 participants