** Description changed: Binary package hint: samba I noticed that after upgrade from linux-image-2.6.29 to linux- image-2.6.32-4-generic some programs that recursively scan directories (like mpd, xmms2 or gqview) stopped working on samba shares. They simply doesn't see the mountpoint (e.g. if I mount //server/share on /mnt/mountpoint and navigate gqview to /mnt it does not see mountpoint subdirectory). I suspect that this is somehow connected with strange behavior of stat() system call. The following code #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int main(int argc, char* argv[]){ - struct stat stat_buf; - if (argc != 2) - exit(-1); - if (stat(argv[1], &stat_buf) != 0){ - perror(NULL); - exit(-1); - } - return 0; + struct stat stat_buf; + if (argc != 2) + exit(-1); + if (stat(argv[1], &stat_buf) != 0){ + perror(NULL); + exit(-1); + } + return 0; } fails on samba shares (e.g. if I try to execute ./a.out /mnt/mountpoint I get "Value too large for defined data type"). System info: Description: Ubuntu lucid (development branch) Release: 10.04 smbfs-3.4.2-1ubuntu1 linux-image-2.6.32.4.4
-- stat() fails on cifs shares https://bugs.launchpad.net/bugs/486667 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs