← Back to team overview

enterprise-support team mailing list archive

[Bug 1883234] [NEW] unix extensions not working?

 

Public bug reported:

I was trying to share home directories between two linux machines, so I
set-up a samba server (using the default the smb.conf, just uncommenting
things in the [homes] section, see attached smb.conf).

That worked nicely, except for one thing:

When mounting the shared home directory all files are marked as
executable.

If is obviously due to the fact that unix permissions are not correctly
send from server to client.

smbclient reports the following error:
   smbclient //server/user
   Enter WORKGROUP\users's password: 
   Try "help" to get a list of possible commands.
   smb: \> stat testparm_v.log 
   Server doesn't support UNIX CIFS calls.   

According to the samba docu support for unix permissions is controlled
by "unix extensions" in the [global] section of smb.conf. If no value is
supplied is is turned on by default. As can been been from the output of
"testparm -v" ("unix extensions = Yes") that unix extensions are indeed
enabled for my set-up.

So the expected behaviour is that file permissions are correctly
exported from the server when mounting the homes share.

Maybe I misunderstood something (samba configuration is quite complex),
but I think I found an error in the samba package. Any advice is
welcome. Many thanks in advance!

Additional Information

1) Description:	Ubuntu 20.04 LTS
   Release:	20.04

2) samba:
   Installed: 2:4.11.6+dfsg-0ubuntu1.2

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "attachment.tgz"
   https://bugs.launchpad.net/bugs/1883234/+attachment/5383199/+files/attachment.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1883234

Title:
  unix extensions not working?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1883234/+subscriptions


Follow ups