Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not change dir's owner #8762

Closed
zhangzewen opened this issue Jan 7, 2020 · 1 comment
Closed

can not change dir's owner #8762

zhangzewen opened this issue Jan 7, 2020 · 1 comment

Comments

@zhangzewen
Copy link

I use s3fs-fuse mount a bucket, i create a folder in the mounted folder, when i use chown to change the folder's owner , it can not be changed。But if it's a file, that worked.

Steps to Reproduce (for bugs)

# mkdir /opt/test_dir
# s3fs test /opt/test_dir -o use_path_request_style -o url=http://10.218.0.64:9000 -o endpoint=us-east-1 -o allow_other -o mp_umask=000
# cd /opt/test_dir/
# mkdir  test_dir
# touch  test
# ll
total 1
-rw-r--r-- 1 root root 0 Jan  7 18:20 test
drwxr-x--- 1 root root 0 Jan  7 18:16 test_dir
# chown operator test
# ll
total 1
-rw-r--r-- 1 operator root 0 Jan  7 18:20 test
drwxr-x--- 1 root     root 0 Jan  7 18:16 test_dir
# chown  operator test_dir
# ll
total 1
-rw-r--r-- 1 operator root 0 Jan  7 18:20 test
drwxr-x--- 1 root     root 0 Jan  7 18:21 test_dir

Your Environment

# lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.2.1511 (Core)
Release:	7.2.1511
Codename:	Core
# s3fs --version
Amazon Simple Storage Service File System V1.85(commit:unknown) with OpenSSL
Copyright (C) 2010 Randy Rizun <rrizun@gmail.com>
License GPL2: GNU GPL version 2 <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
@harshavardhana
Copy link
Member

@zhangzewen we don't support directories like AWS S3 and do not allow custom metadata on them.

It's a use case we are not interested to address anytime in near future. Closing this as won't fix.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants