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
18
votes
3 answers

What User Should NGinx and PHP be running as?

Permissions are something that have confused for me a while with Linux. So at the minute both my NGinx and PHP-FPM instances are running with the user and group : www-data Is this standard? I run into trouble when I come across file…
The Pixel Developer
  • 857
  • 3
  • 10
  • 20
18
votes
5 answers

Quickly changing Windows permissions for a huge directory tree?

I have a huge directory on an NTFS file-system (i.e. a top-level directory containing tens or hundreds of millions of descendant nodes with the file nodes probably on average about three levels deep) that I need to change permissions for. In…
Chris
  • 1,063
  • 4
  • 12
  • 18
18
votes
2 answers

How to set file/folder permissions using Rsync from Windows to Linux

I want to transfer lots of files/folders from Windows to Linux using Rsync. On linux server(destination), I want the file permission set to 644, and folder permission set to 755. If possible, I want the ownership set to root.root for all the…
garconcn
  • 2,388
  • 8
  • 35
  • 46
18
votes
10 answers

NTFS Folder has no owner, no permissions, can't be deleted

I have a folder a 2003 member server which can't be deleted. Nothing has any permissions (domain admin and running up a cmd prompt as "nt authority\system" using psexec) - always "access denied". When I do a dir /q, the owner shows as "...". I've…
winnt93
  • 183
  • 1
  • 1
  • 5
17
votes
3 answers

KVM guest cannot write to 9p share owned by non-root

I am aiming to set up full write access to a 9p share for a KVM guest. Both host and guest have the same users/groups with the same IDs. Both host and guest should be able to write to the share using same usernames and I don't want to distinguish…
Greendrake
  • 1,391
  • 2
  • 13
  • 22
17
votes
1 answer

How to add NETWORK SERVICE to Users permission group?

I'm adapting an application from a different server, their installation guide tells me to Add Server Name\Network Service identity to Users permission group. So how can I? I've tried: Via Computer Management, Groups, Users and adding it there,…
Madara's Ghost
  • 378
  • 1
  • 2
  • 11
17
votes
4 answers

Can't connect to default admin share on Windows 2008

I have a Windows 2008 Server that I'm trying to connect to the default administrative share \\servername\c$ I can connect to it using the default Administrator account. But if I try to connect using my user account that is a member of the…
philcruz
  • 451
  • 1
  • 3
  • 9
17
votes
4 answers

User in domain admin group cannot access directory the group has permission to access

I've run into a rather interesting issue when playing with one of my domain labs. There's a directory on a 2008 R2 fileserver that's being used for folder redirection for all users in the "Staff" OU. The directory has the following permissions…
EnglishInfix
  • 173
  • 1
  • 1
  • 6
16
votes
4 answers

Specify default group and permissions for new files in a certain directory

I have a certain directory in which there is a project shared by multiple users. These users use SSH to gain access to this directory and modify/create files. This project should only be writeable to a certain group of users: lets call it "mygroup".…
mislav
  • 263
  • 1
  • 3
  • 7
16
votes
3 answers

PING icmp open socket: Operation not permitted in vserver

I am running a vserver environment with several virtual machines. A single VM has the following problem: $ ping 8.8.8.8 ping: icmp open socket: Operation not permitted $ ls -l $(which ping) -rwsr-xr-x 1 root root 30736 2007-01-31 00:10 /bin/ping $…
rexkogitans
  • 324
  • 1
  • 3
  • 22
16
votes
1 answer

Check that a given user has a given privilege

Given a pair of a user and a privilege I need to determine if a user has the privilege on the server. The following is true in my setup: The server is a part of a domain but not a domain controller There are several domains with trust relationship…
Andrew Savinykh
  • 526
  • 2
  • 7
  • 21
16
votes
3 answers

Windows File Permissions and Attributes

I'm somewhat confused about the whole Windows file security scheme. I come from a unix background, so I don't fully understand the relationship between file permissions/security settings and the attributes; specifically read-only, that a file can…
prelic
  • 319
  • 1
  • 4
  • 17
16
votes
3 answers

Using ICACLS to set permissions on user directories

I'm trying to reset permissions on user directories and having a bit of trouble with the last step of my script. My script basically takes ownership of the entire user directory, resets the permissions on all files and folders for the directory,…
pk.
  • 6,451
  • 2
  • 42
  • 63
16
votes
1 answer

Upstart: allowing a normal user to stop and start my custom service

I have got my webserver application starting on boot using upstart. This is the upstart script: # web app node upstart file at /etc/init/webapp.conf description "web application" start on started mongodb stop on runlevel [06] respawn respawn…
Tom
  • 611
  • 2
  • 8
  • 15
16
votes
2 answers

setfacl to reset file to default permissions?

I have a directory with the following default ACLs: default:user:phptutor:rwx However, none of the files/directories in that directory have that default permission (because it was added after they were created). How can I copy the default ACLs of a…
hopeseekr
  • 281
  • 1
  • 2
  • 9