Questions tagged [permissions]

Short for "file system permissions" - access control based on user, group, or global access.

Filter by
Sorted by
Tagged with
0
votes
2answers
19 views

User B in User A's group, cant traverse dir that belongs to group A

Say I have 2 users: user_a, user_b, with home dirs: user_a : /home/user_a/ user_b : /home/user_b/ user_b is in the group user_a as user_a: ls -ld /home/user_a/ drwxr-xr-x 10 user_a user_b 4096 Feb ...
0
votes
0answers
23 views

Confused by Apache permissions [duplicate]

I know there's a wealth of Apache documentation, but I can't seem to find the answer. With the default documentroot - /var/www/html - all is fine. Permissions are - drwxr-xr-x 2 root root 4096 Feb ...
0
votes
0answers
19 views

Samba share creating and accessing users

I have created 6 folders Research Finance Manufacturing Marketing Production All users I have created 14 users lets say from A to N. Now I have added users in each folder as per the picture below. ...
1
vote
2answers
53 views

How to connect Ansible to AWS-EC2 via ssh

I want to connect ansible to EC2 via ssh. I created a key pair on my local machine(ubuntu) and copied it to my EC2 instances using ssh-copy-id. The copy was successful, but I get the error below when ...
0
votes
0answers
55 views

In file permissions, does the 'others' section not include owner and group owner?

I created a file called test and gave it the permissions ----rwxrwx or 077. The owner of test is a user called user and the group owner is root. user is not in the group root. The 7 in 077 means that ...
0
votes
0answers
15 views

HP printer only prints test page

I tried the commands suggested for the person with the Brother computer who has the same problem and I got an error message: $ apt-get purge cups E: Could not open lock file /var/lib/dpkg/lock-...
0
votes
0answers
24 views

Give access to a specific group and all the user who belong to this group and root? [Terminal] [duplicate]

I wanted to give permission to sample.txt such as it can only be written by root and executable by the group created by me ( samplegroup) . If any user is added into this group will be allow to ...
0
votes
1answer
23 views

How to create user with some permissions

When I add user user1 and try to run command ip route add, an error appeared: RTNETLINK answers: Operation not permitted
0
votes
1answer
27 views

transmission watch directory permission

Here is my ls -al /NAS/ efirlus@Efirlus-NAS:~$ sudo ls -al /NAS/ drwxrwxr--+ 10 root root 4096 Feb 25 18:28 . drwxr-xr-x 4 root root ...
0
votes
0answers
22 views

How to change the user that starts a process in boot?

I've just installed svxlink in ubuntu 18.04 LTS. Everything works well, but after a reboot (or start up) the program is started under the user svxlink and not root. Root would be necessary, so outside ...
-1
votes
1answer
47 views

Change account type from terminal in ubuntu 18.04 [duplicate]

How can I do by command line in terminal that an administrator should become standard (normal)?
0
votes
0answers
55 views

how to automatically give permission to new folder for my nas

Firstly, I'll show you here my drive status, because I don't want to take just "don't use 777" answer. Filesystem 1K-blocks Used Available Use% Mounted on udev 3961312 0 ...
0
votes
0answers
12 views

Install filmic Color Mangement when installed with snap

I was trying to get the filmic colour management tool for blender however I installed blender with snap so that I could get 2.8 But now I can't change the folders and add the new folder within the ...
0
votes
0answers
28 views

How to loop through two separate files with one for loop and two variables in bash?

for e in $(find . -type f -name "*.sh") do done cat code.log | while read k do chmod $k $e done how do I combine the two loops one loop is ...
0
votes
0answers
26 views

“Unable to open config port” with correct permissions

I'm trying to use RF-TrulyMagical, basically a controller for the APC220 module, but it says ERROR: Unable to open config port: ttyUSB0 which is the port where the APC220 is connected. As far as I ...
0
votes
0answers
18 views

CP2K executable will not execute in its directory, why and what is the solution?

I have an executable called cp2k.sopt located in ~/cp2k/exe/local. When I change to this directory and type cp2k.sopt --version, I get the message shown in the attached image, which also shows that ...
1
vote
0answers
59 views

Permission denied even though I am the admin?

