[Pkg-samba-maint] Bug#384991: smbfs: hard links are not supported any more

Christian Perrier bubulle at debian.org
Wed Apr 25 09:02:28 UTC 2007


user pkg-samba-maint at lists.alioth.debian.org
tags 384991 unreproducible
usertags 384991 toclose
usertags 384991 limits-20070531
thanks


Quoting Hendrik Tews (tews at cs.ru.nl):
> Package: smbfs
> Version: 3.0.22-1
> Severity: important
> 
> Creating hard links in smbfs mounted directories fails with 
> smbfs 3.0.22-1:
> 
> tandem mnt 10> strace ln a b 2>&1 | grep link
>    link("a", "b")                          = -1 EPERM (Operation not permitted)
> 
> It works without problems in smbclient. With previous versions
> (especially sarge) creating hard links did also work. 
> 
> The mounted directory comes from a solaris file server, so hard
> links are not a problem on the server side.
> 
> Marked as important because I cannot any longer mount my mail
> spool directories via smbfs (because movemail tries to create
> hard links when locking files).
> 
> My smbclient version: smbclient      3.0.22-1


Sorry for coming back on this bug late.

I tried to reproduce it with the current samba packages in sid (the
same are in etch), namely 3.0.24-6

I just setup a share like this:

[public]
directory mask=0700
browseable=yes
comment=Public
read only=no
create mask=0770
public=yes
path=/var/tmp/samba-test

root at mykerinos:/var/tmp/samba-test> ls -la
total 0
drwxrwsr-x 2 bubulle bikinibottom   6 2007-04-25 10:54 .
drwxr-xr-x 7 root    root         153 2007-04-25 10:08 ..

I mount it with cifs on /mnt:

root at mykerinos:/var/tmp/samba-test> mount -t cifs //localhost/public /mnt -o user=bubulle
Password:
root at mykerinos:/var/tmp/samba-test>        


bubulle at mykerinos:/mnt> touch foo
bubulle at mykerinos:/mnt> ls -la
total 1
drwxrwsr-x  2 bubulle bikinibottom    0 2007-04-25 10:56 .
drwxr-xr-x 23 root    root         1024 2007-03-08 14:26 ..
-rw-rw----  1 bubulle bikinibottom    0 2007-04-25 10:56 foo

ubulle at mykerinos:/mnt> ln foo bar
bubulle at mykerinos:/mnt> ls -la
total 1
drwxrwsr-x  2 bubulle bikinibottom    0 2007-04-25 10:56 .
drwxr-xr-x 23 root    root         1024 2007-03-08 14:26 ..
-rw-rw----  2 bubulle bikinibottom    0 2007-04-25 10:56 bar
-rw-rw----  2 bubulle bikinibottom    0 2007-04-25 10:56 foo

So, no bug on my side.

Can you still reproduce that problem?

If you experienced it with mount.smbfs, could you try to reproduce it
with mount.cifs?

Without news about this bug report, well close it as of May 31th.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20070425/ba2c3d6b/attachment.pgp


More information about the Pkg-samba-maint mailing list