Questions tagged [permissions]

In computing, permissions (often called "privileges," "access rights" or just "rights") are rules associated with objects on a computer or network. Permissions determine which objects can access which objects, and to what extent.

In computing, permissions (often called "privileges," "access rights" or just "rights") are rules associated with objects on a computer or network. Permissions determine which objects can access which objects, and to what extent.

For example, file permissions are rules placed on a filesystem object defining which accounts are allowed to access the object, and what actions those accounts can take on the object, such as read, write and/or delete.

3641 questions
22
votes
4 answers

Apache runs as which user, group under OS X 10.6?

Anyone know the default user/group for Apache under OS X (10.6)? I'd like to set permissions correctly. Already enabled Web Sharing, etc.
Jake McGraw
  • 910
  • 1
  • 8
  • 17
22
votes
2 answers

"'' is not a valid login or you do not have permission" on sql server installation

I have tried installing SQL Server 2008 multiple times on my machine, and I always receive this error about 3/4 of the way through: '' is not a valid login or you do not have permission. I use SYSTEM user for install, when i try to use my admin…
Alex
22
votes
4 answers

How can I set full premissions to a user in a specified dir?

How can I set full permissions to a user in a specified dir in linux?
Alon Gubkin
  • 666
  • 3
  • 7
  • 12
21
votes
6 answers

Why am I missing /var/run/sshd after every boot?

I'm running a Ubuntu 16.04 container under Proxmox 5.2-11. After applying the latest round of patches1 I'm unable to login at the console or over ssh. I mounted the container root FS on the hypervisor and added pts/0 to /etc/security/access.conf…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
21
votes
3 answers

Trying to add a new SQL Server user throws the error "is not a valid login or you do not have permission”

I am trying to add a new user to an SQL Server 2012 database using SQL Server Management Studio. I right-click and select 'Add User' under Security -> Users, fill out the user information, and click OK. Management Studio throws the the error…
culix
  • 581
  • 1
  • 4
  • 13
21
votes
5 answers

Run nginx as a non-root user

I followed this process to installing nginx on my Ubuntu 10.04 Lucid Server http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid I got lost after the point of creating an init script to start nginx, and then calling…
John
  • 536
  • 3
  • 5
  • 13
20
votes
6 answers

Refresh supplementary group memberships without logging in again?

From my understanding, a Linux session caches its group memberships at login. Then if a new group membership is added (e.g. with adduser someuser somegroup), the user must log out and log in again to be able to take advantage of the new…
Avdi
  • 353
  • 1
  • 3
  • 7
20
votes
2 answers

What is the canonical use for the "sys" and "adm" groups?

Since the beginning of time (or as long as I remember anyway) linux systems have had a "sys" and an "adm" group. What is the canonical use for them? Would it be appropriate to use either for a "super user" group? (Group permissions on directories,…
Ask Bjørn Hansen
  • 520
  • 1
  • 3
  • 11
20
votes
5 answers

How to configure PHP CLI on linux ubuntu to run as www-data?

I have a symfony2 application on my ubuntu. Symfony has a plenty of useful console commands (like php app/console cache:clear or php app/console assets:install web). The problem is If I run them as root user the newly generated files will have…
19
votes
2 answers

Although 80 and 443 are system ports, how are most web servers able to bind to them anyway?

Running a web-service that binds to port 80 usually doesn't require sudoer privileges. Since ports 80/443 are system ports, meaning they can only be used by privileged users, how come those services are still able to bind to these ports?
adaml
  • 361
  • 2
  • 7
19
votes
3 answers

Change owner recursively with Powershell?

I'm trying to use Powershell to change owner of a folder, recursively. I'm basically using this code: $acct1 = New-Object System.Security.Principal.NTAccount('DOMAIN\Enterprise Admins') $profilefolder = Get-Item MyFolder $acl1 =…
Mikael Grönfelt
  • 677
  • 3
  • 7
  • 14
18
votes
1 answer

Failed at step EXEC spawning... Permission denied

I have read alot about this but still not sure why this is not working. as far as I know all dirs have the right permission and even with everything being 777 I still get permission denied when trying to run this program as a service. the program I…
Stone Monarch
  • 293
  • 1
  • 2
  • 5
18
votes
2 answers

Caddy "listen tcp :443: bind: permission denied"

Caddy server would not start and displayed this error after upgrading to v0.9.3: listen tcp :443: bind: permission denied I was running caddy with systemd as user caddy. I checked that the binary was, in fact, owned by caddy.
ki9
  • 1,243
  • 1
  • 13
  • 19
18
votes
1 answer

User accidentally messed up a Robocopy command and caused a bunch of folders to get created with corrupt security

We had a user run a robocopy command to copy some files but unfortunately the user accidentally messed up the syntax. Something like: robocopy "\\server1\share\Accounting" \\server1\share\NewAccounting" /E /X /COPYALL /TEE Which without the proper…
TheCleaner
  • 32,627
  • 26
  • 132
  • 191
18
votes
1 answer

Tool to show permissions of path in Linux?

Is there a tool in Linux that will take a path such as /var/log/httpd/error_log, and print the permission for each branch of the path, i.e.: /var: root:root, 0755 /var/log: root:root, …
Soviero
  • 4,366
  • 8
  • 36
  • 60