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
Copy file name to clipboardExpand all lines: src/packages/frontend/project/explorer/fetch-directory-errors.tsx
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,7 @@ export function FetchDirectoryErrors({
33
33
);
34
34
case"not_a_dir":
35
35
return(
36
-
<ShowError
37
-
message="Not a folder"
38
-
error={`${path} is not a folder.`}
39
-
/>
36
+
<ShowErrormessage="Not a folder"error={`${path} is not a folder.`}/>
40
37
);
41
38
case"not_running":
42
39
// This shouldn't happen, but due to maybe a slight race condition in the backend it can.
@@ -51,9 +48,12 @@ export function FetchDirectoryErrors({
51
48
default:
52
49
if(
53
50
error==="no_instance"||
54
-
(is_commercial&"as&&!quotas.member_host)
51
+
(is_commercial&&
52
+
quotas&&
53
+
!quotas.member_host&&
54
+
!`${error}`.includes("EACCES"))
55
55
){
56
-
// the second part of the or is to blame it on the free servers...
56
+
// the second part of the or is to blame it on the free servers, unless EACCESS = read permission error -- see https://github.com/sagemathinc/cocalc/issues/4100
0 commit comments