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
-1
votes
1 answer

Unable to run logstash config file (permission denied)

my config file is stored in /etc/logstash/ and I ran the command $ /etc/logstash -f /etc/logstash/logstash.conf as root. However, they told me that permission denied when I tried to do that. Is there any way to solve this?
-1
votes
1 answer

How to deny directory listing on C:\Windows?

I created a special user who should never be able to CD into several system directories like program files, Windows directory, etc. Whilte I can use icacls to setup the permissions on most of them, I cannot seem to do it on C:\Windows, because I get…
-1
votes
1 answer

How to create nested file and set owner for all parent paths?

I need to create the following file for www-data user like the following: sudo /var/www/.ssh/authorized_keys But non of www, .ssh directories and authorized_keys file does not exists. How could I create them all and set owner www-data for all of…
Erik
  • 203
  • 2
  • 5
  • 14
-1
votes
1 answer

Corrective action for file security after Windows server rename

I have renamed a Windows Server using the Control Panel feature. This worked fine at first. Today I noticed that I was unable to rename a certain file that I always was able to rename before. This file was a SQL Server database file. The SQL Server…
usr
  • 245
  • 3
  • 11
-1
votes
1 answer

Why clustered windows service doesn't authenticate to share with machine name when share is resident on same node of cluster

I have a windows 2012 failover cluster set up with multiple roles, one file share role, and another a generic role for hosting Generic windows services configured to logon as Network Service. The share has NTFS permissions defined for the two host…
-1
votes
1 answer

Why can't my apache open stream?

I'm trying to copy and unlink files on my apache server. I'm trying to doing this about 1 hour ago. I can't imagine what's the problem. This is my source: if (copy("users_ftp/".$user_ftp.'/'.$_REQUEST['name'],"uploaded/".$name_file)) { …
user1709024
  • 127
  • 10
-1
votes
2 answers

What is a good approach to install a webserver?

I wan't to install Lighttpd on my V-Server under Debian. I'm new to Linux and I wonder if I should install Lighttpd as root or as a new User to avoid security issues?
Lama
  • 243
  • 1
  • 3
  • 8
-1
votes
3 answers

Unable to edit the files on Windows Server 2008 which was downlaoded programatically

I have a scripts which download files from my file server and extract it on c:\home folder @ Windows Server R2. When I tried to edit and save the extracted files, it shows Access denied, I am able to create new files under it. I tried to edit the…
-1
votes
2 answers

How to get Windows Server 2008 R2 File and Directory Permissions

I have a setup similar to this: e:\personal\username1\scans e:\personal\username2\scans e:\personal\username3\scans e:\personal\username3\scans Permissions are not inherited on these directories. I have all permissions in place that I need, except…
Arrick
  • 1
-1
votes
1 answer

massemail with attachment - tmp folder

I have a small mailing php script and I would like to extend it with attachment function (we have a DB for our staff to get contact with them). As far as I understand I need a /tmp folder to be able to upload the attached file - but I need a write…
TryHarder
  • 249
  • 1
  • 2
  • 13
-1
votes
1 answer

Changing the permissions of a folder via the command line

I use FileZila, and must give 777 permissions to a folder on my site. This folder contains the database file. FileZila tried changing the folder permissions, the command is running smoothly but the permissions are not changed. How can I do this…
-1
votes
0 answers

Cannot block file deletion on OpenMediaVault6

I have installed OMV6 and read most of the docs, but I simply can't find a direct way to simply block deletion of files to any user. Yes, the users must create new folders and files and have access (R+W), but they can NOT delete files. It doesn't…
-1
votes
1 answer

Limit drag & drop mess

I have a Windows Server 2016 acting as a file server with thousands of files in a well-defined tree. Different people have different access to different parts of the tree. The problem is that some users, by mistake, sometimes do drag & drop, and a…
-2
votes
1 answer

Grep is not working without having read permissions

I am in a folder where I do not have read permission in contents. ls -l List all files sucessfully. I want to count files that have some attributes in their name with: ls -l | grep file????.tar.gz | wc -l The command above generates a lot of…
Mini Fridge
  • 149
  • 1
  • 5
-2
votes
1 answer

Windows Server delete files in folder but no permision to delete folder itself

We have a problem, with permissions on shared folder for out employees. We have folder lets say Main, with multiple projects (files and folder inside), constantly added and removed. The problem is that it happend that some employee deleted the…