librelist archives

« back to archive

todays log

todays log

From:
yeswanth swami
Date:
2011-08-10 @ 01:52
Hi,

Todays log:
Worked on vdfuse. It works fine

Two problems yet to solve (as of today):

1) Requires root priviledge
   i)For making directory in /mnt directory
   ii)For mounting and unmounting disk
   iii) vdfuse operation

2) Read only
  i) I was able to access the disk only on "read" and not able to "write" .
Will have to read upon the priviledges today evening.


p.s : Next 2-3 days I wont be able to put much effort.

-- 
Cheers,
Yeswanth

Re: [pyti] todays log

From:
Pierre-Yves David
Date:
2011-08-10 @ 15:09
On 10 août 2011, at 03:52, yeswanth swami wrote:

> Hi, 
> 
> Todays log:
> Worked on vdfuse. It works fine
> 
> Two problems yet to solve (as of today):
> 
> 1) Requires root priviledge

	Fuse mean Filesystem in Userspace. it does *not* require root priviledge.
However:
 	- The user using fuse need to be in the fuse group
	- you shall not try to mound in directory the user have no right to. (for
example /mnt) use ${PYTIROOT}/mnt instead for example.
> 
> 
> 2) Read only 
>   i) I was able to access the disk only on "read" and not able to 
"write" . Will have to read upon the priviledges today evening.

	By default fuse mount the content of the disk only for the user that 
called the command. this might be your issue.

-- 
Pierre-Yves

Re: [pyti] todays log

From:
Alexis Métaireau
Date:
2011-08-10 @ 08:48
Thanks for the wrap-up.

1) you do not require root privilage to run vdfuse. You can configure 
fuse to be able to anyone in the fuse configuration. (the option is 
"user_allow_other" as specified in the documentation [0])

[0] http://sourceforge.net/apps/mediawiki/fuse/index.php?title=Fuse.conf

Also, once you'll have something working, you can have a quick look at 
the python bindings. I'm not sure that they integrate simply with vdfuse 
but have a look, it may be the case [1]

[1] 
http://sourceforge.net/apps/mediawiki/fuse/index.php?title=LanguageBindings#Python

About read and write, I didn't checked that vdfuse is able to write so 
double check this.

See ya

On 08/10/2011 03:52 AM, yeswanth swami wrote:
> Hi,
>
> Todays log:
> Worked on vdfuse. It works fine
>
> Two problems yet to solve (as of today):
>
> 1) Requires root priviledge
>     i)For making directory in /mnt directory
>     ii)For mounting and unmounting disk
>     iii) vdfuse operation
>
> 2) Read only
>    i) I was able to access the disk only on "read" and not able to "write" .
> Will have to read upon the priviledges today evening.
>
>
> p.s : Next 2-3 days I wont be able to put much effort.
>


-- 
Alexis