Questions tagged [permissions]

In computing, permissions (often called "privileges," "access rights" or just "rights") are rules associated with objects on a computer or network. Permissions determine which objects can access which objects, and to what extent.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Permissions error in directories used by Docker and application I am developing

I have run a docker container mysql from my own application development on C#, and configured data persistence to this path: C:\ProgramData\Persistence\data\mysql When i start everything goes well ...
0 votes
2 answers
61 views

Group Policy not applied: access denied

I created a new AD security group, added all users i need. Within our GPO "FolderRedirection" in the security filter tab, I removed Authenticated Users and added the new AD security group ...
0 votes
1 answer
46 views

Dovecot error when trying to access mailbox

I can't get DoveCot functioning on one domain out of several domains and users. All others work perfectly. When trying to connect to this user's mailbox I get a server error "Internal error ...
1 vote
2 answers
5k views

Apply permission from OU level to all child objects in AD?

We have a Windows 2008R2 server which runs Active Directory on it, I have written a C# application that will allow the IT staff to add new users to AD from it. I have no problems creating or updating ...
0 votes
0 answers
17 views

Unable to change awx custom volumeMount permissions in k3s init container

I am currently trying to edit my AWX deployment on k3s. The goal is to add a PVC as a volume mount so that I have persistent storage to write files to from my Ansible tasks. The PVC mounts to the Task ...
0 votes
1 answer
100 views

SSH login fails with "Permission denied" error after upgrading Debian from Bullseye to Bookworm

I am unable to SSH into my Debian server after upgrading from Bullseye to Bookworm. I have tried various troubleshooting steps, but the issue persists. Error message: Last login: Wed Apr 10 13:42:16 ...
4 votes
1 answer
9k views

Windows server 2016 {Access Denied} A process has requested access to an object, but has not been granted those access rights

I'm running some selenium c# chrome driver test with the latest version of chrome driver and chrome. On my desktop Windows 10 PC it works fine, however, in production Windows server 2016 I'm getting ...
0 votes
0 answers
24 views

How to safely fix and migrate pip3 packages installed and run using sudo/root/local users to a safe pip3 virtual environment (venv)?

I am running an Ubuntu 22.04 Lemp Server, and I'm not sure I fully understand pip3 and how it works. When installing certain python3-pip packages, some of them required being installed and run as root ...
3 votes
3 answers
269 views

How can one copy an S3 bucket as faithfully as possible (e.g., copying all permission settings)?

I want to copy an S3 bucket as faithfully as possible (e.g., copying all permission settings). The standard: aws s3 sync s3://old-bucket s3://new-bucket --source-region us-west-1 --region us-west-2 ...
2 votes
1 answer
393 views

How to fix NetworkManager-dispatcher script permission denied error?

I've got a fully updated RockyLinux 9.2 server, where I have a couple of network services running via Systemd. Following the instructions such as from here and here, I created a shell script that's ...
166 votes
10 answers
440k views

GRANT SELECT to all tables in postgresql

Is there a one-liner that grants the SELECT permissions to a new user postgresql? Something that would implement the following pseudo-code: GRANT SELECT ON TABLE * TO my_new_user;
0 votes
0 answers
22 views

Is setting the ownership / permission for /etc/apache2 to have the group ownership `adm` and chmod g+w "safe"?

Good morning. I'm daring to ask my first ever qestion here. I'm annoyed having to use sudo all the time to modify the apache config files - mostly when I use the Remote SSH feature of my editor, then ...
64 votes
9 answers
245k views

How to change owner of mount point

We have moved mysql data directory to another disk, so now /var/lib/mysql is just a mount point to another partition. We set the owner of the /var/lib/mysql directory to mysql.mysql. But everytime we ...
0 votes
1 answer
6k views

User can access to only one directory with scp

I want to create a user for my Ubuntu server. I will use this user to copy some files from server to my local computer. So permissions should be really limited. This user can only reach to /some/path ...
0 votes
1 answer
4k views

How to get the permission of `/run/user/1000/gvfs` when system is newly installed?

System is newly installed debian 10. I cannot get the permission of /run/user/1000/gvfs properly,changed from d????????? ? ? ? ? ? to dr-x------ when cd /run/user/1000. me@pc:~$ ...
0 votes
0 answers
12 views

Can Google Cloud Platform administration be separated from Google Workspace?

Is it possible to separate GCP Administration from Google Workspace Administration? Or by being super admin of an Organization in Workspace you inherit super admin permissions in the organization for ...
0 votes
1 answer
5k views

