mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
more interesting config example
This commit is contained in:
parent
87d835ae37
commit
5095d17e81
|
@ -7,6 +7,10 @@ u usr2:letmein
|
||||||
-i 127.0.0.1
|
-i 127.0.0.1
|
||||||
-p 2434
|
-p 2434
|
||||||
|
|
||||||
|
# enable file indexing+scanning and multimedia indexing+scanning
|
||||||
|
-e2ds
|
||||||
|
-e2ts
|
||||||
|
|
||||||
# share /usr/share/games from the server filesystem
|
# share /usr/share/games from the server filesystem
|
||||||
/usr/share/games
|
/usr/share/games
|
||||||
/vidya
|
/vidya
|
||||||
|
|
|
@ -54,6 +54,20 @@ w
|
||||||
c e2d
|
c e2d
|
||||||
c nodupe
|
c nodupe
|
||||||
|
|
||||||
|
# and a folder where anyone can upload
|
||||||
|
# and anyone can access their own uploads but nothing else
|
||||||
|
# (permissions "wG" = write + upget);
|
||||||
|
# volflag "e2d" enables the uploads database,
|
||||||
|
# "d2t" disables multimedia parsers (in case the uploads are malicious),
|
||||||
|
# "dthumb" disables thumbnails (same reason),
|
||||||
|
# "fk" enables filekeys (necessary for upget permission) (4 chars long)
|
||||||
|
# -- note that its fine to combine all the volflags on
|
||||||
|
# one line because only the last volflag has an argument
|
||||||
|
/home/ed/inc/sharex
|
||||||
|
/sharex
|
||||||
|
wG
|
||||||
|
c e2d,d2t,fk=4
|
||||||
|
|
||||||
# this entire config file can be replaced with these arguments:
|
# this entire config file can be replaced with these arguments:
|
||||||
# -u ed:123 -u k:k -v .::r:a,ed -v priv:priv:r,k:rw,ed -v /home/ed/Music:music:r -v /home/ed/inc:dump:w:c,e2d,nodupe
|
# -u ed:123 -u k:k -v .::r:a,ed -v priv:priv:r,k:rw,ed -v /home/ed/Music:music:r -v /home/ed/inc:dump:w:c,e2d,nodupe -v /home/ed/inc/sharex:sharex:wG:c,e2d,d2t,fk=4
|
||||||
# but note that the config file always wins in case of conflicts
|
# but note that the config file always wins in case of conflicts
|
||||||
|
|
Loading…
Reference in a new issue