[Bug 1872476] Re: Shared files are shown as folders

2021-11-22 Thread Sergio Durigan Junior
Thank you all for chipping in and helping in the investigation of this bug. Unfortunately we were not able to pinpoint exactly which upstream commit fixed the problem, but as it turns out samba has been updated to 4.13.14 in Focal by the Security team, and therefore this bug can be considered

[Bug 1872476] Re: Shared files are shown as folders

2021-10-09 Thread Khalid Dermoumi
I am seeing this problem since a couple of days on an up-to-date 20.04 system. The fix described here solves the problem: https://askubuntu.com/questions/1288678/some-files-on-samba-shares-are-displayed-as-folders -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1872476] Re: Shared files are shown as folders

2021-04-19 Thread Bryce Harrington
** Changed in: samba (Ubuntu Focal) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage notifications about

[Bug 1872476] Re: Shared files are shown as folders

2021-04-12 Thread Morbius1
And for other folks: https://askubuntu.com/questions/1328978/ubuntu-samba-copied-files- inaccessible -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders

[Bug 1872476] Re: Shared files are shown as folders

2021-03-10 Thread Patrik Nilsson
A work-a-round is to pack a zip packages with gz. The following works with the file tested. $ find . -mindepth 1 -maxdepth 1 ./Marlin-src_1.1.9.34_5f9c029d1.zip This zip file can't be transferred. But doing $ gzip Marlin-src_1.1.9.34_5f9c029d1.zip $ find . -mindepth 1 -maxdepth 1

[Bug 1872476] Re: Shared files are shown as folders

2021-03-01 Thread actaris
waiting for the official patch, as a workaround, can I suggest this PPA? https://launchpad.net/~linux-schools/+archive/ubuntu/samba4.12 Installs samba 4.12 and, on Mint 20.1, solved my problem -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1872476] Re: Shared files are shown as folders

2021-02-22 Thread Nathan Rennie-Waldock
Later than I intended to post this, but I've attached the patch I'm using. PPA is: ppa:nathan-renniewaldock/lp1872476 @Sergio: No luck so far with finding what upstream commit fixes this, there's a lot of changes between 4.11.17 and 4.12.0. I'm still looking, but my patch won't cause any

[Bug 1872476] Re: Shared files are shown as folders

2021-02-21 Thread Bernard
Just hopping in to say that I'm not sure it's quite as simple as that. I'm accessing a Ubuntu 20.04 Samba share from a MacOS system and I am seeing this problem. I have a few files which are showing as directories on my Mac (I think I don't have the problem if the file is first created from the

[Bug 1872476] Re: Shared files are shown as folders

2021-02-20 Thread Sergio Durigan Junior
Thank you all for the further investigation on this bug. @Nathan, were you able to identify an upstream patch that fixes this issue? I would appreciate if you could point me to a commit so that I could test it locally as well. Thanks. -- You received this bug notification because you are a

[Bug 1872476] Re: Shared files are shown as folders

2021-02-20 Thread Nathan Rennie-Waldock
Turns out it's caused by user.DOSATTRIB being empty (missing attribute doesn't cause this). I can reproduce with simply `setfattr -n user.DOSATTRIB testfile.txt` Currently testing a patch on my servers to handle this, I'll attach the patch and also make a PPA for anyone wanting to test later

[Bug 1872476] Re: Shared files are shown as folders

2021-02-15 Thread Morbius1
So I duplicated the steps in #70 and was able to reproduce the "type: directory" problem. Then I edited smb.conf and set "store dos attributes = No" in the [global] section and restarted smbd. If I redo the steps in #70 the issue is resolved resulting in: "type: regular" "store dos attributes"

[Bug 1872476] Re: Shared files are shown as folders

2021-02-08 Thread Andrew Berezovskiy
@rmills: workaround is described in https://askubuntu.com/questions/1288678/some-files-on-samba-shares-are- displayed-as-folders (run `setfattr -x user.DOSATTRIB ` on every file that shows as a dir). -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1872476] Re: Shared files are shown as folders

2020-12-21 Thread rmills
Just updated from 18.04 to 20.04, This seems to still be a bug. I have a share that only a few files both ubuntu 20.04 and windows 10 clients show as folders. There seems to be no reason why it's these specific files either other than time. I copied these the day before the upgrade, they worked

[Bug 1872476] Re: Shared files are shown as folders

2020-12-14 Thread Bernard
I just wanted to jump in here because this bug (I think) is causing me a lot of grief and I'd like to help if I can. I have Samba 2:4.11.6+dfsg- 0ubuntu1.6 on Ubuntu 20.04. I've been using it fine for several months, serving files to Mac and another Linux (also 20.04). Just in the last few days

[Bug 1872476] Re: Shared files are shown as folders

2020-12-11 Thread Sergio Durigan Junior
Finally! Thanks for the detailed steps, Lee. I was finally able to reproduce it locally. For the record, these are the commands you can issue to reproduce. Suppose that you have a samba share named "sambashare" serving a directory at $HOME/testshare. $ gio mount smb://127.0.0.1/sambashare $

[Bug 1872476] Re: Shared files are shown as folders

2020-12-11 Thread Lee Tae Hoon
I tried to replicate the problem several times with different systems (Thankfully, I have three laptops with three different OS installed.), and concluded that the symptom doesn't need to be provoked with macOS. I can reproduce the error with these steps with the files from any OS. 1) Write a

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Rapper_skull
I can confirm there's no MacOS system involved. I'll try to provide logs ASAP. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Sergio Durigan Junior
@Lee Tae Hoon, thank you for the feedback. I downloaded the zip file you provided, but I still can't see anything useful in the logs. I wonder what's really happening. I will have to bug you one more time and ask you to provide a network trace of the moment of the failure, please. You can read

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Lee Tae Hoon
Whoops, correction: The file was transfered from macOS to ubuntu system via Finder app in macOS, not Nautilus. Moving/copying the file inside the ubuntu system was done via Nautilus. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Lee Tae Hoon
Ok, I tried more. I downloaded a random copyright-free music file to this ubuntu system, and moved/copied to the samba share folder, and I could share the file properly. Repeated several times, and the same result. And then, I downloaded a different copyright-free music file from the same site to

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Rapper_skull
@Lee Tae Hoon can you share the link of the image you found on the Internet? Maybe I can try to replicate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Lee Tae Hoon
1) The file I tried to open yesterday was indeed IMG_1809.JPG, and the error pops up saying it is not a directory. I reproduced the error message today in my system, so let me give you another log files today. 2) Yes indeed. 3) Yes, I accessed the files from the same system, as my system

[Bug 1872476] Re: Shared files are shown as folders

2020-12-10 Thread Rapper_skull
I'm unable to reproduce the bug in a VM, but I found two things that could be useful: If I move or copy the affected folder to another drive, the problem persists, both in the original and in the copy. This is the case with both ext4 and xfs drives, but doesn't happen on a FAT32 drive. Moving

[Bug 1872476] Re: Shared files are shown as folders

2020-12-09 Thread Sergio Durigan Junior
I forgot to mention, but I: 1) Replaced my smb.conf with Lee Tae Hoon's smb.conf, and tried to reproduce the error. Everything still works for me. 2) Tried moving files (via terminal and using Nautilus) to the share. I can access them fine. 3) Tried attaching another disk to my Focal VM,

[Bug 1872476] Re: Shared files are shown as folders

2020-12-09 Thread Sergio Durigan Junior
Thanks for the replies, Rapper_skull an Lee Tae Hoon. Lee, I have a few questions for you. 1) What is the name of the file you tried to open? Based on the screenshot you posted earlier, I thought the file was named IMG_1809.JPG. However, in your logs I don't see any attempt to open a

[Bug 1872476] Re: Shared files are shown as folders

2020-12-09 Thread Lee Tae Hoon
Here is my smb.conf file, and log files after applied 'debug 10'. Opened my share folder, tried to open a jpg file which is incorrectly shown as a folder, and got an error message (both from the current ubuntu system and other macOS system). Some names were replaced with '' or something

