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

How can we specify the owner of the file and folder? #58

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

How can we specify the owner of the file and folder? #58

GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
We want to use sdfs for our openstack swift cloud. But we need the files and 
folders in the volume always have the owner of "swift", so that swift software 
can operate them. We do the following but failed. 
1.create sdfs->mkfs.sdfs --volume-name=vol1 --volume-capacity=200MB 
--chunk-store-size=200MB --base-path=/srv/node/data1  --permissions-file=0777 
--permissions-folder=0777 --permissions-group=1001 --permissions-owner=1001 
(1001 is the user id and group id of swift)
2.we let swift save data to the vol1.
3.find that the file and folder in vol1 still and the owner of "root", and the 
permission of file and folder is not 0777. Only .lock and *.pending files have 
the owner of swift.

What is the expected output? What do you see instead?
We want all the files and folders have the owner and group of "root". But it 
was not.

What version of the product are you using? On what operating system?
Deb package sdfs-1.2.3_amd64.deb, Version: 1.2.3.

Please provide any additional information below.
Help, please, how can we do that? Thank you!

Original issue reported on code.google.com by [email protected] on 16 Apr 2013 at 3:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant