Page 2 of 4

Re: [SOLVED] Problem with /dev/fuse

Posted: Wed Feb 15, 2012 6:43 am
by Spoza
woohoo, great!

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Wed Feb 15, 2012 1:34 pm
by juusso
Spoza, can you test it?

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 1:27 am
by Spoza
Okay, I'm a Linux n00b, don't know if I did it correctly...

Made a backup od the original ntfs-3g and replaced the file... unmounted the volume (mine is sdb1) and tried to mount again...

Code: Select all

source /dtv/SGO.env
ntfs-3g /dev/sdb1 /dtv/usb/sdb1
/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/bin/ntfs-3g: line 1: syntax error: unexpected "("
Strange thing is that the USB stick DOES mount and work (as read-only of course) when I simply connect it to the TV...

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 7:06 am
by HeMeZ
maybe you forgot to set the permissions of ntfs-3g to be executable? (777)

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 9:14 am
by juusso
Spoza wrote:

Code: Select all

ntfs-3g: line 1: syntax error: unexpected "("
This usually indicates incompatibility of binary, not the permission error.

@arris69 ? :)

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 12:28 pm
by arris69
juuso wrote:
Spoza wrote:

Code: Select all

ntfs-3g: line 1: syntax error: unexpected "("
This usually indicates incompatibility of binary, not the permission error.

@arris69 ? :)

Code: Select all

SamyGO/opt/privateer/usr/bin/ntfs-3g: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.12, with unknown capability 0xf41 = 0x756e6700, stripped
T-MST5DEUC_root/mtd_exe/exeDSP: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.12, with unknown capability 0xf41 = 0x756e6700, stripped
no comment...

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 1:00 pm
by juusso
:shock:

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 7:01 pm
by Spoza
eeee... can you explain this "not commented shock" a bit for us common people?

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 7:17 pm
by arris69
Spoza wrote:eeee... can you explain this "not commented shock" a bit for us common people?
not so important, but can you pls. send me the files what you have installed on your tv (ntfs-3g) and the one what you backed-up. to arris (at) gmx.at

thnx

Re: [SOLVED] ntfs-3g mount: problem with /dev/fuse

Posted: Thu Feb 16, 2012 10:53 pm
by Spoza
Okay, thanks for (indirectly) pointing me to my endless stupidity... even after 25 years in the computer industry...
So, this time I unpacked both files CORRECTLY from the tgz... :-\
However, still can't make it work...

ntfs-3g DOES have executable permissions:

Code: Select all

ls -la opt/privateer/usr/bin/ntfs-3g
-rwxr-xr-x    1 root     0           42200 Jan  1  1980 opt/privateer/usr/bin/ntfs-3g
and then...

Code: Select all

umount /dtv/usb/sdb1
source /dtv/SGO.env
ntfs-3g /dev/sdb1 /dtv/usb/sdb1
Failed to write lock '/dev/sdb1': Permission denied
Error opening '/dev/sdb1': Permission denied
Failed to mount '/dev/sdb1': Permission denied
Please check '/dev/sdb1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged
don't know what /dev/sdb1 permissions is it talking about... because doing simple mount works fine (read-only - why? it uses some other ntfs module?!)

Code: Select all

/bin/mount /dev/sdb1 /dtv/usb/sdb1
/bin/mount | grep dev
/dev/root on / type squashfs (ro,relatime)
/dev/stl0/10 on /mtd_rwarea type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/stl0/11 on /mtd_exe type squashfs (ro,relatime)
/dev/stl0/12 on /mtd_rocommon type squashfs (ro,relatime)
/dev/stl1/37 on /mtd_rocommons type squashfs (ro,relatime)
/dev/stl1/33 on /mtd_swu type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/stl1/34 on /mtd_contents type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/stl1/35 on /mtd_rwcommon type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/stl1/36 on /mtd_rwdata type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/sda1 on /dtv/usb/sda1 type vfat (rw,sync,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
/dev/stl0/10 on /etc/passwd type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/stl0/10 on /etc/profile type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/sdb1 on /dtv/usb/sdb1 type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)