Delete User Folder SMB

John Radtke

Dabbler
Joined
Oct 14, 2021
Messages
11
I recently created a couple of new users on TrueNAS 13.
I was not paying attention to the Home Dir path option when I created the users and subsequently a User Folder was created for those users in my SMB shared directory
These folders are not able to be deleted it would seem from Windows
I have since changed the Home Dir path for those users to Nonexistent as it should have been.

How can I delete them ?

I have not tried to restart TrueNAS as yet since changing the Home Dir path

Thanks
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Are they Datasets or Folders ?
Datasets must be deleted via the TN GUI.
 

golek

Dabbler
Joined
Jun 22, 2023
Messages
11
Are they Datasets or Folders ?
Datasets must be deleted via the TN GUI.
What if the dataset and user have been deleted but somehow the Folder with ACL still remains, and cannot be deleted (my specific case).
 

JIBUM

Cadet
Joined
Oct 18, 2023
Messages
2
Are they Datasets or Folders ?
Datasets must be deleted via the TN GUI.
Hi golek

It's a folder. The folder is deleted after deleting it from Windows Explorer.
If you refresh, the folder will still exist and errors in accessing or deleting the folder will occur. It says you need administrator privileges.
However, when deleting from the Linux CLI, it is deleted normally.

This symptom only occurs in newly created top-level folders.
It works normally when creating, deleting, or editing subfolders below.
 
Top