FSCreateTrashDirs mustn't create the directories itself. This breaks the logic in FSGetTrashDir that creates/applies attributes if needed. This most likely explains Axel's random problems with trash directories being visible, since this would cause a fresh Haiku install's /boot/trash to never be marked invisible as it should be.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2010-05-15 02:05:45 +00:00
parent cd7f54f117
commit 9a708202ac
-3
View File
@@ -2888,9 +2888,6 @@ FSCreateTrashDirs()
if (volume.IsReadOnly() || !volume.IsPersistent())
continue;
BPath path;
find_directory(B_TRASH_DIRECTORY, &path, true, &volume);
BDirectory trashDir;
FSGetTrashDir(&trashDir, volume.Device());
}