I created these users with radosgw-admin [ "test2$tester3", "test$tester1", "test$tester2" ] test$tester1 has created bucket test, and in this bucket file test.txt test$tester2 cannot create a bucket test test2$tester3 has created bucket test, and in this bucket file test.txt There must be something in this http://objects.local/test/test.txt that identifies if I would like to have the test.txt file of $tester1 or $tester3? Maybe something like http://objects.local/test/test.txt?ACCESSKEY=tester3key ? This is what I get now <Error> <Code>NoSuchBucket</Code> <BucketName>test</BucketName> <RequestId>tx000000000000000000101-005abb84b5-2d8dc8-default</RequestId> <HostId>2d8dc8-default-default</HostId> </Error> -----Original Message----- From: Wido den Hollander [mailto:wido@xxxxxxxx] Sent: woensdag 28 maart 2018 13:45 To: ceph-users@xxxxxxxxxxxxxx Subject: Re: Getting a public file from radosgw On 03/28/2018 12:53 PM, Marc Roos wrote: > There must be in the wget/curl url some userid/unique identification > not? Otherwise it could be anybodies test bucket/file? Let's say you have 'objects.local' as hostname. You can then fetch the object: - http://test.objects.local/test.txt - http://objects.local/test/test.txt Both should work. Wido > > > [marc@os0 ~]$ s3cmd info s3://test/test.txt s3://test/test.txt > (object): > File size: 15 > Last mod: Wed, 28 Mar 2018 10:49:00 GMT > MIME type: text/plain > Storage: STANDARD > MD5 sum: 120ea8a25e5d487bf68b5f7096440019 > SSE: none > policy: none > cors: none > ACL: *anon*: READ > ACL: Test1 User: FULL_CONTROL > URL: http://192.168.1.111:7480/test/test.txt > [marc@os0 ~]$ s3cmd info s3://test/ > s3://test/ (bucket): > Location: us-east-1 > Payer: BucketOwner > Expiration Rule: none > policy: none > cors: none > ACL: *anon*: READ > ACL: Test1 User: FULL_CONTROL > URL: http://192.168.1.111:7480/test/ > > > > > > -----Original Message----- > From: Wido den Hollander [mailto:wido@xxxxxxxx] > Sent: woensdag 28 maart 2018 12:05 > To: ceph-users@xxxxxxxxxxxxxx > Subject: Re: Getting a public file from radosgw > > > > On 03/28/2018 11:59 AM, Marc Roos wrote: >> >> >> >> >> >> Do you have maybe some pointers, or example? ;) >> > > When you upload using s3cmd try using the -P flag, that will set the > public-read ACL. > > Wido > >> This XML file does not appear to have any style information >> associated > >> with it. The document tree is shown below. >> >> > <Error><Code>NoSuchBucket</Code><BucketName>test</BucketName><RequestI > d> >> > tx0000000000000000000bb-005abb6720-2d8dc8-default</RequestId><HostId>2 > d8 >> dc8-default-default</HostId></Error> >> >> >> -----Original Message----- >> From: Jaroslaw Owsiewski [mailto:jaroslaw.owsiewski@xxxxxxxxxx] >> Sent: woensdag 28 maart 2018 11:49 >> To: Marc Roos >> Cc: ceph-users >> Subject: Re: Getting a public file from radosgw >> >> Yes. File should have "public-read" permissions. >> >> Regards >> -- >> Jarek >> >> 2018-03-28 11:41 GMT+02:00 Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx>: >> >> >> >> >> Is it possible to get a file directly from a bucket without >> authenticating >> >> With something like wget >> https://radosgw.example.com/user/bucket/file >> <https://radosgw.example.com/user/bucket/file> or >> https://radosgw.example.com/uniqueid >> <https://radosgw.example.com/uniqueid> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@xxxxxxxxxxxxxx >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com> >> >> >> >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@xxxxxxxxxxxxxx >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com