I have searched and searched and cannot seem to find this so I apologize if it ends up being a duplicate. I am running Ubuntu 18.04 and I keep running into an issue in my files where I do not have ...
-2
votes
0answers
24 views

Permision denied when installing OpenStack using DevStack on Ubuntu 18.04 desktop [duplicate]

After I run ./stack.sh command, I get following error: env: ‘/opt/stack/requirements/.venv/bin/pip’: Permission denied +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:536 ...
0
votes
0answers
21 views

changing ownership of '/opt/stack/requirements/.venv/bin/pip': Operation not permitted

I was trying to change the ownership as a root on ubuntu 18.04 as below: chown root /opt/stack/requirements/.venv/bin/pip It gave me the error as below: changing ownership of '/opt/stack/...
0
votes
3answers
74 views

How can I delete a file with permission 444?

My server is running Ubuntu 18.04. I have a file in vestacp that I cannot delete. This file contains malware and has permission 444 and when I try to delete it using sudo rm -rf file or even change ...
0
votes
0answers
24 views

Script that e-mails predifined message to multiple users

I am new to unix coding so i need your help! I want to create a script that asks the user for his username and check if its valid by verifying the user home directory exists. If the username exists it ...
0
votes
0answers
22 views

mkdir with php in ubuntu server

I have a laravel application in ubuntu19.10 server and configured lemp stack on the server. I am having issue with mkdir() command. The upload_image() function creates some sub folder in public/...
0
votes
0answers
40 views

How do i give an external hard drive execute permissions [closed]

When I try to download a game on my 250 GB external hard drive, steam says it needs a drive with "Execute Permissions". I'm running steam on a chromebook and don't know how to access the Linux or ...
0
votes
0answers
13 views

Making (server) directory public (http download)

tl;dr - How do I make a folder and its contents publicly readable? I've installed and set up vsftpd on my Ubuntu VPS. Didn't realise the original intent of FTP was that only other logged in users can ...
0
votes
0answers
23 views

Question about cronjobs/bash scripts which are not executed

I have two scripts which are called via crontab. The first script backs up my database and sends it over to S3. This works seamlessly. I have a second script which cleans up old backups. The issue is,...
0
votes
0answers
24 views

can not change the USB flash access permisions

i need to change the USB flash permission because i can not make new folder on it , also don't want to format it, so i have tried to use this post instruction like this: It is not necessary to ...
0
votes
0answers
309 views

Syncing folders shared by others in Onedrive Business

I've tried to sync a folder shared with me for a while and using different software, but it is just not working. Onedrived I don't have the output anymore, but it gave me segmentation faults when ...
0
votes
0answers
38 views

Multiple things from Ask Ubuntu tried - Error opening directory '/media': Permission denied

