:: [DNG] mount.cifs fix (was: Re: We …
Top Page
Delete this message
Reply to this message
Author: Florian Zieboll
Date:  
To: dng
Old-Topics: Re: [DNG] We need upgrade reports
Subject: [DNG] mount.cifs fix (was: Re: We need upgrade reports)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


On Mon, 6 Jan 2020 22:58:06 +0100
Florian Zieboll <f.zieboll@???> wrote:

> tl;dr: - The upgrade has been largely successful (besides cifs
> mounts!).
>

(...)
> 
>        - There is one issue with cifs-utils left for further
>          investigation: Two fstab-mounted (remote) samba 4.2 shares,
>          formerly writable, have turned read-only - while my ascii
>          desktop has still r/w access. (As first client-side attempts
>          have not been successful yet, I will look at it another day,
>          together with the server.)



Finally I came back to my beowulf cifs issue and, as actually expected,
it was easily solvable at the client. From beowulf mount.cifs(8) for
the "SMB protocol version" option:

    The default since v4.13.5 is for the client and server to
    negotiate the highest possible version greater than or equal to
    2.1. In kernels prior to v4.13,  the  default was 1.0. For
    kernels between v4.13 and v4.13.5 the default is 3.0.

The upgrade was from kernel v4.9 to v4.19; forcing the former default
version 1.0 (vers=1.0) on mount made the shares writable again. 

Staying with the new default SMB version 3.0 (I /thought/ that I had
tried this before), mount.cifs requires the "noperm" option to pass on
the write permissions.

lessons: 1. RTFM
     2. slack configuration strikes back


lulz & libre Grüße,
Florian


-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEELAr/aHjRNwfZVZJo7kVJef5EH9YFAl4jIGMACgkQ7kVJef5E
H9anEhAAoxhnnCEfNMwtN2asure2B4wq35lvBHhk0gr5wt4fRVp3lz4oeibtvqqD
w4Xs7H0LF/0MWDQ/qc5Qz4cbtLoM2APx8FusVE9vYffMswZryB8oBd/Q5rslmJMS
rVCRi+/ItlyaWxhS0vKtpLAPiHNGVG83s2cSxoJgNbEcZgqSm7TXrbD+ZqYXGrO1
JfFsUluwxYxBVITp9sHEltd4nmnp+q4tmq3HMiLkB8HankeeqNguxTaCfa+z8Dqb
S33Md16S1P2XW77TEAYcf6SZdQuha8wnaRlfypNn1NRQc9WcsW1x7nJMo7U4/4b4
+6FxWO14ZnQDDXAmYMGT1Zc5cwvsxFEd83DPxKYyQHGhrh2rTpDBBljUN+0Lf6ET
m3bc8pk7IVrjdF+2154gZjNBnzLrZv+osS+ek8XzhZlBC7ISTpgBOZ485PqfXY9J
FRq3tBeNrAE+MkmnOUvYFuHYL7aCsvNk3DUXv2Ky4UgVbyKQjOqrTYu7GxUA11wB
vgDYkhELiNbLkPNx0xY5JoQut9rADP2VJVyqH4tUj4lYgl7U8uxfCB81NF5dAbY7
fnzQ60i18S8Q43+Fd2IUBGUsDlYdtKcxc6EbQqUNI1UOaXZ+w50d2E5cVE7aXTeD
P0ydxVxt2OtMVoZLN7gzbJoeXcntwjwqtO55ohyAPfuZl+HVdRE=
=r/RG
-----END PGP SIGNATURE-----