LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FUSE works but fuse group does not exist? (https://www.linuxquestions.org/questions/linux-software-2/fuse-works-but-fuse-group-does-not-exist-614992/)

violagirl23 01-20-2008 01:38 PM

FUSE works but fuse group does not exist?
 
I recently installed FUSE so I could use mtpfs. It didn't compile immediately, the install failing because it wasn't enabled in the kernel. So I went into the kernel, changed Filesystem in Userspace support under the File systems category from < > to <M>, did modprobe fuse, and then installed mtpfs (which installed fuse as a dependency, via Gentoo's Portage). Everything seems to work fine, I even added fuse to my default runlevel. But there is no fuse group, so I can only run fuse as root currently. I have heard I could probably change file permissions to get it to work, but I really don't want to do this. I can't quite figure out why no fuse group was created. Is it acceptable to just make a group named fuse and add people to it, or does the fuse group have special properties? I just can't figure out why it wasn't created, as everyone else seems to just install fuse and then have a fuse group. I've tried rebooting (with fuse in the default runlevel), but there is still, according to cat /etc/group, no fuse group (I tried usermod -aG fuse violagirl32) anyway, to try it, but indeed, it does not exist. Any suggestions?

budword 01-20-2008 06:43 PM

I'd just make a fuse group, and see if that works. :)

David

violagirl23 01-21-2008 02:18 AM

Nope.
*shrugs*
Oh well. I had to end up hacking at the permissions on /usr/bin/mtpfs and /usr/bin/fusermount anyway. I'm gonna remake the fuse group and change the group ownership on these two files, but at least now I have it working. chmod u+s <file> worked for both, and then I still have to type -o user=violagirl23 with mtpfs (now aliased because I'm lazy :-p) to allow myself to use fusermount -u /mnt/zen, or else I got an odd error about /mnt/zen not being in /etc/mtab. I found the fix here: http://groups.google.com/group/linux...a71bbab6493ac4
Oh well. Even if it did fail to make the group, at least I hacked it into working.
Weird...

violagirl23 01-21-2008 04:01 AM

While I've already got this post here....
I'm noticing some limitations of mtpfs or fuse.... not sure which is the culprit.
It won't let me go into a music directory and type say mv whee.mp3 foo.mp3... it will spit out Function not implemented at me. It also says the same thing about not being able to preserve timestamps... Function not implemented every time I copy something, but this does not seem as crucial.
So I have discovered, I can copy a file and then remove the original to rename a file, so cp whee.mp3 foo.mp3 && rm whee.mp3, and it will work. Is there any way I could set an alias to do this, or is there bash I could use to make this?
I went into .bashrc and typed alias mv2='cp * && rm *' and then realized that that would definitely not work at all the way I intended to. Since I cannot currently figure out why I cannot use mv (and furthermore, I cannot use cp to copy to a file that already exists either, nor can I delete to the trash can in Thunar, I have to use <Shift><Del> to bypass the trash can and delete things!), I want to make this workaround. -_-; I hope it isn't my hack-job on the permissions that caused this... I even tried adding g+w to make sure I had write access... but it didn't change anything. *sigh*
Any suggestions for making the mv2 command?


All times are GMT -5. The time now is 02:31 AM.