You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ksmbd's handling of shares on mount points has some rough edges:
If a share path becomes a mount point after the ksmbd service starts, the share exhibits abnormal behavior. The root directory is visible, but files cannot be opened, subdirectories cannot be entered, and while new empty files can be created, they cannot be modified or deleted. Restarting the ksmbd service resolves this.
If a share path is a mount point when the service starts, unmounting always returns -EBUSY.
Ideally, in the first scenario, the share should either appear empty or function correctly. The current behavior is misleading, especially if the mount point was temporarily unavailable due to required manual intervention like running fsck.
For the second scenario, it'd be nice if the share can be successfully unmounted.
The text was updated successfully, but these errors were encountered:
If a share path becomes a mount point after the ksmbd service starts, the share exhibits abnormal behavior. The root directory is visible, but files cannot be opened, subdirectories cannot be entered, and while new empty files can be created, they cannot be modified or deleted. Restarting the ksmbd service resolves this.
Can you explain how to reproduce ? Shouldn't there be a share directory initially?
If a share path is a mount point when the service starts, unmounting always returns -EBUSY.
Do you want the command for "ksmbd server pause" to umount share directory ? and "ksmbd server resume" command will reopen share directory and restart file sharing.
Currently, ksmbd's handling of shares on mount points has some rough edges:
-EBUSY
.Ideally, in the first scenario, the share should either appear empty or function correctly. The current behavior is misleading, especially if the mount point was temporarily unavailable due to required manual intervention like running
fsck
.For the second scenario, it'd be nice if the share can be successfully unmounted.
The text was updated successfully, but these errors were encountered: