unix extensions disabled by default

Bug #1882980 reported by Max-Ulrich Farber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

when mounting a cifs share by the command line
sudo mount -t cifs //192.168.178.23/Bilder_klein /mnt -o guest,rw
the cifs unix extensions are disabled by default. The mount option `unix` or `posix` is refused.

The command `mount` shows:
`//192.168.178.23/Bilder_klein on /mnt type cifs (rw,relatime,vers=3.1.1,sec=none,cache=strict,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.23,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)`
Therefore the option `nounix` has been set by default, not according to `man mount.cifs`.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cifs-utils 2:6.9-1
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Jun 10 17:37:38 2020
InstallationDate: Installed on 2020-06-08 (2 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: cifs-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Max-Ulrich Farber (m.u.farber) wrote :
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

AFAIU, the work on SMBv3 UNIX extensions on Samba is ongoing:

https://wiki.samba.org/index.php/SMB3-Linux

So, while cifs-utils tries to use "unix" when mounting the share, Samba still doesn't support it, and therefore mount.cifs falls back to nounix.

This is not necessarily a bug; it's just something that is still being developed and will ship in future versions of Samba.

I am moving this bug to the samba package.

affects: cifs-utils (Ubuntu) → samba (Ubuntu)
affects: samba (Ubuntu) → cifs-utils (Ubuntu)
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Sorry, scratch that, I got confused and assumed that you were mounting a Samba share. I moved the bug back to cifs-utils.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.