[cw-discuss] samba shares > cxoffice-linux
Richard Lemay
lemrichard at yahoo.com
Mon Mar 5 22:15:24 CST 2007
You must know that FUSE mount a directory for the current user ONLY. For
example, if the user 'richard' runs FuseSMB on ~/Network, then only the
user 'richard' will see the connection. The others will see the
directory as a broken link.
Your problem seems to be that your user is not member of the fuse group.
The file /dev/fuse must have the fuse group and your user must be member
of the fuse group. Be aware that if you're not using Ubuntu or Debian,
the Fuse user might not be 'fuse'.
We could probably help you more if tell us exactly what you did to
install FuseSMB and what messages you get with Fuse. In any case, your
problem is caused by invalid permissions of /dev/fuse or your user. You
should research in that direction.
Richard
Michael W. Holdeman a écrit :
> On Monday 05 March 2007 05:29:22 pm you wrote:
>>> Richard, I don't want to sound "stupid" but do you have any better
>>> cleaner
>> For ubuntu and kubuntu edgy it is easy! Fusesmb is in the repositories
>> maby in universe, not sure.
>>
>> Install samba
>>
>> sudo apt-get install fuse-utils libfuse2 fusesmb
>>
>> sudo adduser youruser fuse
>>
>> sudo chgrp fuse /dev/fuse
>>
>> mkdir -p Network/SMB
>>
>> cd Network/
>>
>> fusesmb SMB
>>
>>
>> to unmount use:
>>
>> fusermount -u SMB
> Folowed to the letter to here, then edited the conf file accordingly and saved
> it, chmod'd it and then attempted to execute and always get
>
> fuse: failed to exec fusermount: Permission denied
>
> I can execute it as sudo but then the SMB dir dissapears? and I have to use
> sudo to unmount.
>
> This is the roadblock I almost always hit...
>
> What stupid thing am I missing???
>
> Mike
>> to start it automaticly add 'fusesmb Network/SMB' to startup apps.
>>
>> You mays also create a ~/.smb/fusesmb.conf config file (don't forget
>> to chmod 600 ~/.smb/fusesmb.conf). Here is sample content
>>
>> ; Global settings
>> [global]
>>
>> ; Default username and password
>> username=user
>> password=totallysecret
>>
>> ; List hidden shares
>> showhiddenshares=true
>>
>> ; Connection timeout in seconds
>> timeout = 10
>>
>> ;Interval for updating new shares in minutes
>> interval = 10
>>
>> ; Section for servers and/or workgroups to ignore
>> [ignore]
>> servers=SERVER,SERVER2,SERVER3
>> workgroups=WORKGROUP,WG2
>>
>> ; Share-specific settings
>> [/SERVER/SHARE]
>> username=john
>> password=doe
>>
>> ; Server-specific settings
>> [ignore]
>> servers=SERVER,SERVER2,SERVER3
>> workgroups=WORKGROUP,WG2
>>
>> ; Share-specific settings
>> [/SERVER/SHARE]
>> username=john
>> password=doe
>>
>> ; Server-specific settings
>> [/SERVER]
>> username=jane
>> password=doe
>> showhiddenshares=true
>> ignore=true
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at crossover.codeweavers.com
> http://crossover.codeweavers.com/mailman/listinfo/discuss
> You can be removed from this list by visiting the above web page, or by checking the 'subscriptions' tab in your account with CodeWeavers.
>
More information about the discuss
mailing list