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
165
votes
10 answers

Group vs role (Any real difference?)

Can anyone tell me, what's the real difference between group and role? I've been trying to figure this out for some time now and the more information I read, the more I get the sense that this is brought up just to confuse people and there is no…
Ondrej
  • 2,287
  • 6
  • 18
  • 17
54
votes
3 answers

Check for administrator privileges in C#

I want to know if a program is running as administrator. The user doesn't have to be administrator. I only want to know if my application has rights to edit some secured files that are editable when running as Administrator.
Hooch
  • 28,817
  • 29
  • 102
  • 161
41
votes
4 answers

Minimum rights required to run a windows service as a domain account

Does anyone know what would be the minimum rights I would need to grant to a domain user account in order to run a windows service as that user? For simplicity, assume that the service does nothing over and above starting, stopping, and writing to…
Paul Nearney
  • 6,965
  • 2
  • 30
  • 37
32
votes
24 answers

Is there a DRM scheme that works?

We help our clients to manage and publish their media online - images, video, audio, whatever. They always ask my boss whether they can stop users from copying their media, and he asks me, and I always tell him the same thing: no. If the users can…
Simon
  • 25,468
  • 44
  • 152
  • 266
15
votes
8 answers

Magento: Your web server is configured incorrectly

From a live magento setup I made a tar.gz, moved that to an domains of another DirectAdmin user, extracted the tar.gz, copied the database, changed the URL of domain in the database. Front-end works good. Backend gives me the following error: Your…
user2576151
  • 151
  • 1
  • 1
  • 4
14
votes
3 answers

PGsql : Grant every single right to a user on a schema

I can't figure out how to give every single right to a specific user, I want a user to have every single right on a schema: inserts, deletes, updates, selects, ... on existing tables I have tried doing : GRANT ALL PRIVILEGES ON SCHEMA schema…
Lucas Kauffman
  • 6,789
  • 15
  • 60
  • 86
13
votes
3 answers

"tcpdump -w 1.pcap" works, but "tcpdump -C 100 -w 1.pcap" - permission denied

I need to limit file size when I run "tcpdump -w 1.pcap". I try to do this with the key "-C", but when I add it I get error "permission denied". So: > sudo tcpdump -w 1.pcap tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535…
fd8
  • 137
  • 1
  • 1
  • 6
11
votes
1 answer

SQL Grant on - for multiple users

i was curious if there was a way to grant multiple users simultaneously rights Example: I want to give certain rights to multiple people that start with the letter AAR. Usual grant on : GRANT SELECT ON Abteilung TO Herr_Mueller How it goes for…
Roman
  • 113
  • 1
  • 1
  • 6
7
votes
3 answers

Elevating to admin rights in Mac application

I am making a simple application that lets you quickly enter a shell command to be run. It works perfectly, however there is the problem of sudo commands. Currently, it detects a sudo command, and then I try and get it to bring up an authorization…
LukeWarm74
  • 130
  • 1
  • 4
6
votes
4 answers

How do I hide my Oracle table?

Here's the scenario (simplified example): I have an Oracle user/schema called ABC. ABC owns a table called TRN. Client side code connects to the database as ABC and selects from ABC.TRN. So far so good. However, I don't want the client code to…
VinceJS
  • 1,254
  • 3
  • 18
  • 38
6
votes
2 answers

MediaWiki: page editing allowed by creator only or with approval

I'm trying to restraint editing on the Wiki (using MediaWiki) that I'm creating as an internal project for my company. We would like to be able to let the page creators specify none or one of the two following options: Nobody besides the creator of…
Nils
  • 401
  • 2
  • 6
  • 16
5
votes
3 answers

Windows: Which folders always offer write permissions?

The question is really clear. Which (Windows-) folders always have write permissions? So I need to find a folder which always has write permissions on any system for any application. Currently I used %AppData% but I got notifications from some users…
adroste
  • 758
  • 1
  • 7
  • 17
4
votes
4 answers

How to launch a QProcess with root rights?

I need to launch gphoto2 from a Qt program. I do this: QString gphotoProgram = "/usr/bin/gphoto2"; QStringList gphotoArguments; gphotoArguments << "--capture-image"; QProcess *gphotoProcess = new QProcess(this); gphotoProcess->start(gphotoProgram,…
Stéphane Péchard
  • 2,013
  • 3
  • 22
  • 35
4
votes
1 answer

Windows 7 Service differences between local system and local service

I have a rather complicated toolchain so prepare for a lengthy post until getting to the problem: I managed to get PDFCreator and a virtual PDF creating printer under Windows 7 running in server mode as a service. Next step in the process is…
GHad
  • 9,611
  • 6
  • 34
  • 40
4
votes
1 answer

Mongodb Admin cannot runCommand in another database (error code 13)

I've got some rights issues with mongoDB, I created a DB admin using the auth menthod, and this worked. I can connect from a distant server to my DB without any warning, using the admin account I created with the role "userAdminAnyDatabase". But,…
Vodsky
  • 41
  • 4
1
2 3
17 18