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

Files becoming owned by systemd-network:systemd-journal in WSL2 and Docker setup

So I'm running Ubuntu 20.04 under WSL2 with Docker. Occasionally the files mounted by Docker (could be other files as well) are getting their ownership changed from my user to systemd-network:systemd-journal (or in uid format 100:101). It's a…
Mattisdada
  • 57
  • 1
  • 2
  • 16
0
votes
0 answers

Write access to a subdirectory within a read-only directory

I have a home server for my website that is running on a mounted image. I mount the image as follows: sudo mount -o loop,offset=19489299 raspbian-stretch-lite.img I then mount my static website folder, www, inside the image as read only: sudo mount…
pairwiseseq
  • 173
  • 1
  • 1
  • 8
0
votes
2 answers

Does Windows Server 2019 behave different with NTFS then Server 2012R2?

Background info: The admin account of a key user needs unrestricted access to a folder on a server. -> he is working on the server per RDP or directly with the folder (shared) Said admin account is in a domain security group called xyz, I have added…
Kevin
  • 39
  • 8
0
votes
0 answers

Allow download of pdf files only in .htacces file

I am new to editing .htaccess file I have a .htaccess file that was created for me a while ago but now I have added a new feture to my site to allow people to download pdf files but it appears my .htaccess file is preventing the script from running…
0
votes
1 answer

How to deny git pull and cd into a folder/file in Windows?

So I find myself being forced to use a Windows machine just because thats what the financial institution feels is more secure for an outside contractor. I am using powershell and I just received some svg assets from their in-house designer which I…
Daniel
  • 219
  • 1
  • 4
  • 14
0
votes
1 answer

Powershell returns access denied on non-os files used by IIS site

I am connected as a local administrator using RDP to my WIN2K16 server, and manage it using gui and powershell. Overall I have full control over the machine, and never had permission errors using both methods. Yet, when running PS and CMD as an…
0
votes
1 answer

Different permissions for guest and non-guest users in Samba

I am configuring a samba server for file sharing. I was wondering if there is a configuration setting to map different file or directory masks to different users. I am attempting to allow admin users to have full access to a share while restricting…
0
votes
0 answers

Folder in Ubuntu Became a File and the other Show Question Mark in Owner/Group

I encountered a very weird issue, appreciate if someone could help. One of my folder stored in a LVM2 XFS filesystem (mdadm RAID6), silently became a file and a folder showing question mark on both owner and group. All the data on this filesystem…
teclinux
  • 39
  • 4
0
votes
1 answer

Best way to secure world-writable .shtml files written to by Perl?

The Perl script I have a Perl script running on an old Debian 6 server (until I move to a new server) that opens an editable pane in an .shtml file, accepts only Creole markup input from a single user, and writes to two user-editable .shtml files…
Dave Everitt
  • 201
  • 1
  • 4
  • 11
0
votes
1 answer

Server 2008 Filesharing: One login for multiple Users?

We are running a media server on Server 2008. I am trying to setup one of the shares to accessed through one username & password, for reasons specific to the environment--It cannot be anonymous, but also can't be authenticated through AD; hence,…
Josh Brower
  • 1,669
  • 3
  • 18
  • 29
0
votes
1 answer

Access Based Enumeration with Azure Files

Is it possible to enable Access Based Enumeration in Azure Files? We're using Azure Files with the AADDS integration enabled (per the setup discussed here - though with just the Azure Files; no local fileshares or file sync in play). We've…
JohnLBevan
  • 1,214
  • 7
  • 22
  • 46
0
votes
1 answer

OpenLiteSpeed file_put_contents Permission Denied Error

New to OpenLiteSpeed, I received a permission denied warning error when trying to write a file in the website subdirectory using file_put_contents() API from PHP. I thought perhaps I needed to adjust the open_basedir in…
ServerChecker
  • 1,518
  • 2
  • 14
  • 35
0
votes
0 answers

rsync postgres backup to another directory

I have CentOS 7 (3.10.0-1062.18.1.el7.x86_64) with SELinux enabled. PostgreSQL 12 installed (not sure if it is related). I try to backup database and move backup files to another disk. How I create backups files is unrelated, so I'll skip to the…
adontz
  • 337
  • 5
  • 12
0
votes
0 answers

Creating an NTFS folder with read/write, but not "edit", permissions

If you start with "read, execute, write" basic permissions and take away "create folders/append data" you get a "drop folder" with read and "write new files only", but applications "save as" functions are unable to save files here. I can presume…
EricC
  • 101
  • 1
  • 6
0
votes
1 answer

Cannot write to local shared directory

I wondered if anyone has experienced this issue... We noticed a permissions error on a server that uses a case management system. It works by writing to locally hosted shared folders. After a reboot, we get the error - "Destination folder access…
GSL2020
  • 1
  • 1