ramonlopesb / opendedup

Automatically exported from code.google.com/p/opendedup
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 shipen...@gmail.com on 16 Apr 2013 at 3:28