Comments (9)
Hello,
I've committed a small patch which should solve this issue.
Please update your copy, recompile, update config file and try to launch RioFS with the following command line parameters:
--uid=[user id]
--gid=[group id]
--fmode=[mode for all files]
--dmode=[mode for all directories]
This is an example:
riofs --uid=1001 --gid=1000 --dmode=0700 --fmode=0440 -c ../test.conf.xml test_bucket /mnt/
Could you please let us know how it works for you ?
Thank you !
from riofs.
Hi,
Seriously, I'm impressed. It works pretty well this patch! Thank you for this. The more I test RioFS, more I like it! It's seriously faster than S3FS, simpler and better so far.
Now, I'm facing another issue. I have a script which work well with s3fs but not at all with RioFS. Let me explain. This script before uploading into a folder check if there is enough available space. With s3fs, by default there is 260++ terabytes available but with RioFS the available space is the same as the occupied space.
There is a way to let know the system that Amazon S3 is huge?
Thank to you!
from riofs.
Hello,
could you please send me a simple copy of your script?
Basically I would like to see which function do you use for checking available space.
And thank you for helping us with the testing, it really helps !
from riofs.
Hi,
in fact the script use disk_free_space() and disk_total_space() functions in php. http://www.php.net/manual/en/function.disk-free-space.php
Otherwise, it can be bypassed easily in my script.
Thank you!
from riofs.
Hello,
I've committed a small patch which adds support for disk_free_space() / disk_total_space() functions.
Could you please give it a try ?
Thank you !
from riofs.
I tried it and it works perfectly. If I got another issue, I will contact you for sure!
Thank you, it's appreciated.
from riofs.
Hello,
are fmode
/dmode
for setting ACLs on S3? I am trying to set ACLs but I can't see a way. If not, would it be possible to map the POSIX permissions (ugo) to Amazon ACLs (owner/authenticated/everyone)? So, to make a file readable by everyone, I'd do "chmod o+r myfile".
If fmode
and dmode
can be used to make every file I write world-readable, it's fine by me, that's all I need anyway. The documentation could probably use some clarification, though, as it doesn't go into detail on either what "mode for all files" is (which files? Remote or just the local representations?) or what you need to set it to (is it the same octal argument chown accepts? What does each thing do if it's mapped to remote files?).
from riofs.
The current implementation of fmode
/ dmode
sets only local files and folders permissions and are not connected to remote S3 ACLs. The idea behind these parameters is to be able to control who can read/write local filesystem.
fmode
/ dmode
use standard octal arguments as values: --fmode=0666
will set -rw-rw-rw-
mode for all files on local RioFS filesystem.
Thank you for pointing out the lack of fmode
and dmode
documentation, we will add clarification and some usage examples.
P.S. chmod
currently isn't supported.
from riofs.
I see, thanks!
from riofs.
Related Issues (20)
- How does caching work? Under what conditions can it fail? HOT 2
- build fails with openssl-1.1 ( SSL_library_init symbol not found )
- openssl 1.1 "make" failed HOT 4
- Does riofs support cn-north-1 region? HOT 1
- Latest commits affect stability HOT 6
- riofs and google cloud storage s3 compatibility HOT 3
- possibility to use HTTPS endpoint on different port HOT 2
- [Request] Digital Ocean S3 Spaces HOT 5
- unrecoverable crash HOT 2
- If cache directory is deleted, RioFS is not creating it again unless restart RioFS HOT 1
- Is it possible to use riofs with localstack? HOT 1
- Unable to rename files HOT 2
- Permission Issue in Riofs and Fuse with ???????
- riofs automatically un-mount in server
- RIOFS Auto demount HOT 1
- Is anyone available to do some PAID support? HOT 1
- RioFS cannot mount AWS S3 buckets HOT 4
- it is possible to use riofs with cross account profiles? HOT 1
- stable enough for production use? HOT 3
- Large files performance
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 riofs.