using encfs on sshfs-mounted filesytem

D. R. Evans doc.evans at gmail.com
Thu Jun 28 16:11:34 UTC 2007


Matthew Flaschen said the following at 06/27/2007 11:32 PM :
> D. R. Evans wrote:
>> Someone on slashdot today posted a couple of interesting facts:
>>
>> 1. All AIM users have access to 100MB of free space on members.aol.com
>> that can be mounted with sshfs
> 
> Can we get details or a link? :)

http://slashdot.org/article.pl?sid=07/06/27/2220258

search the page for "sshfs"

> 
>> [H:~] ls -al /home/n7dr/aol-crypt
>> total 8
>> drwxrwxr-x   1 5022  501 4096 2007-06-27 20:51 .
>> drwxr-xr-x 101 n7dr n7dr 4096 2007-06-27 20:28 ..
>>
>> [H:~] touch /home/n7dr/aol-crypt/newfile
>> touch: cannot touch `/home/n7dr/aol-crypt/newfile': Permission denied
>>
>> <why can't I write??>
> 
> The permissions are wrong.  Note that the user is 5022 and the group
> 4096.  You can try:
> 

Well, yes, exactly. I have no idea where that user number and group came
from; they don't mean anything to me. I guess I should have said, "I
understand that the permissions tell me that I can't write, but why did I
end up with these silly user/group numbers, and how do I fix them to be
something sensible?"

> sudo chown -R n7dr:n7dr /home/n7dr/aol-crypt
> 
> I don't know if this will work, because I'm not familiar with encfs, and
> not that knowledgeable about encfs.

One can't do that because encfs filesystems are by default not visible to
root, only to the user that created them.

  Doc




More information about the kubuntu-users mailing list