Permissions prevent file upload in vsftpd

I want to setup vsftpd to allow a user (foouser) to upload and create directories to /var/www/ with the intention of allowing entire webstites to be uploaded. Current Permissions: Apache runs at www-...
1 vote
0 answers
111 views

'Permission denied' executing 'ls -l' against cifs share on Fedora 39

Setup: Windows Server 2016, workgroup mode, a shared folder 'SHARE' with username/password security, owned by BUILTIN\Everyone. Fedora 39, everything updated to the latest versions. etc/fstab: //...
0 votes
1 answer
57 views

Allow user to pull in `www-data` owned folder

I have a github workflow, that runs whenever a branch is merged to main: jobs: deploy: name: Deploy to Production runs-on: ubuntu-latest steps: - name: Checkout Code uses: ...
0 votes
0 answers
105 views

Got read permissions but not write permissions in aws SFTP in EC2

I'm a bit new to aws and especially SFTP but I'm trying to set up an EC2 instance with SFTP so I can access it with FileZilla and I've set it up and can copy files from it into my own directories but ...
0 votes
1 answer
66 views

.NET application cannot connect to ServiceController when executed through PsExec

I am trying to automate an installation of an application with Packer and Ansible. At some point the installer of the software, which we have automated using Selenium, checks whether certain Windows ...
2 votes
2 answers
4k views

NAS Device can't change permissions of folders/files

We have a Powerbay NAS device and there are 3 iMacs connected to it, when we initially created folders/files on the NAS device the iMacs had an incorrect Mask setting. So the folders and files were ...
12 votes
3 answers
47k views

How to copy user privileges with MySQL?

I have a MySQL installation with many databases and users that I need to migrate to a new MySQL installation. I can use phpMyAdmin to export then import the databases/tables, but I don't know of ...
0 votes
0 answers
115 views

Remove bash permissions for a user

I have to create a user that uses /bin/sh as initial shell. This is something I have already done but, I need that this user cannot access bash under any circumstance. After searching on the internet ...
0 votes
1 answer
291 views

Properly mounting a Samba share in Ubuntu/Linux

I am working in a company that uses a Windows AD. We have a TrueNAS setup with some SMB shares that work well under Windows, but I don't really understand how to properly set them up under Ubuntu. So ...
7 votes
2 answers
3k views

Win7-10, can you mount an NTFS hard drive and ignore permissions like Win XP?

I have several hard drives that I need to grab data from. All are formatted NTFS, a couple have Win 10 installed, a few have Win7 installed. Under Windows 2000 and XP, I could simply attach the drive ...
51 votes
5 answers
55k views

How to allow a user to use journalctl to see user-specific systemd service logs?

I am running user-level services in Ubuntu 16.04 LTS. For example, I have my test.service located at ~/.config/systemd/user/test.service. I was able to run the service by doing systemctl --user start ...
129 votes
18 answers
152k views

Why does sudo command take long to execute?

I've been picking up Linux (Fedora 10, then 11) over the past few months (and enjoying it immensely-- it's like discovering computers all over again, so many things to learn). I've added my user to ...
0 votes
1 answer
547 views

OSError: [Errno 30] Read-only file system: <relative_path_to_file>

