Disallow running Zed with root privileges (#31331)
This will fix a lot of weird problems that are based on file access issues. As discussed in https://github.com/zed-industries/zed/pull/31219#issuecomment-2905371710, for now it's better to just prevent running Zed with root privileges. Release Notes: - Explicitly disallow running Zed with root privileges --------- Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
parent
caf3d30bf6
commit
4f8d7f0a6b
3 changed files with 23 additions and 5 deletions
|
@ -289,7 +289,7 @@ gimli = { version = "0.31", default-features = false, features = ["read", "std",
|
|||
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12"] }
|
||||
itertools-5ef9efb8ec2df382 = { package = "itertools", version = "0.12" }
|
||||
naga = { version = "25", features = ["msl-out", "wgsl-in"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal", "user"] }
|
||||
objc2 = { version = "0.6" }
|
||||
objc2-foundation = { version = "0.3", default-features = false, features = ["NSArray", "NSAttributedString", "NSBundle", "NSCoder", "NSData", "NSDate", "NSDictionary", "NSEnumerator", "NSError", "NSGeometry", "NSNotification", "NSNull", "NSObjCRuntime", "NSObject", "NSProcessInfo", "NSRange", "NSRunLoop", "NSString", "NSURL", "NSUndoManager", "NSValue", "objc2-core-foundation", "std"] }
|
||||
objc2-metal = { version = "0.3" }
|
||||
|
@ -318,7 +318,7 @@ gimli = { version = "0.31", default-features = false, features = ["read", "std",
|
|||
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12"] }
|
||||
itertools-5ef9efb8ec2df382 = { package = "itertools", version = "0.12" }
|
||||
naga = { version = "25", features = ["msl-out", "wgsl-in"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal", "user"] }
|
||||
objc2 = { version = "0.6" }
|
||||
objc2-foundation = { version = "0.3", default-features = false, features = ["NSArray", "NSAttributedString", "NSBundle", "NSCoder", "NSData", "NSDate", "NSDictionary", "NSEnumerator", "NSError", "NSGeometry", "NSNotification", "NSNull", "NSObjCRuntime", "NSObject", "NSProcessInfo", "NSRange", "NSRunLoop", "NSString", "NSURL", "NSUndoManager", "NSValue", "objc2-core-foundation", "std"] }
|
||||
objc2-metal = { version = "0.3" }
|
||||
|
@ -347,7 +347,7 @@ gimli = { version = "0.31", default-features = false, features = ["read", "std",
|
|||
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12"] }
|
||||
itertools-5ef9efb8ec2df382 = { package = "itertools", version = "0.12" }
|
||||
naga = { version = "25", features = ["msl-out", "wgsl-in"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal", "user"] }
|
||||
objc2 = { version = "0.6" }
|
||||
objc2-foundation = { version = "0.3", default-features = false, features = ["NSArray", "NSAttributedString", "NSBundle", "NSCoder", "NSData", "NSDate", "NSDictionary", "NSEnumerator", "NSError", "NSGeometry", "NSNotification", "NSNull", "NSObjCRuntime", "NSObject", "NSProcessInfo", "NSRange", "NSRunLoop", "NSString", "NSURL", "NSUndoManager", "NSValue", "objc2-core-foundation", "std"] }
|
||||
objc2-metal = { version = "0.3" }
|
||||
|
@ -376,7 +376,7 @@ gimli = { version = "0.31", default-features = false, features = ["read", "std",
|
|||
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12"] }
|
||||
itertools-5ef9efb8ec2df382 = { package = "itertools", version = "0.12" }
|
||||
naga = { version = "25", features = ["msl-out", "wgsl-in"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal"] }
|
||||
nix = { version = "0.29", features = ["fs", "pthread", "signal", "user"] }
|
||||
objc2 = { version = "0.6" }
|
||||
objc2-foundation = { version = "0.3", default-features = false, features = ["NSArray", "NSAttributedString", "NSBundle", "NSCoder", "NSData", "NSDate", "NSDictionary", "NSEnumerator", "NSError", "NSGeometry", "NSNotification", "NSNull", "NSObjCRuntime", "NSObject", "NSProcessInfo", "NSRange", "NSRunLoop", "NSString", "NSURL", "NSUndoManager", "NSValue", "objc2-core-foundation", "std"] }
|
||||
objc2-metal = { version = "0.3" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue