Comments (5)
from gossa.
hey - thanks for the report !
So this happens when ~/LocalDirToShare
is not created before calling sudo docker ...
. Then Docker creates the folder as root, making gossa unable to access it. Just rm -rf ~/LocalDirToShare
and then mkdir ~/LocalDirToShare
before you run the docker invoke. I'll amend the main docs to reflect this 👍
from gossa.
hey - thanks for the report ! So this happens when
~/LocalDirToShare
is not created before callingsudo docker ...
. Then Docker creates the folder as root, making gossa unable to access it. Justrm -rf ~/LocalDirToShare
and thenmkdir ~/LocalDirToShare
before you run the docker invoke. I'll amend the main docs to reflect this 👍
thanks for the replay.
but it does't work for me.
I exec rm -rf ~/LocalDirToShare
and then mkdir ~/LocalDirToShare
, and then clear all the docker containers.
at last exec:
sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa
the docker logs still show me:
error [upload %2FOffice2Pdf.rar] open /shared/Office2Pdf.rar: permission denied
I don't know why.
from gossa.
hm odd, this is working just fine on my setup...
maybe ls -lha ~/LocalDirToShare
see who's the owner and what are the perms ?
from gossa.
I solved the problem:
after exec
sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa
then, go to the container exec:
chmod 777 /root/shared
then exit the container.
now, I can upload any file to gossa.
thanks a lot.
But unfortunately, I don't know why the docker or gossa has no permission to access the dir named "~/LocalDirToShare" in host machine map to "/root/share" in the container
from gossa.
Related Issues (20)
- Kind of major security flaw HOT 3
- Password Protect Modifications
- [HELP] docker-compose port HOT 1
- Upload shortcut does not work
- can't press Ctrl/Cmd + h to see all the UI/keyboard shortcuts.
- upload big file failed HOT 2
- Open html file instead of downloading HOT 2
- uploading files with a touchscreen HOT 1
- How to write windows path in the command? HOT 3
- Read-only with Upload support? HOT 1
- Viedeo player
- download button video
- Dangerous -ro flag HOT 2
- stream mkv's instead of download HOT 2
- investigate vlc:// url scheme
- display error icon on error HOT 2
- propose inclusion into debian repos
- update caddy examples
- make help easier to discover
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 gossa.