Giter Club home page Giter Club logo

Comments (19)

elwerene avatar elwerene commented on August 10, 2024

Could you please run jsonFS with fuse debugging enabled?

from fuse4js.

elwerene avatar elwerene commented on August 10, 2024

I've set up a Ubuntu 12.04 test system in a virtual machine(Parallels Desktop: Build 8.0.18354) and installed node from: http://dev.squarecows.com/2012/06/28/nodejs-0-8-on-ubuntu-12-04/

It all works as expected. Could you give more details on your test system?

Some version infos which could help identifying the source of the problem:

# node --version
v0.10.15
# npm -version
1.3.5
# uname -r
3.2.0-29-generic
# pkg-config --modversion fuse
2.8.6

Cheers René

from fuse4js.

bcle avatar bcle commented on August 10, 2024

Hi Rene,

A few busy days ahead, and then I'll take a look at the end of the week.
Thanks.

On Sun, Aug 25, 2013 at 11:01 AM, René Rössler [email protected]:

I've set up a Ubuntu 12.04 test system in a virtual machine(Parallels
Desktop: Build 8.0.18354) and installed node from:
http://dev.squarecows.com/2012/06/28/nodejs-0-8-on-ubuntu-12-04/

It all works as expected. Could you give more details on your test system?

Some version infos which could help identifying the source of the problem:

node --version

v0.10.15

npm -version

1.3.5

uname -r

3.2.0-29-generic

pkg-config --modversion fuse

2.8.6

Cheers René


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-23232315
.

from fuse4js.

elwerene avatar elwerene commented on August 10, 2024

Any news?

from fuse4js.

bcle avatar bcle commented on August 10, 2024

Taking ownership.
Looking at it now.

from fuse4js.

 avatar commented on August 10, 2024

I have the same problem. It works when I install from npm, but the master is not working - stopping the file system every time.

from fuse4js.

 avatar commented on August 10, 2024

I checked the npm version and the difference is these lines:

int initialArgc = sizeof(argv) / sizeof(char*);
char **argvIncludingExtraArgs = (char**)malloc(sizeof(char*) * (initialArgc + f4js.extraArgc));
memcpy(argvIncludingExtraArgs, argv, sizeof(argv));
memcpy(argvIncludingExtraArgs + initialArgc, f4js.extraArgv, sizeof(char*) * f4js.extraArgc);

If I comment them and change the fuse_main() call to

fuse_main(4, argv, &ops, NULL)

it works fine. This is 64bit Ubuntu on VirtualBox by the way. @elwerene Can you suggest solution please?

Update:
It is because of the "extraArgs", disabling them does the trick. I don't know what they are supposed to do exactly.
https://github.com/bobef/fuse4js/commit/dfca0a806fd372e38055960b9db402f7079ef8f6

from fuse4js.

elwerene avatar elwerene commented on August 10, 2024

I introduced the extra args, so you could give args to the mount command, like setting the uid or gid of the mountpoint.

I don't have time to look at it right now, probably next week. If you need it right now, I would suggest to add some conditionals for empty extraArgs, I guess that's where the error happens.

from fuse4js.

 avatar commented on August 10, 2024

The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.

On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:

I introduced the extra args, so you could give args to the mount command,
like setting the uid or gid of the mountpoint.

I don't have time to look at it right now, probably next week. If you need
it right now, I would suggest to add some conditionals for empty extraArgs,
I guess that's where the error happens.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28285828
.

from fuse4js.

elwerene avatar elwerene commented on August 10, 2024

Maybe allow_others does not exist in ubuntu 64bit?

Am 12.11.2013 um 12:24 schrieb Borislav Peev [email protected]:

The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.

On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:

I introduced the extra args, so you could give args to the mount command,
like setting the uid or gid of the mountpoint.

I don't have time to look at it right now, probably next week. If you need
it right now, I would suggest to add some conditionals for empty extraArgs,
I guess that's where the error happens.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28285828
.


Reply to this email directly or view it on GitHub.

from fuse4js.

 avatar commented on August 10, 2024

I have no idea what it even is, I have very little Ubuntu/mount experience.

On Tue, Nov 12, 2013 at 1:29 PM, René Rössler [email protected]:

Maybe allow_others does not exist in ubuntu 64bit?

Am 12.11.2013 um 12:24 schrieb Borislav Peev [email protected]:

The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.

