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
0 answers

Why is my Samba share only writable by root?

I have set up a Samba share, and it is only writable by root. For example, I can only create a folder on that share with sudo: ~$ mkdir /mnt/SHARE/somedir mkdir: cannot create directory /mnt/SHARE/somedir: permission denied ~$ sudo mkdir…
TheEagle
  • 101
  • 3
0
votes
1 answer

PHP can't write to /tmp folder anymore after Apache update

Linux dist: Ubuntu 18.04.5 LTS Server version: Apache/2.4.29 PHP Version: 7.4.20 with PHP-FPM Recently this server did an automatic upgrade of Apache and ever since PHP can't write to /tmp breaking many sites. PHP functions like tmpfile() and…
PHP Guru
  • 101
  • 1
  • 4
0
votes
1 answer

Why can I delete the file of another user given 640 permission and sticky bit?

I want to have a shared folder /data where multiple users can put their datasets to be used by others. I've followed the instructions in this answer, so now I have: ciprian@server /data $ ll .. | grep data drwxrwsr-t 3 ciprian datasets 4096 Apr…
0
votes
1 answer

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ cd /DriveXT/MML/LP2010/ bash: cd:…
Dan
  • 155
  • 1
  • 5
0
votes
1 answer

NTFS permissions with multiple user groups

I do not know how to search for this, so I am sorry if this has already been asked. Also, I am new to Windows administration so if I say something wrong do not hesitate to correct me! I have a folder structure that looks like this: shared\ +-…
0
votes
1 answer

SMB share, from windows, creates files are owned by administrator and permissions and for Everyone. How to force this to be user who created file?

So I have a smb share setup using unisphere. I can login to my windows machine on the domain and my ad account. I can access the share but when creating a file on the share it shows under security that Everyone has full permissions. Nothing about my…
0
votes
1 answer

Libvirt raises permission denied when QEMU is accessing the VM on an external hard drive

I wanted to use an external hard drive as a libvirt storage pool for my VMs. I defined a new pool in /media/wenzel/OSWatcher/vms, and imported my vm win10-ts1-1507.qcow2 there. However, when starting the VM with virsh, I have a permission…
Wenzel
  • 1
  • 2
0
votes
1 answer

You require permission from Domain\xyzuser to make changes to this file

I've seen other questions similar but not quite the same. Have a client that is seeing a message when trying to access files in a folder on a Windows server 2012 R2. This behavior is consistent for a specific folder. No other complaints for other…
Dacid Salin
  • 204
  • 4
  • 12
0
votes
2 answers

Samba clients able to delete each others files. How to block

I have applied sticky bit on Samba share directory. Now client is not able to remove files and directories created by root of Samba server, The issue is many clients access the same directory share by Samba server and they are able to delete each…
0
votes
1 answer

Very strange AH00035 error

I am here because I have a very strange behaviour on my server and I ever investigate for hours on the AH00035 error. On my server, if I create a simple php file index.php I can reach it. When I use the exact same file…
Snite
  • 3
  • 3
0
votes
1 answer

In mac, not able to view or open a file which displayed while by `locate` command

OS: MacOS When I try locate acronym a folder named acronym and all the contents in the folder are getting displayed, but I am not able to view or open any of those files. I was able to view and access these a couple of seconds ago. I did not change…
Surya
  • 253
  • 1
  • 2
  • 8
0
votes
1 answer

How to give permissions to local computers using computers' MAC addresses in Windows Server 2016 for file sharing

I have the following issue: I have a server with Windows Server 2016, and I need to use it only for saving, reading, and modifying files with file sharing. The way I have the restrictions is with logging in from client computers and logging with the…
0
votes
1 answer

Prevent deletion of other's files on a shared folder

We have a shared folder so all employees can upload and save file or create folders to it. But we want to prevent workers to delete other's files and folders. I assigned all permissions except "Delete" and "Delete subfolders and files" to "The…
0
votes
1 answer

Special permissions in Windows 2012R2

I have a main folder named "2020". I have a script that creates a subfolder with a file number and an address, and 5 sub-sub folders, like in the following example: I would like: to give read only and traverse folder for folder 2020 to give the…
Alain
  • 43
  • 6
0
votes
1 answer

Security-wise file ownership & permission setup for LEMP server to be managed via wp-cli and wordpress dashboard?

I'm on a LEMP VPS with the following setup; cd /home/$USER/public/myDomain.com # change directory to myDomain.com chown -R nginx:nginx . # change file ownership find . -type d -exec chmod 750 {} \; # change permissions…
Nick
  • 1
  • 2