Questions tagged [file-permissions]

Most current file systems have methods of administering permissions or access rights for specific users and groups of users. These systems control the ability of the users to view or modify the contents of the filesystem.

Permissions on Unix-like systems are managed in three distinct classes. These classes are known as user, group, and others.

Permissions on Windows systems can be granted to users, groups, computers, or other built-in security principals such as SELF or CREATOR OWNER.

Permissions are generally configured in an Access Control List (ACL, pronounced ackle) with each entry in the list being referred to as an Access Control Entry (ACE).

965 questions
0
votes
2 answers

How to re-apply original inherited permissions to files created while being administrator?

I hope someone can answer this once and for all, this is driving me mad for months now. Platform: Windows Server, any version. This problem doesn't happen on a workstation. Problem: In a folder, whenever I create files while being Administrator…
-1
votes
1 answer

Network File Share access across multiple domains under the same forest

My knowledge of Active Directory and network setup is limited. In the environment of this example, there are multiple domains under one forest. It has come up that users of Domain A have access to network file shares on Domain B, Domain C, etc. What…
-1
votes
1 answer

Debian 9 give User permission for all folders

How can I give a user permissions for all folders? So /home, /var etc.
OfficialCRUGG
  • 55
  • 1
  • 4
-1
votes
1 answer

setting umask for a directory so that all directories, executable file(.sh , .cmd, .bat) are 750 and regular file 640

need to create and change existing file and directory such that all directories and executable files(*.sh, *.bat, *.cmd ..) are 750 and regular file are 640 . I need to this in shell and python both. I like to set umask to 027 while default is 022…
-1
votes
2 answers

Possible for domain policy to prevent local Administrator from modifying file permissions?

I have been handed a new Server 2012 that is a member of the company domain. I am in the local server Administrators group. I do not have a domain account. When I opened up the permissions properties of some files, the Add/Remove buttons are…
-1
votes
1 answer

Allow a second user to access a folder

Use case: I've got two users nginx and nodejs and I want to run a nginx server which serves static files, which have been created by the nodejs user (from git pull). The problem: I noticed that I would get permissions denied on open file in the…
kentor
  • 153
  • 1
  • 5
  • 10
-1
votes
1 answer

Best practices for user account audits in Linux machines

What is a good way to audit the user accounts on a Linux machine? I will like to have a list of users, the folders they can access and the process they are running, so I can pinpoint security risks, like a nodejs express server running as root, or…
DomingoSL
  • 365
  • 1
  • 4
  • 13
-1
votes
1 answer

visudo + read access to file from non root user

how to access file by visudo from non root user , or other option for example when we change user to hdfs and from user hdfs we want to print the file - file.cfg we get Permission denied how to configure the visudo in order to get read access from…
jango
  • 59
  • 2
  • 3
  • 12
-1
votes
1 answer

robocopy to new server and new domain

First question here so I thank you in advance for any input. Simple situation but a little different from the usual ones, so I want to confirm before proceeding. Small office with less than 10 users. Partnership ending but both are keeping the D…
-1
votes
1 answer

Properly Created Windows Share with Different Permissions

In my network, I have 3 workstations and 1 server. I want the user at each computer to be able to save their files to a share on the server. Each user should have their own directory. As the names of the users may change I have created user accounts…
-1
votes
1 answer

Why are newly-created files under /root not executable even though /root is and umask is 022? Is this the default on CentOS?

I am building a small set of utility bash functions and aliases that will live on a special /root partition. I've noticed that whenever I touch aFile or vim aFile, the result is aFile with the permissions -rw-r--r--. This is highly undesirable if…
tacos_tacos_tacos
  • 3,250
  • 18
  • 63
  • 100
-1
votes
2 answers

Windows Server 2012R2 access denied when changing files

I have been running Windows 2012r2 in testing for a while. One of the things keeping the OS from going into production is "Access Denied" message when changing config settings in either Program Files or Inetpub. I do have domain admin privileges on…
mikedopp
  • 229
  • 2
  • 7
  • 16
-1
votes
1 answer

Nginx Not Respecting File Permissions

I'm trying to apply permissions of 600 to certain files on my web server, but they are still accessible to the world (I can access them by navigating to direct link in browser e.g. domain.com/test.txt)! The owner of these files is www-data:www-data.…
Pamela
  • 187
  • 2
  • 13
-1
votes
1 answer

Changing file permissions and adding owner from CMD

I am unable to change permissions of certain files in a directory even though I have logged into a server using an Administrator account. Is there a way to force the permissions of these files via CMD recursively?
-1
votes
1 answer

Assigning correct permissions on a shared web server

I have created a centos instance on digital ocean hosting multiple websites by setting up virtual host, all is working fine, however assigning correct directory permission for each website is bugging me and i could not find any relevant answer by…