On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:

I introduced the extra args, so you could give args to the mount
command,
like setting the uid or gid of the mountpoint.

I don't have time to look at it right now, probably next week. If you
need
it right now, I would suggest to add some conditionals for empty
extraArgs,
I guess that's where the error happens.


Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28285828>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28286212
.

from fuse4js.

elwerene avatar elwerene commented on August 10, 2024

There it is, could you verify this:

http://unix.stackexchange.com/questions/37168/unable-to-use-o-allow-other-with-sshfs-option-enabled-in-fuse-conf

Thanks

Am 12.11.2013 um 12:30 schrieb Borislav Peev [email protected]:

I have no idea what it even is, I have very little Ubuntu/mount experience.

On Tue, Nov 12, 2013 at 1:29 PM, René Rössler [email protected]:

Maybe allow_others does not exist in ubuntu 64bit?

Am 12.11.2013 um 12:24 schrieb Borislav Peev [email protected]:

The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.

On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:

I introduced the extra args, so you could give args to the mount
command,
like setting the uid or gid of the mountpoint.

I don't have time to look at it right now, probably next week. If you
need
it right now, I would suggest to add some conditionals for empty
extraArgs,
I guess that's where the error happens.


Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28285828>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28286212
.


Reply to this email directly or view it on GitHub.

from fuse4js.

 avatar commented on August 10, 2024

I can confirm. 1) Staring the example with "sudo node" or 2) uncommenting
the option "user_allow_other" in /etc/fuse.conf and making my user able to
access this file solves it. Someone with access should add this to the
installation instructions. Regards.

On Tue, Nov 12, 2013 at 1:34 PM, René Rössler [email protected]:

There it is, could you verify this:

http://unix.stackexchange.com/questions/37168/unable-to-use-o-allow-other-with-sshfs-option-enabled-in-fuse-conf

Thanks

Am 12.11.2013 um 12:30 schrieb Borislav Peev [email protected]:

I have no idea what it even is, I have very little Ubuntu/mount
experience.

On Tue, Nov 12, 2013 at 1:29 PM, René Rössler [email protected]:

Maybe allow_others does not exist in ubuntu 64bit?

Am 12.11.2013 um 12:24 schrieb Borislav Peev <
[email protected]>:

The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was
called
exactly) and this "-o something" comes from extraArgs. If you don't
pass
the extra args to fuse_main() it works fine.

On Tue, Nov 12, 2013 at 1:21 PM, René Rössler <
[email protected]>wrote:

I introduced the extra args, so you could give args to the mount
command,
like setting the uid or gid of the mountpoint.

I don't have time to look at it right now, probably next week. If
you
need
it right now, I would suggest to add some conditionals for empty
extraArgs,
I guess that's where the error happens.


Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28285828>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28286212>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28286478
.

from fuse4js.

elwerene avatar elwerene commented on August 10, 2024

I updated the readme, thanks for investigating that issue! @bcle could you post the new version to npmjs.org?

from fuse4js.

bcle avatar bcle commented on August 10, 2024

Swamped right now.
Give me 48 hours.
Thanks!

On Tue, Nov 12, 2013 at 4:02 AM, René Rössler [email protected]:

I updated the readme, thanks for investigating that issue! @bclehttps://github.com/bclecould you post the new version to
npmjs.org?


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28287951
.

from fuse4js.

bcle avatar bcle commented on August 10, 2024

New version posted.
Sorry it took so long.

from fuse4js.

bcle avatar bcle commented on August 10, 2024

@elwerene : I don't think the documentation fix is sufficient. Since user_allow_other is disabled by default in /etc/fuse.conf, jsonFS.js should not pass "-o allow_other" by default. This will result in a non-obvious failure on at least this Ubuntu distro, and users can easily miss the comment in the documentation. Please add an option to jsonFS.js (for example '-a'), parse it in parseArgs(), and if enabled, then pass -o allow_other to f4js.start()

from fuse4js.

bcle avatar bcle commented on August 10, 2024

Tried to npm-publish new version, but keep getting npm conflict errors, even after bumping the version number several times. Looks like others are seeing this too, though not sure about how widespread it is: https://github.com/isaacs/npm/issues/4273
Will keep trying in the days ahead.

from fuse4js.

bcle avatar bcle commented on August 10, 2024

I was finally able to publish tonight. Version is 0.1.9

from fuse4js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.