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
1
vote
0answers
16 views

Why am I unable to edit Hyper-V disks for running VMs when permissions are ok

We have a 4 node Hyper-V cluster running about 15 VMs. On none of them I have tested, can I inspect or edit VHDXs on running VMs. I get a permissions error of some kind when attempting to do so: ...
0
votes
0answers
10 views

tun0 interface (created by opevpn) only useable as root

If I do curl ipinfo.io --interface tun0, it will hang forever. but if I do sudo curl ipinfo.io --interface tun0, it will work as expected. How can i make tun0 useable by non root users? tun0 is ...
0
votes
1answer
25 views

Cannot access Samba shares despite ostensibly correct permissions

I've been trying to set up Samba shares for some directories on a NAS, and I can't seem to be able to get it to work. A minimalized version of my smb.conf boils down to [global] dns proxy = no create ...
0
votes
1answer
22 views

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 ...
0
votes
0answers
18 views

Permission denied after a git clone

I have another strange behaviour on my server, it is very similar to this one : Very strange AH00035 error Here is the context : I already have an intranet website which works fine. I want to use git ...
1
vote
0answers
34 views

Add NTFS Permission only to folders/files with inheritance disable

Our file servers have been around for years, and as such, the permissions have gotten a bit crazy. To start the clean-up effort, I would to make sure our "File Server Admins" group has Full ...
-1
votes
0answers
24 views

Debian 10 How to get the correct permissions on a mounted drive

I'm running a VPN Debian 10, ISPCONFIG with a mounted drive. For some reason I can't get read or write permissions working. This is the setup: #lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 ...
1
vote
0answers
17 views

problems with read/write in samba share between 2 computers

I'm making a samba conexion between 2 ubuntu 20.04 LTS computers. have the folder created and shared with SMB3 server,have specified write permissions and have mounted the folder in my linux samba ...
-1
votes
1answer
43 views

Give permissions of LDAP group files to specific user

Here is the situation: I want user usr to have the same permissions of a group grp, anywhere in the system. grp is not a local group, it comes from a LDAP server, of which I have no control over. I ...
0
votes
1answer
19 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
31 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
27 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
9 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
73 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
38 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
13 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 ...
0
votes
1answer
35 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
vote
1answer
15 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
42 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
47 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
27 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
23 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
48 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
48 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
21 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
24 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
27 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
67 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
21 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
40 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
22 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
63 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
21 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
78 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 ...

1
2 3 4 5
71