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

Dovecot missed permissions to access mail directory

I'm trying to install a new mail server and I think I've done something completly wrong. I don't know how to fix/continue my current situation. I've installed postfix on my Debian 11 system, working with virtual mailboxes. After that I installed…
lex
  • 1
0
votes
1 answer

SFTP only user can't see files in a directory when that directory has read access to public users

I have a user which I have called username in the below code, in the sshd config file there is this: Match user username ChrootDirectory /media/pi/128db83f-859d-48dc-a784-4337c53c736f/username Match group sftponly ChrootDirectory…
Paul
  • 113
  • 2
0
votes
2 answers

Special OS X like ACL Permission for Linux

I have a Unix File System in which I would like to emulate a OS X like Home folder where I have a 'Public' subfolder that is writeable for all but where no Files can be deleted. I installed ACL on the system and modified the /etc/fstab to mount it…
cb0
  • 222
  • 4
  • 11
0
votes
0 answers

Access to SMB folder from LocalService account

this is the situation: I have a Synology server with file folder normally accessible from the windows domain computers; I also have onto the primary domain server an application built onto Apache Tomcat 8.5 which runs with "local service"…
0
votes
0 answers

How to set file permissions if user logged on using Smart Card or Windows Hello for Business

I have a hybrid joined Windows domain and have set up log-on with Smart Cards and Windows Hello for business. I would like to be able to set file server permissions based on whether a user logged on with the smart card or not. Based on very limited…
0
votes
0 answers

File System Private download method not Writeable -Drupal

Giving File System error that it is not writeable or folder does not exist on Production Env Drupal version - 9.5.9 Server we are using Amazon Linux2 I have added line in setting.php $settings['file_private_path'] = $app_root . '/' . $site_path…
0
votes
0 answers

What are the proper permissions and ownership (including wp-config.php and .htaccess) for Wordpress installations on a LEMP server

I am running an Ubuntu based Linux/Nginx/MariaDB/PHP (LEMP), server with my Wordpress installation in the root account at /var/www/example.com/. My Wordpress is running as the www-data user, and Nginx is also running as the www-data:www-data…
DanRan
  • 73
  • 1
  • 3
  • 22
0
votes
1 answer

Unable to List Contents or Create Files in /var/tmp Folder from PHP Executed Bash Script

Objective: I want to trigger a webhook on a private linux-machine (its a local system not connected to internet), which can delete the spool data generated by CUPS server in /var/tmp folder. To achieve this Approach1 I 1st checked the default CUPS…
0
votes
1 answer

NT Security Descriptor

In active directory an object have several permissions on many objects. how to view permissions of particular object? i am asking like for eg user Kavin have read permissions on some folder, full control on some other folders and Kavin have edit…
0
votes
1 answer

How to take ownership of all contents in CSC folder?

I have files that was saved as offline files from a Synology server to the CSC folder on my computer that I would like to delete. I cannot delete the files unless I individually take ownership of every file and folder within the CSC folder. I have…
0
votes
1 answer

Move docker compose wordpress with local volume to new host with correct permission

I'm struggling to migrate / move my Docker Compoe project with Wordpress and Mysql to a new host. My docker-compoye.yaml is as follows: version: '3.1' services: wordpress: image: wordpress restart: always ports: - 8099:80 …
0
votes
0 answers

OSError: [Errno 30] Read-only file system:

(On Ubuntu 22.04 LTS) When trying to create or edit any file or directory on my hard drive I get a 'Read-only file system'-error (two days ago I could still do that): $ whoami mattia $ mkdir example mkdir: cannot create directory ‘example’:…
0
votes
0 answers

Error writing lock file: Permission denied

(On Ubuntu 22.04 LTS) After connecting my NAS drive with the mount command in the nashome directory, the following error occurs, when trying to edit or create any file in the mounted directory tree: [ Error writing lock file ./.index.html.swp:…
0
votes
1 answer

How to force custom permissions on files created by git checkout command?

I need files created by git checkout command to have custom permissions. Even with core.sharedrepository=0777 setting git creates working tree files with 0644 permissions. But I want it to be at least 0664 so someone from the group could write to…
0
votes
0 answers

Unable to Write, Permission denied

As an apache user, I was trying edit some files owned by a different user, lets call it docroot drwxrwxrwx 2 docroot docroot 327 Feb 15 20:34 . drwxr-xr-- 53 docroot docroot 8192 Jan 31 17:49 .. -rwxrwxrwx 1 docroot docroot …
asim
  • 101
  • 1