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

Rsync copies all files with executable permission

I ran the following command to back up my home-directory: $ rsync -ahv \ --info=progress2 \ --partial \ --exclude=.cache/ \ --exclude=.miniconda3/ \ --exclude=....
-1
votes
0answers
24 views

How can I set a valid permission to run ansible inside docker on a server?

On localhost, start a docker to run ansible. ansible@ansible:/ansible$ ansible-vault view group_vars/vault It can see the file content. ansible@ansible:/ansible$ ls -la group_vars/vault -rw------- 1 ...
1
vote
1answer
25 views

Adding domain user to local group when access to active directory no longer exists

We used to have a domain (foo) but the domain controller machine has been dead for a long time. I am logged into my Windows 10 workstation as foo\mike and would like to add foo\mike to a local group ...
0
votes
1answer
23 views

Nginx proxy_store can't write on a user directory tree

CentOS 7 server used for shared hosting. No chroot. 99% WordPress installs. Every user gets a /home/someuser skeleton including ~/web where all web-accessible files reside. All dirs below and ...
0
votes
0answers
8 views

Runuser Not Return Expected Results

There are two accounts in my linux computer, appuser and root. For testing purpose I wroto below code into /home/appuser/.profile export key=value then as root I execute below commands separately: 1....
0
votes
1answer
35 views

Correct permissions for WordPress directories and files on Ubuntu 20.04 with Apache

My client's website is hosted at Digital Ocean and is running Ubuntu 20.04 with Apache. I have WordPress installed and running with some issues. The ability to upload or update plugins and themes is ...
1
vote
1answer
31 views

Linux “ls -Z” shows question mark for security context

I've got some files that aren't being served on a site, and assuming it was a permissions issue I ran ls -Z but keep seeing ? in place of the security context: -rw-rw-r-- pete pete ? ...
0
votes
0answers
12 views

Why can't a user write to dir using git post receive hook on ubuntu?

I am trying to push code to a remote server via git post receive hooks. There is a remote origin on the remote server that has a post receive hook with this command: cat /home/git/grafana.git/hooks/...
0
votes
1answer
9 views

Group of new file created by the webserver is always set to sudo

I am running a magento 2 project on Apache 2 Webserver. There is a logfile folder at var/log I have set the permission, user and group of the folder to drwsrwxr-x 2 company www-data by using chmod ...
-1
votes
0answers
10 views

Mapping Windows AD Group & NFS Share With Linux Groups

The setup is as follows: We have a Windows 2016 Datacentre server that hosts an NFS share. We manage all user access via Windows AD groups. We also have an Ubuntu 16.04 server that hosts a custom ...
0
votes
1answer
31 views

Add users, permissions of folders, etc on ZFS pool

First of all, I'm still learning Unix basics :) so sorry in advance. I had created on my home server ZFS pool by Proxmox as "root". After that I created Linux Mint virtual machine ( with &...
-1
votes
0answers
44 views

ClamAV not creating sock file

Problem: ClamAV not creating sock file grep -i socket /var/log/clamav/clamd.log Sat Apr 3 20:00:47 2021 -> ERROR: LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: Permission ...
1
vote
1answer
14 views

How set up user that can use SFTP whilst retaining other user ownership