I want to open files from /media or /mnt in programs like Chromium or Inkspace. I get this error: Error opening directory '/media': Permission denied I have tried: gksudo nautilus (Terminal sat ...
0
votes
0answers
73 views

How to disable sudo privileges to a user in Linux Ubuntu?

I have created an ssh key-based user in my server. I want to disable all sudo privileges to that particular user. I have done the following; sudo deluser user sudo /usr/sbin/deluser: The user is ...
0
votes
1answer
49 views

My root directory (/) is owned by my user. Shouldn't it be owned by root?

When I run ls -la /, it shows that . and .. are owned by my user, and are my user group. I am almost positive that / should be owned by root and that I must have accidentally chowned / but it's been ...
0
votes
1answer
61 views

Windows rights for write access

I have an infuriating problem with directories in a partition that I use to share documents between Linux and Windows. This partition has several directories (all the usual top level user directories: ...
1
vote
0answers
17 views

How to force CAJA browser to respect umask setting when creating a new folder/file with right click?

In the latest Ubuntu LTS with MATE Desktop, newly created folders and files from the CAJA browser appear always with read permission for all users, no matter what value I assign with umask in /etc/...
0
votes
1answer
17 views

Getting: 500 OOPS: vsftpd: error with vsftpd.conf file that used to work

I recently reinstalled Bionic at 18.04.4 because I was experiencing a lot of glitchy errors that were getting worse over time. I had upgraded (not reinstalled) from Xenial which was probably a ...
0
votes
0answers
21 views

How to prevent system users to copy files from one user to the other by storing them in /tmp or /var/tmp?

I need to keep 2 system users separate to the point that they should not be able to copy files from one user to the other. Those users will have access to different networks with one being able to ...
-1
votes
0answers
27 views

trouble with (the command) touch [closed]

touch won't register the correct date/time on one of my thumbdrives. The file within the thumbdrive directory gives the correct date/time, but the directory for the thumbdrive itself reports Dec 31 ...
0
votes
0answers
19 views

Allow web users to write files into folder

I have a web site running on Ubuntu server with Nginx installed and I made profile picture upload in Django. However when I try to upload a new profile picture it says [Errno 13] Permission denied: ...
1
vote
2answers
42 views

Setup a cron job to archive a directory and all its sub-directories including hidden files using tar

I'm trying to setup a cron job to archive/backup /home/username/.mozilla/ directory and all its sub-directories, including hidden files, using tar. I like to run the job at 12:01 AM every night. Here'...
0
votes
0answers
51 views

Prevent browser from downloading files into specific folder

Now, this might be an oddly specific question. But is it possible to make it impossible for browsers to download files into a specific folder? The issue appears because I don't want the browser to ...
1
vote
0answers
75 views

Permissions Xampp

Gents, I have a lot of problems getting Xampp to work. I installed Xampp with this tutorial. After that I set the permissions following this tutorial. Here is what I did: 1- download xampp-linux-...
0
votes
0answers
180 views

Collecting package metadata (current_repodata.json): failed NotWritableError: The current user does not have write permissions to a required path

When i am trying to install any library such as pandas and even when i tried to install clean package using conda install anaconda-clean. it gives an error : Collecting package metadata (...
0
votes
0answers
25 views

Access folder from windows with domain by samba

Hello I have Linux machine with Ubuntu 18.04 on corporate network. We login into Windows machines with domain credentials like: corp_domain/username On my linux machine I am not logging by domain ...
0
votes
1answer
45 views

saned: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied

I tried to setup a network scanner with SANE following this tutorial: Sane Daemon Tutorial But if I try to add the scanner on a client, it doesn't work as saned seams to have no access to the USB-...
-1
votes
0answers
27 views

permisson denied fix [duplicate]

I need to do the following: Open /etc/apt/sources.list file. Check the word after http://security.ubuntu.com/ubuntu/ in the sources.list file, let the word be xyz Go to the address http://security....
0
votes
0answers
33 views

allowing internet access for only one application

I have restricted all internet access for just one user on an Ubuntu 18.04 machine via firewall rule (iptables -A OUTPUT -m owner --uid-owner ???? -j DROP) but I want to allow only one application (...
0
votes
0answers
36 views

SSH continue to ask for password prompt

I appreciate this is a recurring question, but I'm really struggling to get my SSH connection password-less irrespective of the many threads and changes I've done so far. I do remember this was once ...
-1
votes
0answers
15 views

Changing File permission on another disk partition does not work

I have SSD in my laptop There are total 3 partition 1 . / second partitoin third partition In second parttiion (mounted) when i try to change file permission by sudo chmod 600 private.key it ...
-1
votes
0answers
41 views

How to give app access to drives in ubuntu by bash command [duplicate]

I have installed some apps which have not permission to access to read.write for my Drives in the Ubuntu software GUI, so i asked how to give them this access by commands for example?. For Exp in ...
0
votes
0answers
26 views

users and persmissions in a new VPS

I have root user and a "domain" user for the virtual server/domain/site in the VPS. I'm going to disallow root access to SSH, meaning SFTP won't work as well. I want to be able to view logs using ...
0
votes
1answer
37 views

Not able to remove 'sharing' for a folder already shared?

I have been using Ubuntu in my machine since 3+ years. I found a folder ('Videos' from 'Home' directory) is shared on network. I don't remember when did I do it? Now, I want to remove it from being ...
0
votes
1answer
31 views

Why can't I unlock a KeepassXC file located on a NTFS volume mounted in Ubuntu?

In Ubuntu 19.10, I can't unlock a password-protected KeepassXC file stored on a mounted NTFS volume, but if I copy it to an ext4 volume I can open it. I can read and write other file types to the NTFS ...

1 2 3 4 5 120