Questions tagged [rights]

Rights pertain to the privileges users have with regard to specific files, folders, or directories, and include determining whether a user has the ability to view them, modify them, etc. Use this tag when asking a question about assigning rights to files or folders as part of a program, API, utility, or website you are working on.

Rights pertain to the privileges users have with regard to specific files, folders, or directories, and include determining whether a user has the ability to view them, modify them, etc. Use this tag when asking a question about assigning rights to files or folders as part of a program, API, utility, or website you are working on.

259 questions
1
vote
0 answers

DENY INSERT, UPDATE, DELETE from Execution of Stored Procedure in SQL Server

CREATE LOGIN reader with password='Test@123#'; CREATE USER ureader for login reader; grant connect to ureader; GRANT SELECT TO ureader DENY INSERT, UPDATE, DELETE, ALTER, REFERENCES TO ureader I have created new SQL Login using above…
1
vote
1 answer

Problem with authorized_keys with ansible

I am in the process of making knots in my brain concerning a concern for rights on the .ssh/authorized_keys. I have my ansible script that works perfectly for creating my users on my servers and I just want to modify the rights of /home/user,…
1
vote
0 answers

VB.NET application not working as logged in user but works as 'other user'

I trying to find out why a VB.NET application has stopped working and gives the following error when opening: ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at…
CBP
  • 11
  • 2
1
vote
1 answer

Windows, Python: time.sleep() permission error

In my Python Script, I am using the function time.sleep(10) to make the script sleep for 10 seconds. I am correctly importing the time module and the code works perfectly fine when running on MacOS. Even the most basic approach doesn't work: import…
Tom
  • 151
  • 1
  • 1
  • 8
1
vote
0 answers

Does jvm handle divideByZero exception from receiving system level signal?

We know that: (1) java could handle DivideByZero ArithmeticException gracefully. (2) C/c++ language cannot handle this, unless we use system-level error handling----like on linux, we need to set up signal handler to process SIGFPE, and then…
Hind Forsum
  • 9,717
  • 13
  • 63
  • 119
1
vote
1 answer

Linux command line: id, group and getent group not returning the same results

I'm wondering why I get different results from id and group on one hand, and getent group on the other. Steps to reproduce: $ sudo usermod -a -G libvirt eric $ groups eric adm cdrom sudo dip plugdev lpadmin sambashare $ id uid=1000(eric)…
ElToro1966
  • 831
  • 1
  • 8
  • 20
1
vote
1 answer

Specifics access to a external docker registry with multi-users

I've just created my first externally-accessible registry with Docker and set up the restricting access with one user and its password, my question is, is it possible to specify the rights? like a user access to a specific docker image of the…
Siva
  • 55
  • 5
1
vote
2 answers

Service failed to start error 1920

On some machine we have the following error at service install: "Service ... failed to start. Verify that you have sufficient privileges to start system services." Service is installed fine tho, just that it can't be started as Network Service from…
Adrya
  • 3,427
  • 8
  • 31
  • 29
1
vote
1 answer

How to create unkillable python script?

My alarm clock is a python script that's triggered with Cron. It plays music for an hour using pygame, gradually increasing the volume. Recently, a weak-willed, semi-conscious version of myself has learned how to turn off the script using pkill -f…
Charles Clayton
  • 17,005
  • 11
  • 87
  • 120
1
vote
0 answers

NodeJS role based access control with client support

does any multi-client role based right libs exist for node? I'm recently developing a nodejs application which requires a more sophisticated role based access control which supports multiple clients/mandates within the software. Different rights…
Manuel
  • 9,112
  • 13
  • 70
  • 110
1
vote
1 answer

Powershell - test Real access for an USER

I need to test if user has realy access to a folder (Read, Write, Delete), not juste the NTFS Rights. I use Start-process whit user credential
Alban
  • 3,105
  • 5
  • 31
  • 46
1
vote
2 answers

Install WinForms application without admin rights

I develop a Windows Forms application using VS 2008. Application will be deployed in Corporate Environment: a network (VPN, LAN) is in several cities, many PC clients Windows XP; and there is a only Server Win2003, with several WCF Services, Windows…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
1
vote
1 answer

Java launch application with restricted file read/write permissions

At first, sorry for my bad english. I'm from Germany. Currently i am programing an Java application that executes applications remotely. Now i want to restrict the file access for each process that every process can only read and write files in his…
Dominik Viererbe
  • 387
  • 2
  • 12
1
vote
1 answer

Why authenticated role is not automatically set after registration in Yii (User+Right extension)

I am using Yii user and rights extension, I want to give Authenticated role to a user, who gets registered successfully. But it is not working. Given below is my registration controller code class RegistrationController extends Controller { …
Usman Iqbal
  • 2,379
  • 5
  • 26
  • 50
1
vote
1 answer

chown and chmod doesn't work (Raspberry Pi 2 - Jessie)

I would like to make a fileserver at home using Raspberry Pi 2. Currently there are 3 users: root, pi and alma. My connected external drive is mounted automatically to /media/pi/TOURO I would like to share "Share" directory on this drive for "alma"…
oroszkodik
  • 111
  • 3