[Bug 1872476] Re: Shared files are shown as folders

2020-12-09 Thread Rapper_skull
This problem never happened to me until 6 weeks ago. The only thing I did was moving some folders from one HDD to another. The two drives are mapped to different SMB shares. If I correctly recall, only the folders I moved are affected (but not all of them). The file transfer was done with

[Bug 1872476] Re: Shared files are shown as folders

2020-12-08 Thread Sergio Durigan Junior
I apologize for the delay, but I'm now starting to investigate this problem. As Christian said above, the very first step I have to take is to reproduce the problem, but for now I am unable to do so. Here is what I did: 1) Installed a Focal VM from scratch. Made sure that everything is up-

[Bug 1872476] Re: Shared files are shown as folders

2020-12-08 Thread Dave Gregory
I can't edit my previous post, but I've attached a screenshot of what Nautilus looks like as well. ** Attachment added: "Screenshot from 2020-12-08 16-25-16.png"

[Bug 1872476] Re: Shared files are shown as folders

2020-12-08 Thread Dave Gregory
@paelzer I'm here because I'm running into the same issue. Server and client are running Samba version 4.11.6-Ubuntu. smbstatus shows SMB3 for the protocol. Ubuntu client mounts Ubuntu server share via SMB via fstab. Kodi client returns the following errors: 2020-12-08 12:56:45.868

[Bug 1872476] Re: Shared files are shown as folders

2020-12-08 Thread Lee Tae Hoon
I hided #52 cause I was afraid I was doing something wrong because I'm new to ubuntu. Today is just a week 2 or 3 to me. I'm still having this bug and I guess someone might help me for this. About smf.conf, I maintained default settings except a few things. I gave a new netbios name (by "netbios

[Bug 1872476] Re: Shared files are shown as folders

2020-12-08 Thread Christian Ehrhardt 
@Meabert - why was this closed? It seems several people are still affected and it is worth to look at it again. @Sergio - do you think you could take a look again to identify if the old fix was incomplete or if here we might have multiple underlying issues? @MasterCatz / @Rapper_skull / jsquared

[Bug 1872476] Re: Shared files are shown as folders

2020-12-05 Thread Lee Tae Hoon
Also having the issue on ubuntu 20.04 using samba 2:4.11.6+dfsg- 0ubuntu1.6. Protocol was SMB3, macOS and windows client. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files

[Bug 1872476] Re: Shared files are shown as folders

2020-12-01 Thread Meabert
** Changed in: samba (Ubuntu Focal) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage notifications

[Bug 1872476] Re: Shared files are shown as folders

2020-11-28 Thread MasterCATZ
yes also still having these issues on ubuntu 20.04 with 2:4.11.6+dfsg-0ubuntu1.6 even after doing a full purge and starting again but then again also having one hell of a time trying to get this PC to see any windows available shares -- You received this bug notification because you are a

[Bug 1872476] Re: Shared files are shown as folders

2020-11-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: samba (Ubuntu Focal) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title:

[Bug 1872476] Re: Shared files are shown as folders

2020-11-04 Thread Rapper_skull
I just want to add that this problem is still present with samba 2:4.11.6+dfsg-0ubuntu1.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage

[Bug 1872476] Re: Shared files are shown as folders

2020-11-03 Thread Andreas Hasenack
Focal task reopened due to last comment above ** Changed in: samba (Ubuntu Focal) Status: Fix Released => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are

[Bug 1872476] Re: Shared files are shown as folders

2020-10-31 Thread jsquared
Just started seeing this issue again today as well (was working fine yesterday; no updates run overnight either that I'm aware of..) Samba 2:4.11.6+dfsg-0ubuntu1.2, Ubuntu 20.04.1 I have min protocol = SMB3 and client min protocol = SMB3 in /etc/samba/smb.conf ** Attachment added:

[Bug 1872476] Re: Shared files are shown as folders

2020-10-31 Thread Rapper_skull
This bug presented today on samba 2:4.11.6+dfsg-0ubuntu1.5 using a Windows client. Affected files and folders are shown with a grey cross on them. Files are also shown as folders obviously. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1872476] Re: Shared files are shown as folders

