Hi,
The distributions i am using are,
s3ql - 0.30
fuse - 2.8.5
kernel version - 2.6.18-238.e15
I did not find the /etc/fuse.conf file on my system. But i assure you
fuse is installed and i can execute fusermount command :)
The problem i face is - I have mounted s3ql filesystem with --allow-
other option as a root user and able to perform all the operations on
the filesystem.
I then created another user without any root privileges and trying to
access the mounted s3ql filesystem.
Now, consider my mounted filesystem is /mnt/s3ql. The new user is
user1.
When i try to execute "cd /mnt/s3ql" from user1 home directory, i get
a permission denied error.
Similarly, i get a permission denied error when i try to use "cp"
command.
But, i can list the contents of /mnt/s3ql and the output looks like
this,
total 0
?--------- ? ? ? ? ? EOD.iso
?--------- ? ? ? ? ? Leopard.7z
?--------- ? ? ? ? ? Linear-run_S.rst
?---------+ ? ? ? ? ? lost+found
?--------- ? ? ? ? ? Project
Please note these directories and files were created by the root user.
Here is the contents of the mount.log -
Fri, 29 Jul 2011 07:19:45 GMT
/s3ql/s3ql_passphrase
2011-07-29 12:49:45.298 [25930] MainThread: [boto] Method: HEAD
2011-07-29 12:49:45.298 [25930] MainThread: [boto] Path: /
s3ql_passphrase
2011-07-29 12:49:45.299 [25930] MainThread: [boto] Data:
2011-07-29 12:49:45.299 [25930] MainThread: [boto] Headers: {'Date':
'Fri, 29 Ju l 2011
07:19:45 GMT', 'Content-Length': '0', 'Authorization': 'AWS
AKIAIW4KBHGSV
6QD2VHA:rznHu/JkNzyaxfi7BtOGFK07DWw=', 'User-Agent': 'Boto/1.9b
(linux2)'}
2011-07-29 12:49:45.299 [25930] MainThread: [boto] Host:
s3ql.s3.amazonaws .com
2011-07-29 12:49:45.567 [25930] MainThread: [boto] Canonical: GET
Fri, 29 Jul 2011 07:19:45 GMT
/store-area/s3ql_passphrase
2011-07-29 12:49:45.568 [25930] MainThread: [boto] Method: GET
2011-07-29 12:49:45.568 [25930] MainThread: [boto] Path: /
s3ql_passphrase
2011-07-29 12:49:45.568 [25930] MainThread: [boto] Data:
2011-07-29 12:49:45.569 [25930] MainThread: [boto] Headers: {'Date':
'Fri, 29 Ju l 2011
07:19:45 GMT', 'Content-Length': '0', 'Authorization': 'AWS
AKIAIW4KBHGSV
6QD2VHA:sfZaeJh1Wd11GQc3A/Ffks17NCY=', 'User-Agent': 'Boto/1.9b
(linux2)'}
2011-07-29 12:49:45.569 [25930] MainThread: [boto] Host: store-
area.s3.amazonaws .com
2011-07-29 12:49:45.835 [25930] MainThread: [boto] Canonical: GET
Fri, 29 Jul 2011 07:19:45 GMT
/store-area/
2011-07-29 12:49:45.835 [25930] MainThread: [boto] Method: GET
2011-07-29 12:49:45.836 [25930] MainThread: [boto] Path: /?&max-keys=0
2011-07-29 12:49:45.836 [25930] MainThread: [boto] Data:
2011-07-29 12:49:45.836 [25930] MainThread: [boto] Headers: {'Date':
'Fri, 29 Ju l 2011
07:19:45 GMT', 'Content-Length': '0', 'Authorization': 'AWS
AKIAIW4KBHGSV
6QD2VHA:pdHnDyxor6zs57KwzfMfcPOu0Hg=', 'User-Agent': 'Boto/1.9b
(linux2)'}
2011-07-29 12:49:45.837 [25930] MainThread: [boto] Host: store-
area.s3.amazonaws .com
2011-07-29 12:49:46.091 [25930] MainThread: [boto] <?xml version="1.0"
encoding= "UTF-8"?>
<ListBucketResult xmlns="
http://s3.amazonaws.com/doc/
2006-03-01/"><Name>store-
ar ea</Name><Prefix></
Prefix><Marker></Marker><MaxKeys>0</
MaxKeys><IsTruncated>fals
e</IsTruncated></ListBucketResult>
2011-07-29 12:49:46.093 [25930] MainThread: [boto] Canonical: GET
Fri, 29 Jul 2011 07:19:46 GMT
/store-area/
2011-07-29 12:49:46.093 [25930] MainThread: [boto] Method: GET
2011-07-29 12:49:46.093 [25930] MainThread: [boto] Path: /?
&prefix=s3ql_seq_no_
2011-07-29 12:49:46.094 [25930] MainThread: [boto] Data:
2011-07-29 12:49:46.094 [25930] MainThread: [boto] Headers: {'Date':
'Fri, 29 Ju l 2011
07:19:46 GMT', 'Content-Length': '0', 'Authorization': 'AWS
AKIAIW4KBHGSV 6QD2VHA:
+5YR2EoLHaxDnncIsqXOAuOZr5A=', 'User-Agent': 'Boto/1.9b (linux2)'}
2011-07-29 12:49:46.094 [25930] MainThread: [boto] Host: store-
area.s3.amazonaws .com
2011-07-29 12:49:46.420 [25930] MainThread: [boto] <?xml version="1.0"
encoding= "UTF-8"?>
<ListBucketResult xmlns="
http://s3.amazonaws.com/doc/
2006-03-01/"><Name>store-
ar ea</
Name><Prefix>s3ql_seq_no_</Prefix><Marker></Marker><MaxKeys>1000</
MaxKeys><I
sTruncated>false</IsTruncated><Contents><Key>s3ql_seq_no_0</
Key><LastModified>20
11-07-27T10:19:42.000Z</LastModified><ETag>"
23ab53fb3b9e3ee8f85aea18abc8306
5"</ETag><Size>110</
Size><Owner><ID>4e93f9fd34fd4626c75948c45bacdd4e35bf67a
3676ce1f7f732fb6ea60e06d9</ID><DisplayName>jimschwaller</DisplayName></
Owner><St
orageClass>STANDARD</StorageClass></
Contents><Contents><Key>s3ql_seq_no_1</
Key><
LastModified>2011-07-27T10:21:48.000Z</LastModified><ETag>"
6c9b6fa234caea59
66bf3ef473b57669"</ETag><Size>63</
Size><Owner><ID>4e93f9fd34fd4626c75948c45
bacdd4e35bf67a3676ce1f7f732fb6ea60e06d9</ID><DisplayName>jimschwaller</
DisplayNa me></
Owner><StorageClass>STANDARD</StorageClass></
Contents><Contents><Key>s3ql_s
eq_no_2</Key><LastModified>2011-07-28T08:08:50.000Z</
LastModified><ETag>"
74
f30695855bad1b445b8f8cf08046a8"</ETag><Size>110</
Size><Owner><ID>4e93f9fd34
fd4626c75948c45bacdd4e35bf67a3676ce1f7f732fb6ea60e06d9</
ID><DisplayName>jimschwa
ller</DisplayName></Owner><StorageClass>STANDARD</StorageClass></
Contents><Conte
nts><Key>s3ql_seq_no_3</Key><LastModified>2011-07-28T09:00:44.000Z</
LastModified
><ETag>"d8a292191d345cb4eb1cfc472173e765"</ETag><Size>63</
Size><Owner>
<ID>4e93f9fd34fd4626c75948c45bacdd4e35bf67a3676ce1f7f732fb6ea60e06d9</
ID><Displa
yName>jimschwaller</DisplayName></Owner><StorageClass>STANDARD</
StorageClass></C
ontents><Contents><Key>s3ql_seq_no_4</
Key><LastModified>2011-07-28T12:59:49.000Z
</LastModified><ETag>"4a95af4382c0b06339711a1100a92ee1"</
ETag><Size>63 </
Size><Owner><ID>4e93f9fd34fd4626c75948c45bacdd4e35bf67a3676ce1f7f732fb6ea60e06
d9</ID><DisplayName>jimschwaller</DisplayName></
Owner><StorageClass>STANDARD</
St orageClass></Contents></
ListBucketResult>
2011-07-29 12:49:46.423 [25930] MainThread: [mount] Using cached
metadata.
2011-07-29 12:49:46.426 [25930] MainThread: [boto] Canonical: GET
Fri, 29 Jul 2011 07:19:46 GMT
/store-area/
2011-07-29 12:49:46.426 [25930] MainThread: [boto] Method: GET
2011-07-29 12:49:46.427 [25930] MainThread: [boto] Path: /?&max-keys=0
2011-07-29 12:49:46.427 [25930] MainThread: [boto] Data:
2011-07-29 12:49:46.427 [25930] MainThread: [boto] Headers: {'Date':
'Fri, 29 Ju l 2011
07:19:46 GMT', 'Content-Length': '0', 'Authorization': 'AWS
AKIAIW4KBHGSV 6QD2VHA:
+5YR2EoLHaxDnncIsqXOAuOZr5A=', 'User-Agent': 'Boto/1.9b (linux2)'}
2011-07-29 12:49:46.428 [25930] MainThread: [boto] Host: store-
area.s3.amazonaws .com
2011-07-29 12:49:46.674 [25930] MainThread: [boto] <?xml version="1.0"
encoding= "UTF-8"?>
<ListBucketResult xmlns="
http://s3.amazonaws.com/doc/
2006-03-01/"><Name>store-
ar ea</Name><Prefix></
Prefix><Marker></Marker><MaxKeys>0</
MaxKeys><IsTruncated>fals
e</IsTruncated></ListBucketResult>
2011-07-29 12:49:46.681 [25930] MainThread: [boto] Canonical: PUT
rUg/ycdm4mCbvJzsloVm6A==
application/octet-stream
Fri, 29 Jul 2011 07:19:46 GMT
x-amz-meta-compression:ZLIB
x-amz-meta-encryption:AES
x-amz-meta-meta:EVllnE5zM3FsX3NlcV9ub181V1O/5iL/
i4CoKBfzIw72TDQZKAtlqG4XBknqso5F
83lp8RaJ
/store-area/s3ql_seq_no_5
2011-07-29 12:49:46.682 [25930] MainThread: [boto] Method: PUT
2011-07-29 12:49:46.682 [25930] MainThread: [boto] Path: /
s3ql_seq_no_5
2011-07-29 12:49:46.682 [25930] MainThread: [boto] Data:
2011-07-29 12:49:46.683 [25930] MainThread: [boto] Headers: {'x-amz-
meta-meta':
'EVllnE5zM3FsX3NlcV9ub181V1O/5iL/
i4CoKBfzIw72TDQZKAtlqG4XBknqso5F83lp8RaJ', 'x-
a mz-meta-compression':
'ZLIB', 'Content-Length': '63', 'x-amz-meta-encryption':
' AES', 'User-Agent':
'Boto/1.9b (linux2)', 'Expect': '100-Continue', 'Date':
'Fri , 29 Jul 2011
07:19:46 GMT', 'Content-MD5': 'rUg/ycdm4mCbvJzsloVm6A==',
'Content -Type':
'application/octet-stream', 'Authorization': 'AWS
AKIAIW4KBHGSV6QD2VHA:u
iPymUqMs0PS2wZv0TWg0Ig1yH4='}
2011-07-29 12:49:46.683 [25930] MainThread: [boto] Host: store-
area.s3.amazonaws .com
2011-07-29 12:49:47.191 [25930] MainThread: [BlockCache] Initializing
2011-07-29 12:49:47.191 [25930] MainThread: [mount] Mounting
filesystem...
2011-07-29 12:49:47.192 [25930] MainThread: [fuse] Initializing llfuse
2011-07-29 12:49:47.192 [25930] MainThread: [fuse] Calling fuse_mount
2011-07-29 12:49:47.222 [25930] MainThread: [fuse] Calling
fuse_lowlevel_new
2011-07-29 12:49:47.222 [25930] MainThread: [fuse] Calling
fuse_set_signal_handl ers
2011-07-29 12:49:47.223 [25930] MainThread: [fuse] Calling
fuse_session_add_chan
2011-07-29 12:49:47.227 [25935] MainThread: [daemonize] Daemonizing,
new PID is 25936
2011-07-29 12:49:47.229 [25936] MainThread: [fuse] Calling
fuse_session_loop_mt
2011-07-29 12:49:47.230 [25936] Metadata-Upload-Thread: [mount]
MetadataUploadTh read:
start
2011-07-29 12:49:47.231 [25936] Dummy-3: [BlockCache] init: start
2011-07-29 12:49:47.232 [25936] CommitThread: [BlockCache]
CommitThread: start
2011-07-29 12:49:47.232 [25936] Dummy-3: [BlockCache] init: end
2011-07-29 12:49:47.233 [25936] Inode Flush Thread: [fs] FlushThread:
start
2011-07-29 16:09:55.390 [26371] MainThread: [common] Using backend
credentials f rom /
root/.s3ql/authinfo
2011-07-29 16:09:57.375 [26371] MainThread: [root] Bucket does not
exist.
2011-07-29 16:10:07.134 [26374] MainThread: [root] Mountpoint does not
exist.
2011-07-29 16:10:41.115 [26376] MainThread: [common] Using backend
credentials f rom /
root/.s3ql/authinfo
2011-07-29 16:10:45.110 [26376] MainThread: [mount] Using cached
metadata.
2011-07-29 16:10:45.129 [26376] MainThread: [mount] Last file system
check was m ore than 1
month ago, running fsck.s3ql is recommended.
2011-07-29 16:10:45.741 [26376] MainThread: [mount] Mounting
filesystem...
2011-07-29 16:10:45.774 [26381] MainThread: [daemonize] Daemonizing,
new PID is 26382
I am not sure if this log output would actually help. The problem
seems to be with the file permissions. Please note i have tried
running different commands and debug the error, so the log may not
match the exact description given.
Sorry, i din't understand whats the dmesg output...
Regards,
Sumana