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

Add permissions command to user guide #720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,27 @@ Modifies user password

Usage: `passwd [oldpassword newpassword]`

### permissions
Shows/Establish default permissions for files and folders created by MEGAcmd.

Usage: `permissions [(--files|--folders) [-s XXX]]`

<pre>
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.
</pre>

### preview
To download/upload the preview of a file.

Expand Down