Project

General

Profile

Actions

Bug #11673

closed

Error setting file times with smbfs and Apple SMB server

Added by Gordon Ross almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cifs - CIFS server and client
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

mount -F smbfs //apple/smb /smbfs
cp -p file /smbfs/dir
error setting times on file


Files

mac-oi-dev1.snoop (20 KB) mac-oi-dev1.snoop Gordon Ross, 2019-09-10 07:43 PM
Actions #1

Updated by Gordon Ross almost 2 years ago

The Apple SMB server hangs up on us after we try to set times in frame 71

Actions #2

Updated by Gordon Ross almost 2 years ago

  • Status changed from New to In Progress

The struct FILE_BASIC_INFORMATION is supposed to have a 4-byte reserved part at the end.
Nobody noticed until the Apple SMB server apparently started requiring that it's there.

Actions #3

Updated by Gordon Ross almost 2 years ago

Testing: Dropped in a new usr/kernel/fs/amd64/smbfs and "cp -p" some files from my "OI" vm guest to the SMB server in the MacOS Mojave host. Previously caused errros; Works fine now.

Actions #4

Updated by Electric Monk almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 8a2c2d71876be7abb6367a98b63affe135ad8cc5

commit  8a2c2d71876be7abb6367a98b63affe135ad8cc5
Author: Gordon Ross <gwr@nexenta.com>
Date:   2019-09-10T21:55:51.000Z

    11673 Error setting file times with smbfs and Apple SMB server
    Reviewed by: Jason King <jason.king@joyent.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF