mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #1275] Allow ftp user to access particular folder of S3 Bucket #685
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#685
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lalspicesresearch on GitHub (Apr 20, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1275
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD
Version of s3fs being used (s3fs --version)
_Version:V1.86 _
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
Unknown option -qi
Kernel information (uname -r)
4.19.76-linuxkit
GNU/Linux Distribution, if applicable (cat /etc/os-release)
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
s3fs command line used, if applicable
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
grep: /var/log/syslog,: No such file or directory
grep: or: No such file or directory
grep: journalctl: No such file or directory
grep: s3fs: No such file or directory
grep: outputs: No such file or directory
Details about issue
I am able to mount s3fs fuse in docker but i want particular ftp user created by me to access particular folder of S3 Bucket. I am using vsftpd server too. Is there any way to make this happen ? When we mount using below command, it shows all folder and user can access all the folder.
s3fs bucket_name /home/lal/ftp/files -o passwd_file=/etc/passwd-s3fs
How can we limit the users folder access ? Please help me with any kind of references. Thank you for such wonderful package.
@gaul commented on GitHub (Apr 22, 2020):
You can mount a path of a bucket via:
s3fs bucket:/path mountpoint.@lalspicesresearch commented on GitHub (Apr 22, 2020):
@gaul i have mounted the whole bucket. Now what i have to do is give specific folder inside of that bucket permission to one user and another folder of bucket to another user. How can we acheive that ?
@gaul commented on GitHub (Apr 26, 2020):
@lalspicesresearch if you found a solution to this please share it here to help future users.