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.
3,660
questions
1
vote
2
answers
4k
views
SSH connection issue : How to change folder / file permissions in Windows similarly to Linux?
I have hard times connecting my local PC through SSH to another remote PC. I set the public key on both machines in the authorized_keys folder following this tutorial : https://help.ubuntu.com/...
0
votes
0
answers
22
views
Permissions for block devices in FreeBSD
If I look at the permissions of the block devices on a freeBSD box I see the following.
crw-r----- 1 root operator 0x9a Oct 29 17:39 ada0
crw-r----- 1 root operator 0x9c Oct 29 17:39 ...
4
votes
1
answer
153
views
IT department for hire/Managed IT services
My company has very small IT needs and wants to outsource most of our IT operations. We've moved some stuff to hosted services, but other things like network administration, setting up new employees' ...
-1
votes
1
answer
108
views
open() "/var/lib/nginx/cache/fastcgi/3/d0/bce7bdb8e2c388c7675c97c7324efd03" failed (13: Permission denied)
I am trying to add Caching for Proxy & FastCGI but once i try to view any page on the site it fails with 500 Internal Server Error and when i tried searching my logs for any errors i found that ...
1
vote
1
answer
7k
views
Permission denied for root to ESXi host
I have an ESXi host running a Windows 2008 R2 server VM with vCenter installed.
Upon joining the Host to vCenter, suddenly I could not log directly onto the host with the vSphere client using my ...
21
votes
2
answers
122k
views
Failed at step EXEC spawning... Permission denied
I have read alot about this but still not sure why this is not working. as far as I know all dirs have the right permission and even with everything being 777 I still get permission denied when trying ...
1
vote
0
answers
88
views
Debian NFS client-side permissions issue
I have the following environment:
host1:
Debian 12 with zfs 2.1.11 : open ldap server with default packages, nfs-utils 2.6
host2:
Debian 12: open ldap client with default packages, nfs-utils 2.6
On ...
0
votes
1
answer
141
views
New Added Local Administrator cannot access drive and not able to access drive
I've only been with this company for a month as system administrator, the servers was not install by me, a file server - member of a domain
I found some curious setting and errors need to help !!!
The ...
0
votes
0
answers
318
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 ...
-2
votes
1
answer
301
views
Unable to move uploaded files with php (Apache 2.4) - Permission denied
In my project I can't use move_uploaded_file PHP function because of:
Notice: PHP Request Startup: file created in the system's temporary directory in Unknown on line 0
Warning: move_uploaded_file(.....
1
vote
1
answer
81
views
Why does `getfacl` output for basic permissions differ from `ls -al`?
I have a directory that shows r-x group permissions in ls -al output:
mburr@burrvm-mint20:~$ ls -ald /media/mburr
drwxr-x---+ 2 root root 4.0K Oct 6 17:11 /media/mburr
The ls -al output also shows ...
1
vote
2
answers
1k
views
Confused about how to manipulate GCS bucket/object permissions
On my laptop I have a directory which contains a subdirectory, which in turn contains a bunch of HTML files. It looks like this:
% ls -lR 2000-09
2000-09:
total 12
drwxrwxr-x 2 skip skip 12288 Nov 18 ...
0
votes
1
answer
47
views
NetBSD 9.3 - NFS Permissions
I have installed NFS on a server in my lab, the server exports two disks, /disk1 and /disk2, i can successfully see the exported drives using:
showmount -e 192.168.1.245
I can also mount the drives:
...
10
votes
4
answers
4k
views
How do I prevent users from messing with their own .ssh folder?
I'm administrating a RedHat server where users log in through SSH with private/pub key based authentication.
I'd like to prevent them from accidentally changing / deleting /chmoding the content of ...
0
votes
0
answers
63
views
Access is denied, with Gstreamer audio capture on Windows Server 2022
Note: I'm posting to ServerFault with this as I believe there's some sort of permissions or isolation or perhaps missing system component needed specifically for Windows Server. This is not a general ...
0
votes
0
answers
152
views
Zabbix Permission denied for read log from item of teample
Error:
Value of type "string" is not suitable for value type "Numeric (float)". Value "tail: cannot open '/home/user/mc/plugins/Skript/logs/tps.log' for reading: Permission ...
0
votes
2
answers
336
views
Linux user can't access mergerfs directory that he already has permissions
I use proxmox on top of Debian 12 (bookworm).
As root user I set the owner for the directory '/data' to berdux:berdux and even set permissions to 777.
Then I mount 4 disks to this folder with mergerfs ...
2
votes
4
answers
5k
views
Using a non-root to deploy a git repo to the web root
What is the best way to set up users and permissions for a production web server that uses git to deploy to the server?
Background
Running Ubuntu 12.04, I have apache serving files under /var/www as ...
0
votes
2
answers
216
views
wordpress directory file ownership changes everytime after uploading files/plugins
on centos 7, i have created wordpress website with root directory ownership websitename:websitegroup and directory permissions 755, file permissions 644 set by default
when the developer, login to ...
0
votes
1
answer
101
views
Windows shared folder accessible only by Administrators
Windows Server 2012 R2.
A shared folder was created and the permissions set to full control.
The share is only accessible by Administrators.
Why?
0
votes
1
answer
4k
views
dovecot 2.1 new imap folder permissions
I am migrating an old
mail (postfix/dovecot) server to a new one. Everything works much as
expected. I have a small obstacle though.
I use mbox format and the setup is pretty much simple.
Suppose a ...
3
votes
4
answers
10k
views
Active Directory roaming profile permission issue on folder C:\Users\<user>\AppData\Roaming\Microsoft\Installer
I have a problem with one specific folder while user profiles are synced at logon. Let me explain the situation:
I have:
A user account (MYDOMAIN\accountname)
Security group 'Access to WADUP_RW'
A ...
39
votes
9
answers
174k
views
Which permissions/rights does a user need to have WMI access on remote machines?
I'm writing a monitoring service that uses WMI to get information from remote machines. Having local admin rights on all these machines is not possible for political reasons.
Is this possible? What ...
1
vote
1
answer
408
views
macOS: Open GUI application over SSH not possible
I'm working on automating the installation of a macOS application using Ansible. I am installing the application by copying its .app folder from a .dmg image to the /Applications/ directory.
After ...
0
votes
0
answers
285
views
"/etc/nginx/nginx.conf is meant to be read-only" when editing with nano after upgrading Ubuntu 20.04 to Ubuntu 22.04
I am recently upgraded Ubuntu Server 20.04 to Ubuntu Server 22.04. It is a LEMP server running the latest Mainline version of Nginx. After the upgrade, when I try modifying the /etc/nginx/nginx.conf ...
0
votes
0
answers
692
views
pg_ctl start on Windows gives error: could not open file "global/pg_control": Permission denied
On Windows Server 2022, I am logged in as Administrator and trying to do a pg_ctl start on a Postgresql database that was initially created by user SYSTEM, but get the following error in the cmd ...
0
votes
0
answers
357
views
Portainer can't access docker socket without chmod 666 workaround
Environment: Alpine Linux (3.18)
I've got a portainer docker container that can't access the docker socket. I've added my user to the docker group. I make the container with the following command:
...
1
vote
0
answers
17
views
permissions and rights on a shared drive
I don't understand exactly how things work and how to solve the following correctly.
I have a mounted HD to my server, to this I upload and download photos from domain X. This works perfectly. Domain ...
0
votes
0
answers
38
views
Deny deletion of file but then programs cant save new files. (With a twist)
This has been covered a million times, but after trying every suggestion on here, I am still stuck.
I have a Windows 10 system. We need to lock down a folder to allow files to be created (both ...
1
vote
1
answer
2k
views
Windows - Set permission on folder only without recursing subobjects (slow for large directory trees)
There are many times when I wish to set a permission on a folder only, but all the programs i've tried will recurse through all sub files and folders during the process. As this is slow, is there any ...
0
votes
0
answers
43
views
Why am I not able to revoke GraphAPI Permissions in Graph Explorer Sandbox?
When I go to https://developer.microsoft.com/en-us/graph/graph-explorer and log in with my Azure account, I cannot revoke access to mail.send:
And am presented with this message:
"You require ...
9
votes
5
answers
174k
views
FTP 550: Permission Denied
I suddenly get the error 550: Permission Denied in Filezilla when I try to create a new directory.
A few days ago I changed some settings on the server regarding ssl and imap settings, but I don't ...
0
votes
1
answer
6k
views
Permission Denied in Squid Proxy Server
I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z:
...
0
votes
2
answers
3k
views
Why is Docker volume world-writable if set to /tmp?
For the context :
docker --version
Docker version 20.10.7, build 20.10.7-0ubuntu5~20.04.2
test 1 : volume is /myvolume
Here's my Dockerfile
FROM alpine:latest
USER 1000:1000
VOLUME /myvolume
and ...
0
votes
2
answers
419
views
Incorrect Permissions and Ownership in /etc/nginx/sites-available Folder for Containers
I seem to have encountered an issue with the default permissions and ownership of the containers within my /etc/nginx/sites-available directory. The current permissions and ownership structure appears ...
24
votes
4
answers
72k
views
fstab and cifs mounting, possible to store authentication information outside of fstab?
I am currently using cifs to mount some network shares (that require authentication) in /etc/fstab. It works excellently, but I would like to move the authentication details (username/pass) outside ...
0
votes
1
answer
464
views
Wordpress permissions issue - How to set ownership and permissions for WordPress files properly and securely?
I am facing some problems with setting up WordPress on my local server. After a successful connection to the local database, Wordpress dropped me Unable to write to the wp-config.php file.. I created ...
6
votes
6
answers
18k
views
Nginx permission denied upstream error, even after 777
I have been getting this error
2013/03/13 13:25:07 [crit] 49299#0: *38 rename()
"/var/tmp/nginx/fastcgi_temp/6/00/0000000006" to
"/var/cache/nginx/microcache/8/fd/...
0
votes
0
answers
560
views
How can I get all folders associated with an Active Directory group using powershell or something similar?
At my job we have hundreds of AD groups that we add users to to give them access to folders. For each folder/group of folders we give access to there is supposed to be a read, write, and modify group. ...
5
votes
3
answers
7k
views
Permission denied when using scp, but able to ssh
I'm trying to copy a file from my local desktop to a remote server.
Yes - the remote directory I want to copy to is set to chmod 777
Yes - the server is password protected, and I am sure I have the ...
0
votes
0
answers
37
views
Azure AKS Persistent Volume and Storage class permissions
I am looking for specific permissions that will allow read access to view the storage configurations and set up in Azure AKS.
There just doesn't seem to be anyway to provide limited read access to ...
0
votes
0
answers
104
views
No read/write access to files owned by root, when using sshfs as root
I am using sshfs. I log in as root: sshfs [email protected]:/ /mnt/remotes/domain.pl-root (using keys). The login process is successful. When I create any file anywhere in /mnt/remotes/domain-root/, its ...
0
votes
1
answer
4k
views
Samba User permissions
I m trying to setup custom User permissions for a certain user on my samba server. What i try to achieve is to login with mentioned user, lets say its name is user1, and only access two folders ...
5
votes
7
answers
35k
views
How can I remove local administrator permissions?
I want to disable the permissions of local administrators in the machines of my domain, is this possible?, and only put administration rights to the Domain Administrators. And I want to do it with ...
51
votes
2
answers
20k
views
Prevent the possiblity of writing data to an unmounted mount point directory [duplicate]
I have an Ubuntu server where I'm automounting an external hard drive each boot.
To do this, I've created an empty folder on the root partition, and the drive gets mounted "inside" this folder.
...
0
votes
1
answer
32
views
Protecting the service of a specific application
We have a business requirement where we don't want even Admins to be able to stop a service of a specific application running on windows machines. Reason being the application plays an important role ...
0
votes
0
answers
132
views
Apache 2.4 ProxyPass to url results in errors 403 and 502 for Diaspora and Mastodon
I'm trying to run Diaspora and Mastodon on my server (crazy idea, right?) and Apache's ProxyPass won't work to localhost ports 3000 (Diaspora) and 4000 (Mastodon). I get a 403 for both https://...
0
votes
0
answers
530
views
SonarQube Installation Issue - “Fail to unzip plugin [python]”…”Operation not permitted”
I'm having an issue where SonarQube 10.1.0 Community seems to be having a difficult starting for the first time.
I've set it up using Kubernetes (K3s v1.27.1) and adapted the official SonarQube Helm ...
1
vote
2
answers
1k
views
Force all files & subdirs that BY ANY MEANS come to be in/under a directory to inherit all permissions and group
I know this question may appear to be a duplicate, because many people have asked related questions about permission inheritance. However, none of the answers I've found address the full scope of what ...
13
votes
3
answers
46k
views
Cron: Permission denied on everything
As a regular user I can't edit my cron settings.
I get a "permission denied" for everything: listing the cron commands or editing them.
Example:
cron -l
cron: can't open or create /var/run/crond.pid:...