Comments (3)
Thanks. Fixed.
from megafuse.
HI,
Great work on this project by the way. I’ve tested another fuse plugin, MegaFS, and your implementation is much faster and more stable so far. I also like how it goes directly into ‘Cloud Drive’ folder that’s a nice feature.
A few extra notes from my testing.
On Debian 7, the following were needed to build and make, perhaps add these the readme.
apt-get install libcrypto++ libcurl4-openssl-dev libdb5.1++-dev libfreeimage-dev
Someone with a fresh system would also need a few of these.
build-essential automake autoconf gobject-introspection fuse-utils libfuse-dev texlive pkg-config
USER must be added to ‘fuse’ user group to be able to perform mounting of MegaFS with sshfs
using root, add the user
usermod -aG fuse
usermod -aG fuse myuser
Also, there’s possibility that this package may also work under OSX. More testing is needed and specific packages are likely to be similar but may require homebrew or macports.
Finally, would it be possible to add ability to pass arguments to the MegaFuse executable to set which group and which user the share would belong to?
Using the sshfs command line one can mount a remote path and specify the group and user that will own the newly mounted path. (gid for the group, uid for the user)
i.e.
sshfs -o allow_other,gid=1003,uid=1003
It appears that these parameters are not accessible via the MegaFuse executable and default to the Fuse defaults of root, gid=0,uid=0.
It would be really useful to be able to choose which user and group own the folder after mounting it. This way mounts can be mounted and viewed under a web-server root which belongs to a lower privileged user.
www.mywebsite.com/megafusemount/myfile.jpg
Someone can then use their browser directly to access the file. (Note: currently Apache give a Forbidden error as www-data (the apache user - doesn’t have the privileges to read a folder which doesn’t belong to the user:group of the virtual web-root.)
i.e. public_html/megafusemount/myfile.jpg
$ ls
megafusemount - myuser:myuser - 755
Thanks,
-M
On Mar 23, 2014, at 4:23 AM, matteoserva [email protected] wrote:
Thanks. Fixed.
—
Reply to this email directly or view it on GitHub.
from megafuse.
thanks.
-added the -f options.
-updated the README
from megafuse.
Related Issues (20)
- Fix for compile in Debian 9
- mount directory disapears
- canot build for debain 64
- Compilation error on Debian 10 x86 HOT 1
- FATAL: Request failed (Expired) HOT 5
- instruction to compile?
- Bulid error in Ubuntu Server 16.04
- error in row cpp HOT 3
- libfreeimage.dylib when using the bin file for OSX
- 'fuse' not found so compiling cannot continue HOT 1
- Compile how to HOT 1
- download fallito: -5 HOT 1
- Is this repo dead? HOT 11
- MegaFuse arguments HOT 3
- megafuse_symlink
- Inconsistent behavior when removing and possibly modifying symlinks
- Needs additional tools and an include to build on Ubuntu 18.04 HOT 3
- Attribute to upldaed files is -555 & samba issue HOT 1
- installation failed HOT 1
- error when open remote folder
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 megafuse.