I have a user ‘canread’ which has read only rights and is owner of files and subdirectories in the directory /www/thedir/ ‘Canread’ should never have write rights, not even for a millisecond (for ...
0
votes
1answer
24 views

How to restrict access between folders on the same virtual host

We plan to host WordPress Blog and an Ecommerce store on the same domain, so the URL's will look like this: example.com <--- Magento Store example.com/blog/ <--- WordPress Blog Our main concern ...
0
votes
2answers
19 views

Running newusers util in cron to batch create users does not run [duplicate]

I'm attempting to batch create some users from a file using the newusers util on ubuntu 18. When running in cron as the root user, nothing happens. When I run the command manually, it works as ...
0
votes
1answer
38 views

Virtualbox Shared Folder: specify which uid/gid to use on the host, for files created on the guest

I don't have any issues mounting a shared folder with VirtualBox (Ubuntu server as host; Ubuntu desktop on guest; guest additions and etc. are all working ok). On the guest I can assign any uid/gid to ...
0
votes
0answers
38 views

Php send mail from Cron (postfix + sendmail)

I have a PHP script that I run from cron. I never get emails. maillog: postfix/sendmail[2223187]: fatal: execv /usr/libexec/postfix/smtpd: Permission denied Command-line: * * * * * root /usr/bin/php /...
1
vote
2answers
39 views

Permissions for choosing tags in Cloudwatch

When trying to create a Cloudwatch dashboard I get "You don't have permission to access tags and properties. Retry". What permissions does my IAM account have to have in order to be able to ...
0
votes
0answers
26 views

Write access for samba share with multiple group rights for subfolders

Why do user2 and user3 have no write access to test.docx when they try to open the file in windows? There is no problem with read access. The only solution I have found is to create a separate share ...
0
votes
0answers
22 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 ...
0
votes
0answers
46 views

Access permissions in Active Directory not working

I've a server running Active Directory, and two servers for storage in my domain. Currently all the folders are open, but I wanna set up access authorizations with Active Directory groups, so only the ...
1
vote
1answer
55 views

Same rights for owner and group owner, but different result

I have the user with the name sftpuser in the group sftpuser. cat /etc/group | grep sftpuser gives: sftpuser:x:1001:sftpuser I have the directory html, ls -l on the parent folder gives for the folder ...
0
votes
2answers
32 views

Personal user folders in a Share

I had to do a restore of a fileserver and the permissions got lost for our personal folders. Structure is like this. \fileserver\share\usernames. I need to set permissions so that each user has access ...
0
votes
0answers
14 views

Can't access wwwroot with a member of local administrator group, UAC is off

I have a domain account (not a member of domain admins) which I have added to the local Administrators account on a new server I am setting up. I am unable to create new files in the wwwroot folder. ...
0
votes
1answer
45 views

/var/www/html/login" failed (13: Permission denied)

I do not have the /html/login file at all. Does anyone have one so can I fix this error error.log: 18:52:25 [crit] 521#521: *3980 stat() "/var/www/html/login" failed (13: Permission denied), ...
0
votes
0answers
17 views

Samba folder not inheriting permissions

I am running a samba server on a file system that support extended attributes (ZFS). I've enabled 'vfs objects = acl_xattr' in the [global] section of the config file. I've received some reports of ...
1
vote
1answer
20 views

How can I grant rights to update ServicePrincipalName when I can't see that option in the list?

I'll happily close this if its a dumb question. I am trying to grant rights to SELF on an AD service (user) account for a MSSQL Server instance account. Problem is I cannot see the check box for Read ...
0
votes
0answers
30 views

Authorizing a webhook service for git pull

I have a Webhook (https://github.com/adnanh/webhook) configured as a service. When triggered it runs a bash script with does a few commands including a Git Pull. I have configured my Ubuntu 20.04 ...
0
votes
1answer
30 views

User-Permission on Folder without affecting owner:group

How can I allow a specific user on my Ubuntu desktop to view/open all folders and files in a specific location without affecting or changing the owner:group of that location? Until now I need to ...
0
votes
2answers
53 views

RSYNC - owner/group local PC don't get set correctly

When I run the following command owner:group are taken over correctly: rsync -chavzP --delete SOURCE-SERVER DESTINATION-SAME-SERVER However, when I run the same command to sync from the server to my ...
0
votes
0answers
22 views

Git post receive hook gets permission denied without any reason

I am having trouble with some user rights on ubuntu 16.04 while pushing code via git to the server and deploying via post-receive hooks. Somehow there is a permission problem: Tying to push to server: ...
1
vote
1answer
55 views

Server 2016 - Folder access still allowed despite Deny Rule

I have a problem with a Win 2016 Server. There is a folder which all Users of an AD-Group can access. Inside there is a folder which not all users are supposed to get access to. I have the following ...
0
votes
0answers
54 views

Tag-based AWS IAM Policy for power user without explicitly listing all actions

I'm trying to create an IAM Managed Policy on AWS for power users to allow almost all actions if the value of their Role's tags (client, project, environment-type) match the respected ResourceTag and ...
0
votes
1answer
29 views

Security implications of having less permission restrictions on a group than owner in Unix?

I have an Ubuntu server that's currently hosting a WordPress site using an Apache web server, MySQL and PHP etc. Additionally I have configured VSFTPD and SSH to handle FTPS (implicit FTPS) and SFTP ...
1
vote
0answers
29 views

Cannot perform command as a different User - even from root user

I have pm2 node modules installed in a user called otheruser. I need to run the program from root user. If I normally logged to otheruser and perform any action its working fine. otheruser@bubble-...
0
votes
0answers
20 views

icacls… make a folder structure read only but keep groups

in w2008, is posible to make a folder structure read-only? (the read only attrb en general dont work) the problem is that the structure has different groups with different permissions on different ...
1
vote
0answers
39 views

Why does Nginx's new files' permissions supersede my default ACL

I have issues setting up proper permission on cache directory on a site that run on Debian 10 with Nginx and php-fpm. I have an user 'myuser' which home is /var/www/mydomain.tld The strucure of the ...
0
votes
1answer
21 views

Permissions for file and folders created or uploaded from ftp user

When I create a folder or upload a file with ftp client and ftp user to my Ubuntu server 20.04 the folders created get permissions 0700 and the files uploaded 0600. How can I make the folders to get ...
1
vote
0answers
14 views

AWS organization: What is possible as an admin?

I have a question regarding the possibilities as admin of an organization. The plan is to link an external AWS account of a freelancer to our organization. After some research it turns out that the ...
0
votes
1answer
62 views

su -u www-data cat … not working as expected

For a project I'm working on, I need the www-data user to be able to read /etc/openvpn/easy-rsa/pki/index.txt The permissions see fine for this: -rw-r-----+ 1 root www-data 1050 Dec 7 20:43 index.txt ...
0
votes
0answers
20 views

Create a server role with some (not all) sysadmin permissions

Microsoft SQL Server Enterprise: Core-based Licensing (64-bit), Version: 13.0.5850.14 OS: Microsoft Windows NT 6.3 (14393), Platform: NT x64 We need to give another IT group limited sysadmin ...
0
votes
0answers
76 views

-bash: /usr/local/bin/php: operation not permitted

Why I am unable to execute any command that requires php. For instance [root@server ~]# composer -V "/usr/bin/env: php: Operation not permitted" Here is the permission on where composer is ...
1
vote
1answer
25 views

Account permissions needed to change file ownership

I have an application that needs to be able to change the owner of certain files. The application runs under a domain service account (with local admin rights to the application server, but not the ...
0
votes
1answer
326 views

chmod/chown/mkdir: Operation not permitted as root

I get Operation not permitted for root user on one server but not on the other "identical" server. Running on Amazon Linux 1. Server 1: [root@preprod-1 ]# chown root:root /s3mnt/outliers/ ...
1
vote
0answers
201 views

vsftpd won't allow user to follow symlinks and to write in the destination folder

Related to the questions : How to allow a vsftpd to write to a folder other than default /files? (The answers are not what I need) and Allow local users to access /var/www folder in vsftpd (I don't ...
1
vote
1answer
59 views

Move permissions for home folders to new Active Directory

I need to move the home folders for 100+ users from one AD to another. The samAccountName for each user is the same in both AD’s but the ObjectGUID differs as the users were exported and imported with ...
0
votes
1answer
3k views

open() “/run/nginx.pid” failed (13: Permission denied)

Currently, I've set up a nextcloud server with nginx and I enabled it with sudo systemctl enable nginx.service. When I'm rebooting, than I'm getting an error message which complains about a proxy ...
0
votes
1answer
36 views

python script ran from cron Permission issues with creating and writing files

I've got a cronjob that triggers a python script. The python script creates files a new log file each time it runs and writes what its doing into these files. It also dumps data in .json format in a ...
0
votes
0answers
31 views

How to view services and registry keys permissions using cmd

Using CMD how to view the permissions of services sc query and registry keys reg query
1
vote
2answers
928 views

HOW To set htaccess to enable embed in iframe from another website [closed]

I have these 2 servers, one with virtual tour folder in it eg: 1st server: somevirtualserver.com/vr/propertygood then other server: virtualviewer.com/virtualpage/index.html and I want to embed it in ...

1
2 3 4 5
70