diff --git a/README.md b/README.md index 80cf53db..e5a714e0 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ some recommended options: * `-e2ts` enables audio metadata indexing (needs either FFprobe or Mutagen), see [optional dependencies](#optional-dependencies) * `-v /mnt/music:/music:r:rw,foo -a foo:bar` shares `/mnt/music` as `/music`, `r`eadable by anyone, and read-write for user `foo`, password `bar` * replace `:r:rw,foo` with `:r,foo` to only make the folder readable by `foo` and nobody else - * see [accounts and volumes](#accounts-and-volumes) for the syntax and other access levels (`r`ead, `w`rite, `m`ove, `d`elete) + * see [accounts and volumes](#accounts-and-volumes) for the syntax and other permissions (`r`ead, `w`rite, `m`ove, `d`elete, `g`et) * `--ls '**,*,ln,p,r'` to crash on startup if any of the volumes contain a symlink which point outside the volume, as that could give users unintended access @@ -840,7 +840,7 @@ on public copyparty instances with anonymous upload enabled: other misc: -* you can disable directory listings by giving accesslevel `g` instead of `r`, only accepting direct URLs to files +* you can disable directory listings by giving permission `g` instead of `r`, only accepting direct URLs to files * combine this with volume-flag `c,fk` to generate per-file accesskeys; users which have full read-access will then see URLs with `?k=...` appended to the end, and `g` users must provide that URL including the correct key to avoid a 404 diff --git a/copyparty/__main__.py b/copyparty/__main__.py index a61a6640..ac78f973 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -216,10 +216,10 @@ def run_argparse(argv, formatter): """ -a takes username:password, -v takes src:dst:perm1:perm2:permN:volflag1:volflag2:volflagN:... - where "perm" is "accesslevels,username1,username2,..." + where "perm" is "permissions,username1,username2,..." and "volflag" is config flags to set on this volume - list of accesslevels: + list of permissions: "r" (read): list folder contents, download files "w" (write): upload files; need "r" to see the uploads "m" (move): move files and folders; need "w" at destination @@ -288,7 +288,7 @@ def run_argparse(argv, formatter): \033[0mothers: \033[36mfk=8\033[35m generates per-file accesskeys, - which will then be required at the "g" accesslevel + which will then be required at the "g" permission \033[0m""" ), ], diff --git a/copyparty/__version__.py b/copyparty/__version__.py index c880cbd1..c960356e 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 0, 2) +VERSION = (1, 0, 3) CODENAME = "sufficient" -BUILD_DT = (2021, 9, 9) +BUILD_DT = (2021, 9, 18) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)