(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 ...
0 votes
2 answers
7k views

User with grant permissions cannot grant permissions for new user with and new database

I am using: mysql 5.5.43-0 on ubuntu 14.04.1 I try to create a new admin-user (admin) who is allowed to do the following things: a creating new users (dbuser1) with password - (permission "create ...
6 votes
2 answers
2k views

Different ACLs on two OU's with same "protect object from deletion" setting

Background After I configured our Active Directory so that the ability to move computers was delegated to helpdesk staff, I started hearing reports that computers would get "stuck" in specific OU's. ...
0 votes
1 answer
42 views

Permission error when setting global-acls in dovecot

Dovecot's ACL plugin instructions indicate that for global acl's, we're supposed to create an acl file in /etc/dovecot/. and to include the access control list items in it. So I've created /etc/...
9 votes
3 answers
31k views

NGINX SSL: error:0200100D:system library:fopen:Permission denied

I have been stuck on this for ages and I'm hoping someone can offer some advice. Trying to install a new SSL certificate on a site. On running nginx -t i get the following error: nginx: [emerg] ...
0 votes
1 answer
180 views

Is it the OS or Samba that is restricting access to systemd on a shared folder?

I have two Rocky Linux 9 servers that we can call svr1 and svr2. svr1 has Samba service installed and share the folder /home/rocky/shared_folder with this configuration: [global] # workgroup = ...
65 votes
4 answers
353k views

How do I change the NGINX user?

I have a PHP script that creates a directory and outputs an image to the directory. This was working just fine under Apache but we recently decided to switch to NGINX to make more use of our limited ...
1 vote
2 answers
2k views

Active Directory Delegated Permissions grant multiple users access to edit a Global Security group with powershell

Hello Fellow IT Guru’s I am hoping to gain a little knowledge here regarding the ability to manage Active Directory Delegated permissions through powershell. I’ve recently ran into an issue where I ...
3 votes
4 answers
1k views

Openssh - Allow root to access both sftp and ssh

I want to configure sftp on my server to be accessed by root user. I changed my configuration of /etc/ssh/sshd_config to: PermitRootLogin yes AuthorizedKeysFile .ssh/authorized_keys ...
0 votes
1 answer
61 views

Windows filesystem access permissions: how to grant permission to AD users in local Windows groups

Need help granting permissions to a local Windows group for a folder on an NTFS drive on a Windows Server 2019 server joined to an AD domain. I have successfully configured that for a domain group, ...
2 votes
2 answers
735 views

Is there a way to check if a user has specific rights?

In my application I'm using ntrights.exe, that is part of Windows Resource Kit, to grant and revoke a specific user right. For example to grant a user "Log on as a server" right, I execute using ...
1 vote
1 answer
9k views

you must have read permissions to view the properties of this object, administrators group

I think I'm having some difficulty understanding NTFS permissions. My understanding is that when possible you want to avoid assigning a specific user account to NTFS and instead use a group. So I set ...
0 votes
1 answer
259 views

Why would IT lock down SeIncreaseWorkingSetPrivilege?

Question: Why would anyone lock down the SeIncreaseWorkingSetPrivilege == Increase a process working set == https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-...
2 votes
2 answers
10k views

Windows Server 2012 R2 Task Scheduler access denied (0x80070005), but command works manually in shell

I have the following problem. On our Windows Server 2012 R2 is a scheduled task which calls a batch file, which in return calls vb scripts. Those scripts just download 5 pictures and stores them ...
2 votes
2 answers
4k views

Debian - after update bind9 cannot create log in /var/log/bind

Just upgraded debian and named is not starting now. I have 2 log channels configured: channel "named_log" { file "/var/log/bind/named.log" versions 10 size 2m; severity dynamic; ...
4 votes
3 answers
4k views

Nginx master process running as root, but warnings state that it is not

I am running nginx 1.11.3, compiled from source with the addition of the ngx_cache_purge module, on Ubuntu 14.04.3 server. I'm seeing in the nginx error.log the following: 2016/08/03 14:30:00 [warn] ...
0 votes
1 answer
5k views

PHP script gives "failed to open stream: Permission denied" unless permissions allow public write

I have a php script in a directory called /manager. In it, I open and write to a file in the directory above /manager. However, if the permissions are set to allow owner write, I get "failed to open ...
5 votes
1 answer
5k views

Windows Server 2008 R2 hangs when Editing folder permissions

Background: The server in question is a member of a domain. This is a brand new server, freshly installed. I can log into this server using any domain user (which tells me that on some level it is ...
0 votes
1 answer
183 views

Need to allow only specific file extensions via Apache config

I'm struggling with allowing only specific file extensions via Apache (2.4.58). I'm doing this in httpd.conf. The problem is if I deny all files at first either like that: <Files *> Require ...
126 votes
3 answers
427k views

How can I show user's privileges in MySQL?

I know that I can set user's privileges in the following simple way: grant all on [database name].[table name] to [user name]@[host name]; But how can I see existing privileges? I need to see data ...
1 vote
2 answers
5k views

Why can't I cd to a root owned folder, as a member of the root group? [closed]

I verified I'm a member of root: user_me@host1:~$ sudo useradd -G root user_me useradd: user 'user_me' already exists However, I can't cd to /root/testing from my user: user_me@host1:~$ cd /root/...
0 votes
1 answer
293 views

OpenResty permission denied even though user has access when testing with sudo

I have a weird issue I can't seem to figure out. I am using OpenResty. The way it should work on that particular server is that the whole configuration and Lua scripts and everything comes from a Git ...

1
2 3 4 5
74