Comment 2 for bug 268536

Revision history for this message
elatllat (elatllat) wrote : Re: [Bug 268536] Re: mount smbfs not working properly after upgrade from 6 to 8

I guess the thing is that smbfs is no longer used cifs is used transparently
instead.
exept it's not transparent at all so all of my old scripts broke disabling
my server.
the original post has all the information I think you might need, but if you
need any specific answers please ask.
I did find 1/2 of a work around but the behaviour is still different.

to reproduce:
1)install ubuntu 6.x
2)have a NAS or some separate SBM share
3)set up a a bash script to mount the share

 -o username=user,password=long-password,fmask=0555,dmask=0555,gid=1000
//ip/share /media/folder

4) upgrade to 8.x
5) it won't work anymore
6) the best fix I can find dose not preserve the original behaviour

please email me any help you can offer

On Thu, Oct 23, 2008 at 1:57 PM, IanW <email address hidden> wrote:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Please answer these questions:
>
> * Is this reproducible?
> * If so, what specific steps should we take to recreate this bug?
>
> This will help us to find and resolve the problem.
>
> ** Changed in: gvfs (Ubuntu)
> Sourcepackagename: None => gvfs
> Status: New => Incomplete
>
> --
> mount smbfs not working properly after upgrade from 6 to 8
> https://bugs.launchpad.net/bugs/268536
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "gvfs" source package in Ubuntu: Incomplete
>
> Bug description:
> objective : mount the same SMB share to 2 folders with different
> permissions.
>
> history: was working before upgrade to v8. Did not find any solutions on
> the web.
>
> problems:
> 1) mounting the same SMB share the second time changes the dmask on the
> first share.
> 2) mounting the same SMB share the second time fails with: folder dose
> not exist.
> 3) mount --bind ignores fmask and file_mode / dmask and dir_mode
> 4) chmod is able to change permissions on mounts
> 5) files are created with wrong permissions re: fmask
>
> temporary workarounds: ?
>
> solutions:?
>
> origonal example: http://ubuntuforums.org/showthread.php?t=911549
>
> cat /proc/version
> Linux version 2.6.24-19-generic (buildd@terranova) (gcc version 4.2.3
> (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Wed Aug 20 22:56:21 UTC 2008
>