2020-06-13 Thread ffatman
>> What do you mean by "not recognized"? (cbr, cbz, doc, lit etc...)<< @sergiodj: "Unknown type", when to copy on the desk - recognizable. Still exist the ptoblem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872476] Re: Shared files are shown as folders

2020-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package samba - 2:4.11.6+dfsg-0ubuntu1.2 --- samba (2:4.11.6+dfsg-0ubuntu1.2) focal; urgency=medium * Fix "Shared files are shown as folders" (LP: #1872476) - d/p/0023-libsmb-Don-t-try-to-find-posix-stat-info-in-SMBC_get.patch: Don't obtain

[Bug 1872476] Re: Shared files are shown as folders

2020-05-18 Thread Andreas Hasenack
This is fixed in 4.12.2 uploaded to groovy, so marking that task as fix released. ** Changed in: samba (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report.

[Bug 1872476] Re: Shared files are shown as folders

2020-05-18 Thread Andreas Hasenack
This is fixed in 4.12.2 uploaded to groovy, so marking that task as fix released. ** Changed in: samba (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872476] Re: Shared files are shown as folders

2020-05-13 Thread ffatman
samba:amd64=2:4.11.6+dfsg-0ubuntu1.2 seems at last working properly. It's official Canonical focal-propoosed I presume. Thanks to everyone who's been working hard for the last two weeks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872476] Re: Shared files are shown as folders

2020-05-13 Thread Laurent Riffard
Below are some outputs exhibiting the bug and its correction. Reference test with samba:amd64 2:4.11.6+dfsg-0ubuntu1.1 # gio mount -a smb:/// # ls -l /run/user/1000/gvfs/smb-share\:server\=\,share\=/ total 0 drwx-- 1 sylvie sylvie 0 avril 2 18:57 Enregistrements

[Bug 1872476] Re: Shared files are shown as folders

2020-05-13 Thread Bruno F
I did some testing with these new packages : I have activated focal-proposed repository on two new virtual machines. One is Ubuntu 20.04 and the other LUbuntu 20.04. On both VM, I upgraded all packages and now samba-common, samba-libs, libwbclient0:amd64 and libsmbclient:amd64 have version

[Bug 1872476] Re: Shared files are shown as folders

2020-05-13 Thread Vincent
Thanks Brian, I just upgrade to the package from focal-proposed, and it worked for me. The testing I did was accessing a Samba share through Nautilus that would previously throw an error when I copied files there, and that would display files as folder. With the updated version, I could copy files

[Bug 1872476] Re: Shared files are shown as folders

2020-05-12 Thread Brian Murray
Hello INIZAN, or anyone else affected, Accepted samba into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/samba/2:4.11.6+dfsg- 0ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1872476] Re: Shared files are shown as folders

2020-05-11 Thread Andreas Hasenack
For the SRU team reviewing this, I can confirm the bug is fixed in samba 4.12.2 which I will upload to groovy shortly: root@groovy-samba-file-folder:~# gio info smb://127.0.0.1/testshare/123.txt | grep '^type:' type: regular root@groovy-samba-file-folder:~# apt-cache policy samba samba:

[Bug 1872476] Re: Shared files are shown as folders

2020-05-11 Thread Andreas Hasenack
For the SRU team reviewing this, I can confirm the bug is fixed in samba 4.12.2 which I will upload to groovy shortly: root@groovy-samba-file-folder:~# gio info smb://127.0.0.1/testshare/123.txt | grep '^type:' type: regular root@groovy-samba-file-folder:~# apt-cache policy samba samba:

[Bug 1872476] Re: Shared files are shown as folders

2020-05-09 Thread Max-Ulrich Farber
@ H I Murphy: This is not a bug but a feature. In SMBv2 and SMBv3 there are no more share lists, and SMBv1 is disabled by default in samba 4.11. But the error message is quite misleading! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1872476] Re: Shared files are shown as folders

2020-05-09 Thread H I Murphy
When I try, using Thunar, to open my fileserver, error message appears: Failed to open 'fileserver'. Failed to retrieve share list from server: Software caused connection abort. affects ubuntu/samba affects thunar May be related to Bug #1872476 Steps to recreate: 1. Open FileManager (thunar

[Bug 1872476] Re: Shared files are shown as folders

2020-05-05 Thread Sergio Durigan Junior
** Description changed: + [Impact] + + The current samba package on focal suffers from a bug that manifests + itselft when the SMB1 (NT1) protocol is being used. In this scenario, + the user will see regular files being presented as directories when + using GIO/gvfs to browse the samba share

[Bug 1872476] Re: Shared files are shown as folders

2020-05-05 Thread Andreas Hasenack
** Also affects: samba (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: samba (Ubuntu Focal) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) ** Changed in: samba (Ubuntu Focal) Status: New => In Progress ** Changed in: samba (Ubuntu Focal)

[Bug 1872476] Re: Shared files are shown as folders

2020-05-05 Thread Andreas Hasenack
** Also affects: samba (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: samba (Ubuntu Focal) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) ** Changed in: samba (Ubuntu Focal) Status: New => In Progress ** Changed in: samba (Ubuntu Focal)

[Bug 1872476] Re: Shared files are shown as folders

2020-05-05 Thread Max-Ulrich Farber
In the German UbuntuUsers forum there are several threads concerning this bug, for instance: https://forum.ubuntuusers.de/topic/freigaben-im-netzwerk-sind-nicht- erreichbar/ For some users it happens regularly (like myself), for others it happens sometimes and with several kinds of files only,

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Sergio Durigan Junior
On Monday, May 04 2020, ffatman wrote: > "Sorry, do you mean that the PPA package works for you?" > > Yes, but with problems, I've found that comic books (cbr, cbz..) are > recognized as documents, and many formats of documents (lit, doc, > rtf...) are not recognized. What do you mean by "not

[Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread ffatman
"Sorry, do you mean that the PPA package works for you?" Yes, but with problems, I've found that comic books (cbr, cbz..) are recognized as documents, and many formats of documents (lit, doc, rtf...) are not recognized. Is it a difference between "client min protocol" and "client protocol min"?

[Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/samba/+git/samba/+merge/383358 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Sergio Durigan Junior
On Monday, May 04 2020, ffatman wrote: > For me works only the solution: > sudo add-apt-repository ppa:sergiodj/samba-bug1872476-v2 > and line added > client min protocol = CORE > as access to Freebox and D-Link NAS Freebox connected and to see files as > files. Sorry, do you mean that the

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Sergio Durigan Junior
On Monday, May 04 2020, I wrote: > Anyhow, I'm running some more tests here and will file the SRU as soon > as I have a confirmation of the necessary patch(es) to fix the bug. I confirmed that the POSIX stat patch is indeed the only one needed to fix this bug. Thanks, Jose! -- Sergio GPG key

[Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread ffatman
For me works only the solution: sudo add-apt-repository ppa:sergiodj/samba-bug1872476-v2 and line added client min protocol = CORE as access to Freebox and D-Link NAS Freebox connected and to see files as files. But this solution affects SMPlayer & VLC. SMPlayer (mpv): /usr/bin/mpv

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Sergio Durigan Junior
On Monday, May 04 2020, Jose Manuel Santamaria Lema wrote: > Hi Sergio, Hey Jose, > I have tried to build a package just with the posix stat patch here: > https://launchpad.net/~panfaust/+archive/ubuntu/samba-bugfix > > In my case that patch seems enough to get it working again for me. Heh,

[Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Sebastien Bacher
** Changed in: samba (Ubuntu) Importance: Undecided => High ** Tags added: rls-ff-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To

[Bug 1872476] Re: Shared files are shown as folders

2020-05-04 Thread Jose Manuel Santamaria Lema
Hi Sergio, I have tried to build a package just with the posix stat patch here: https://launchpad.net/~panfaust/+archive/ubuntu/samba-bugfix In my case that patch seems enough to get it working again for me. Would you mind to explain why the other 2 patches are needed? Thanks for your work. --

[Bug 1872476] Re: Shared files are shown as folders

2020-05-02 Thread Max-Ulrich Farber
Thanks, Sergio! After adding your ppa in a newly installed virtual machine with Xubuntu 20.02, all shares of my NAS and my FritzBox were accessible and browsable via SMB-1 (client max protocol = NT1). I tried with Thunar and Nautilus (both gtk and therefore using gvfs); all files are displayed

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Bruno F
Sergio, Thank for your fix ! After adding your ppa, I did the same test as the one I described in comment #2. Now files are correctly displayed as files when I browse my SMBv1 NAS with Dolphin or PCManFM-Qt. -- You received this bug notification because you are a member of Ubuntu Bugs, which

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Sergio Durigan Junior
On Friday, May 01 2020, Max-Ulrich Farber wrote: > Hi Sergio Durigan jr., Hi Max-Ulrich, > could you please tell us what has been changed in the samba 4.11.7 > package in your PPA. It would be fine if I could know that before > installing your samba version in my system. I am surprised that you

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Sergio Durigan Junior
On Friday, May 01 2020, Pier Luigi Cinquantini wrote: > Right! > Thank you. > A question, please. Now the official PPA will be updated with the nes files, > isn't? > What to do with these bug-files? Do remove them before the updating? This PPA is for testing purposes only. I will soon create

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Max-Ulrich Farber
Hi Sergio Durigan jr., could you please tell us what has been changed in the samba 4.11.7 package in your PPA. It would be fine if I could know that before installing your samba version in my system. I am surprised that you could find the bug in samba and not in GIO/gvfs, for smbclient and

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Pier Luigi Cinquantini
Right! Thank you. A question, please. Now the official PPA will be updated with the nes files, isn't? What to do with these bug-files? Do remove them before the updating? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Sergio Durigan Junior
On Friday, May 01 2020, Pier Luigi Cinquantini wrote: > A moment! > I did these commands: > smbclient -L //192.168.1.51 -N --option='client min protocol = NT1' > smbclient -L //192.168.1.51 --user="USER"%"PASSWORD" --option='client min > protocol = NT1' > > and now it works properly. I assume

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Pier Luigi Cinquantini
A moment! I did these commands: smbclient -L //192.168.1.51 -N --option='client min protocol = NT1' smbclient -L //192.168.1.51 --user="USER"%"PASSWORD" --option='client min protocol = NT1' and now it works properly. -- You received this bug notification because you are a member of Ubuntu

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Pier Luigi Cinquantini
I did that: I addedd the new PPA: sudo add-apt-repository ppa:sergiodj/samba-bug1872476-v2 I updated sudo apt-get update I upgraded installing the new samba files. But now it doesn't see the NAS. If useful, in the beginning I created .smb/smb.conf with these lines: [global] client min

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread H I Murphy
Yes, issue is present on 2 systems running Xubuntu LTS 20.04. Another system (18.04.4) has no problem accessing files as files on legacy NAS running freenas vers 0.68. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Sergio Durigan Junior
On Friday, May 01 2020, Pier Luigi Cinquantini wrote: > For information, me too, I have the same problem: Kubuntu 20.04, files > displayed like folders. Old Nas, with smb1. Could you folks please give it a try with: https://launchpad.net/~sergiodj/+archive/ubuntu/samba-bug1872476-v2 ? Thanks,

[Bug 1872476] Re: Shared files are shown as folders

2020-05-01 Thread Pier Luigi Cinquantini
For information, me too, I have the same problem: Kubuntu 20.04, files displayed like folders. Old Nas, with smb1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are

[Bug 1872476] Re: Shared files are shown as folders

2020-04-30 Thread Sergio Durigan Junior
I have a fix and will work on getting it ready for upload today. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage notifications

[Bug 1872476] Re: Shared files are shown as folders

2020-04-30 Thread LE POITTEVIN
Same observation, my NAS is in smb1, idem for my router with a USB disk. The files are seen as folders. You can neither read the files nor delete them. The same folder mounted in CIFS by fstab is seen correctly. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1872476] Re: Shared files are shown as folders

2020-04-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: samba (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title:

[Bug 1872476] Re: Shared files are shown as folders

2020-04-28 Thread Sergio Durigan Junior
** Changed in: samba (Ubuntu) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Andreas Hasenack
Bruno, no need, we reproduced the bug and will work on a fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage notifications about this bug

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Andreas Hasenack
Bruno, no need, we reproduced the bug and will work on a fix. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage notifications about

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Bruno F
Jose Manuel, I tried with the samba 4.11.7 package from your PPA and the bug still occurs with "Files" Andreas, I have no shell access on the NAS so I am unable to check smbstatus. However I can confirm you that it always uses SMB1. This NAS does not support SMB2/3. I could capture SMB

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Jose Manuel Santamaria Lema
Nevermind, it seems the problem is not fixed yet in 4.11.7. I have just tested again and I can still reproduce the bug with the packages from my PPA. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Jose Manuel Santamaria Lema
I would like to add a few notes: 1. I have been experiencing this bug while using kde's plasma kio smb:// protocol in dolphin 2. To reproduce the bug, it seems you need to force the "NT1" (~ CIFS 1.0) protocol. You can do this adding these 2 lines to /etc/samba/sm.conf under the "[global]"

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Andreas Hasenack
In fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1801442#c28 Looks like the fix for https://bugzilla.samba.org/show_bug.cgi?id=14101 which went into 4.11.6 needs to be reverted for now. Thanks santa_ on #ubuntu-devel for the pointers! ** Bug watch added: Red Hat Bugzilla #1801442

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Andreas Hasenack
In fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1801442#c28 Looks like the fix for https://bugzilla.samba.org/show_bug.cgi?id=14101 which went into 4.11.6 needs to be reverted for now. Thanks santa_ on #ubuntu-devel for the pointers! ** Bug watch added: Red Hat Bugzilla #1801442

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Andreas Hasenack
When you are connected with the GUI and seeing all files as browsers, can you please run smbstatus on your NAS to see what protocol version was used? NT1 is used for browsing when you set that option, but the client (your machine) might switch to a higher version if the NAS says it supports it.

[Bug 1872476] Re: Shared files are shown as folders

2020-04-27 Thread Andreas Hasenack
When you are connected with the GUI and seeing all files as browsers, can you please run smbstatus on your NAS to see what protocol version was used? NT1 is used for browsing when you set that option, but the client (your machine) might switch to a higher version if the NAS says it supports it.

[Bug 1872476] Re: Shared files are shown as folders

2020-04-25 Thread Bruno F
** Attachment added: "can_not_open_file.png" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5360225/+files/can_not_open_file.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872476] Re: Shared files are shown as folders

2020-04-25 Thread Bruno F
I can reproduce the problem on a fresh new installed Ubuntu desktop 20.04 : 1) install package samba-common which is currently version 2:4.11.6+dfsg-0ubuntu1 2) add "client min protocol = NT1" to /etc/samba/smb.conf in [global] section Note : required to access my NAS which only support SMB

[Bug 1872476] Re: Shared files are shown as folders

2020-04-25 Thread Bruno F
** Attachment added: "smbclient-works.txt" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5360226/+files/smbclient-works.txt ** Changed in: samba (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu

[Bug 1872476] Re: Shared files are shown as folders

2020-04-14 Thread Rafael David Tinoco
Thank you for taking the time to file a bug report. Could you please describe detailed steps in order to reproduce this issue ? Something like: 1) Configure smb.conf like this "" 2) Restart smb service 3) Try to access remote shared folder using smbfs:/// 4) If it is authenticated or

[Bug 1872476] Re: Shared files are shown as folders

2020-04-14 Thread Rafael David Tinoco
Thank you for taking the time to file a bug report. Could you please describe detailed steps in order to reproduce this issue ? Something like: 1) Configure smb.conf like this "" 2) Restart smb service 3) Try to access remote shared folder using smbfs:/// 4) If it is authenticated or