Comments (11)
Btw, the --root /data
argument works perfectly, meaning I can only access files in this (mounted) directory.
from cloudcmd.
Hi @jojow,
This is because you did not set flag auth
, it is false
by default. So you just set username
and password
but did not turn on authorisation. With all parameters command will look like:
docker run -d -p 8000:8000 coderaiser/cloudcmd:5.2.3 npm start -- --root /data --auth -u admin -p sOmEpAsSwOrD
And starting from next version you could use just:
docker run -d -p 8000:8000 coderaiser/cloudcmd:5.2.3 --root /data --auth -u admin -p sOmEpAsSwOrD
You could also try alpine build (based on alpine-node, which is much smaller then official docker image of node) with:
docker run -d -p 8000:8000 coderaiser/cloudcmd:5.2.3-alpine --root /data --auth -u admin -p sOmEpAsSwOrD
from cloudcmd.
Great, thanks a lot! Now it works! :-)
from cloudcmd.
Hi
do you know how I can set up with auth in a file docker-compose.yml ?
Regards
from cloudcmd.
@dtk78 you can use environment variables
:
CLOUDCMD_AUTH
CLOUDCMD_USERNAME
CLOUDCMD_PASSWORD
in docker-compose file or in env file.
from cloudcmd.
Hello,
Thanks a lot for you reply.
how can I also setup this argument --root /project in my docker-compose.yml file ?
and --one-panel-mode ?
Regards
from cloudcmd.
hello,
Is it possible to setup default user for creating a file or directory ?
I can see that the default owner is root for creating a new directory or file
Regards
from cloudcmd.
how can I also setup this argument --root /project in my docker-compose.yml file ?
and --one-panel-mode ?
I have no idea :). There is no way to set root
and one panel mode
via env variables In Cloud Commander but it is a great idea for a pull request :).
Is it possible to setup default user for creating a file or directory ?
I can see that the default owner is root for creating a new directory or file
You should build your own docker image and create user.
from cloudcmd.
Hi,
Do you know how I can make chown after creating a file or after copying some files ?
or is there any pluggins to get an option chown with a right clic ?
Do I need to add a function chmod in a .js file ?
Thanks for your help
Regards
from cloudcmd.
You can use console
or terminal
for this purpose.
from cloudcmd.
In v7.3.0 was landed support of environment variables CLOUDCMD_ROOT
and CLOUDCMD_ONE_PANEL_MODE
.
from cloudcmd.
Related Issues (20)
- Limit path that is accessible HOT 2
- Unique "ROOT" directory for each side of the 2 panel view HOT 1
- Files missing after cancelling move due to EACESS error HOT 3
- Moving files in the same partition path will result in a copy file operation HOT 9
- supervisor or systemd support ? HOT 2
- not able to edit file HOT 2
- feat: a row at the top with Bookmarks/shortcuts to different folder locations HOT 3
- Docker: Could not do a head request for "coderaiser/cloudcmd:latest-alpine" HOT 4
- Large number of files missing or deleted by aborting in the middle of a move file process HOT 5
- feat: Hook upon upload/download HOT 10
- DOMException: Failed to register a ServiceWorker for scope -- when using self signed certificates on Chrome HOT 4
- using AWS Cloudfront, the login authentication can not pass. HTTP 401 HOT 4
- Update docker/build-push-action
- enoent error HOT 24
- Copy recursive preserving permissions HOT 4
- --packer "zip" don't work HOT 9
- Files get deleted on aborting move HOT 6
- Horizontal screen split option HOT 2
- No such image: coderaiser/cloudcmd:latest HOT 3
- [feature request] disable specified items of context menu HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudcmd.