FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NodeJS-Permissions/JavaScript/2-deny.sh at main · HowProgrammingWorks/NodeJS-Permissions · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
HowProgrammingWorks
/
NodeJS-Permissions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
NodeJS-Permissions
/
JavaScript
/
2-deny.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
5 lines (5 loc) · 202 Bytes
Breadcrumbs
NodeJS-Permissions
/
JavaScript
/
2-deny.sh
Copy path
File metadata and controls
executable file
·
5 lines (5 loc) · 202 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
#
Demo 2: Enable --permission (deny by default). Fails with ERR_ACCESS_DENIED
#
because app.js reads config, writes log, uses net/worker/child.
set
-e
cd
"
$(
dirname
"
$0
"
)
"
exec
node --permission app.js
Back
|
FazBrowse Home
|
New Git URL