This repository was archived by the owner on Jan 27, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
crates/worker/src/docker/taskbridge Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,8 +240,8 @@ impl TaskBridge {
240240 } ;
241241
242242 // allow both owner and group to read/write
243- match fs:: set_permissions ( socket_path, fs:: Permissions :: from_mode ( 0o660 ) ) {
244- Ok ( _) => debug ! ( "Set socket permissions to 0o660 " ) ,
243+ match fs:: set_permissions ( socket_path, fs:: Permissions :: from_mode ( 0o666 ) ) {
244+ Ok ( _) => debug ! ( "Set socket permissions to 0o666 " ) ,
245245 Err ( e) => {
246246 error ! ( "Failed to set socket permissions: {}" , e) ;
247247 return Err ( e. into ( ) ) ;
@@ -372,7 +372,7 @@ mod tests {
372372 assert ! ( socket_path. exists( ) ) ;
373373 let metadata = fs:: metadata ( & socket_path) ?;
374374 let permissions = metadata. permissions ( ) ;
375- assert_eq ! ( permissions. mode( ) & 0o777 , 0o660 ) ;
375+ assert_eq ! ( permissions. mode( ) & 0o777 , 0o666 ) ;
376376
377377 // Cleanup
378378 bridge_handle. abort ( ) ;
You can’t perform that action at this time.
0 commit comments