1,599 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
4
replies
64
views
In Dockerfile add user, assign group to user and make group permanent
I have a Dockerfile, where I create a non-root user and assign a group icmp_users to it. However, when I run the container with docker run -it --rm container bash the group is not activated.
Here is ...
0
votes
0
answers
52
views
WebView not allowed in privileged process — any safe alternative for system/priv apps?
I’m developing a system privileged app (installed under /system/priv-app) and I need to display a webpage inside the app UI.
However, when I try to use a WebView, the app crashes with:
java.lang....
1
vote
1
answer
124
views
Unallowed GRANT does not raise an exception and doesn't grant the privilege either, if user already has other privileges on the object
I have a regression test for a PostgreSQL database that checks to make sure a particular user cannot self-assign additional privileges to a particular schema. I do this by logging in as the user "...
3
votes
1
answer
133
views
After enabling an interrupt via CSRRW in RISC-V, how many instructions may execute before trap entry?
In RISC-V machine mode, when you issue a csrrw that sets a bit in mie (i.e. enabling an interrupt that is already pending), must the very next instruction immediately branch to the interrupt handler? ...
1
vote
1
answer
72
views
Do child processes inherit pledge() promises made by the parent process?
In BSD, the pledge() syscall can be used to limit the process' access to potentially dangerous resources. Do these limitations apply to child processes that are forked from the parent, or are the ...
0
votes
0
answers
89
views
Windows cmd.exe Environment Configuration Issues with Drive D: and Git (or unable to create process with Anaconda)
I installed Git on drive D:, but when I open a new cmd.exe Window and type git --version at the prompt, it showed that error launching git:
C:\Users25011円>git --version
error launching git:
It ...
0
votes
1
answer
195
views
How to set permissions on partitioned table in Postgres (v. 15)
How can I let user to update only one partition through a parent table? Why doesn't this work:
-- 1. Create users
CREATE ROLE my_admin LOGIN PASSWORD 'admin_pass';
CREATE ROLE my_user LOGIN PASSWORD '...
0
votes
0
answers
104
views
Google Calendar API: scopes are readonly but event deletion is possible
In Google Cloud Console, I created a project with read only accesses to my Google Calendar:
Your non-sensitive scopes
.../auth/calendar.calendarlist.readonly See the list of Google calendars you’re ...
1
vote
1
answer
108
views
Grant with Grant option not working in SQL Server
I have two server logins, OMEGACA and TEST, and an ALL SERVER for LOGON trigger:
CREATE TRIGGER [OMEGACA_ACC]
ON ALL SERVER WITH EXECUTE AS 'OMEGACA'
FOR LOGON
AS
-- ...............
OMEGACA has ...
0
votes
1
answer
146
views
How to implement device-based licensing (independent of user account) for an Android app?
I have an Android app that I need to license per device (lifetime), meaning the app should be licensed for the device itself, independent of the user account. If I use a one-time in-app product for ...
0
votes
1
answer
180
views
CreateSymbolicLinkW failed: Bazel symlinks on Windows requires administrator privileges
While running yarn run devtools:test inside my Angular development fork on Windows 11 I got the following error output:
Process exited with status 1: Process exited with status 1
build-runfiles ...
1
vote
1
answer
112
views
Oracle database newbie about ORA-01045 error [closed]
I can't connect to my brand new empty Oracle database from DBeaver or SQL Developer with just made new DB user.
I just get started to use Oracle Database 23ai, with SQL Plus logged in as SYSTEM and ...
1
vote
1
answer
77
views
How to grant a java program admin privileges during runtime
I have a java program from which i would like to access a file that requires admin privileges. I use IntelliJ IDE for development and I would like to start the program from the IDE.
I have an ...
0
votes
0
answers
34
views
Setup Enterprise Github to be able to share a repository to organization
Our company uses Github Enterprize and created Organization for each unit.
However, when I tried to create a repository for a knowledge sharing workshop, I couldn't find a way to share a repository to ...
0
votes
1
answer
56
views
No privileges when executing Oracle stored procedure
I have a problem with an Oracle stored procedure that dynamically creates some materialized views.
The procedure first drops the materialized views if there are any with the same name of the ones that ...