Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

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

1
vote
1answer
28 views

Editing crontab [duplicate]

I would like to automate some services using cron jobs. When I try to edit the crontab file at /etc/crontab, I am not able to save it as it says that it is read only. What can I do?
1
vote
0answers
7 views

Access denied 403 phpmyadmin in xampp

I can't make xampp access to phpmyadmin. I did all the configurations required yet the access is always denied. here is my htppd-xampp.conf file #<IfDefine PHP4> #LoadModule php4_module ...
0
votes
1answer
28 views

Unable to install and update many things on Ubuntu 18.04

I am unable to install and update many things on Ubuntu 18.04 because the terminal always shows: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock ...
0
votes
0answers
40 views

SD card permissions

I keep buying SD cards and they keep locking me out by denying me permission to delete files. This issue is becoming a real problem. How can I permanently make my SD cards read and write capable? ...
0
votes
0answers
21 views

Help using FIND to find a specific file with an owner and permissions specified

in this SUID thread I have some to a grinding halt, with nil success. I need to find a file that is owned by the user Linux, has a SUID set and has user execute permissions set. The file is called ...
1
vote
0answers
22 views

How can I avoid data loss after removing NTFS usb without unmounting

I want to configure fstab in that way that my USB will be mounted automatically. My Hardware has two USB plug. I want to configure one of them for FAT32 and another for NTFS. I added this two lines ...
-1
votes
1answer
15 views

Change Background colour/ Permissions for directories in terminal when copy pasted folders from another desktop

I have copy pasted some directories and files from other computer. Now if i open those files and directories i get a green colour for directories and in case of files the copy pasted files are in ...
0
votes
1answer
14 views

Mountpoint for mounted external partition owned by root

So anytime a drive is mounted by a user or administrator using udisks2 over dbus, such as plugging in a drive and using any GUI application or file manager to mount it, the mountpoint that's created ...
3
votes
0answers
33 views

FUSE options on 18.04 vs 14.04

I have two Ubuntu installations: 14.04 LST (3.13.0-160-generic #210-Ubuntu) 18.04 LST (4.15.0-36-generic #39-Ubuntu) On system #1 (14.04), when a NTFS partition is (auto?)mounted, then the ...
0
votes
1answer
18 views

Remove garbage from Media/jw with command line

While running f3write erroneously at first I left some garbage files in my Media/jw directory - 1.h2w and 2.h2w. How do I get rid of them? I can find them with the GUI but I don't have permission to ...
1
vote
0answers
32 views

How do undo chmod 664 on a folder

I am trying to setup a webserver on an ubuntu server. I followed this guide to setup a my python app and it works great until I tried to add sqlite3 database. When running it on a apache, it couldnt ...
0
votes
0answers
11 views

Thunar USB automount write permissions

I help manage a small fleet of thinkpads with Xubuntu 16.04 that are used for giving workshops. When a user attaches a USB key, I need Thunar to automount the USB with read and write permissions for ...
1
vote
1answer
11 views

How to add an AD group members to a local group

I already have the AD integration working via sssd where a user logging in is a member of one of two AD groups. They are able to ssh into the server and if it's their first login they're granted ...
0
votes
1answer
9 views

403 forbidden error after installing virtualhost

I have a new Ubuntu installation that seems to work fine, apache runs, and i can connect using the ip adress. However, after adding a virtualhost file, im getting a 403 permission denied error. ...
0
votes
0answers
21 views

Cannot copy files in Seagate portable Hard disks (Ownership problem)

I have recently purchased a Seagate Backup Plus portable hard disk (2TB), I am mostly using it in Ubuntu system hence I formatted it with the following command sudo mkfs.ext4 /dev/sdb where /dev/sdb ...
0
votes
0answers
19 views

18.04 LTS User Permissions

I run VirtualBox with my Bionic (18.04 LTS) as host. My VM/guest is Windows 7 Pro. I use it partly to run a Johnson Controls Metasys app for HVAC controls. I want to set up a Guest login so others can ...
0
votes
0answers
44 views

I accidentally chown'd /usr/lib… what do I do now? [duplicate]

I made a terrible mistake. I realized it right after I did it, but now it is too late. I ran this command: sudo chown -R $USER /usr/lib and I tried to fix it with: sudo chown -R root /usr/lib but ...
0
votes
0answers
74 views

external USB drive formatted ext2

Really new to this. I have a drive that was formatted ext2 on a different system. I need to copy a folder to it. No error just won't do it. The drive is showing as sdb1. Can someone help me as simply ...
1
vote
0answers
9 views

ACLs Permission denied

Assume this is the permission I set to file.sh $ getfacl file.sh # file: file.sh # owner: ubuntu # group: ubuntu user::rwx user:test:r-x #effective:--x group::r-x #effective:--x ...
2
votes
1answer
89 views

Help with find command to identify SUID file please?

I am doing an online course and could do with some help please. Please see the image below. I am using find to locate a file with the SUID bit set. The question asks "What is the contents of the file ...
0
votes
0answers
18 views

Can't install hplip [duplicate]

I ran the following anna@annapc:~$ apt-get install hplip-gui E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/...
-1
votes
0answers
16 views

LAMP and user permissions

I reinstalled lamp today because I want to build a PHP extension for a CMS. You hear, I'm new with server. But I've managed to activate all the apache modules I need and put my user in the www-data ...
0
votes
0answers
12 views

How to Create a Node.js Service for System Boot

I am trying to run a Node.js application each time my computer boots. To start the application I need to run sudo pm2 start /path/to/app.js. I have created a pm2.service file in /etc/systemd/system/ ...
0
votes
1answer
14 views

Joomla Configuration File writing issue with Ubuntu 16.04 and nginx

I keep getting errors from joomla saying it can't write to. configuration.php An error has occurred. 0 Could not write to the configuration file I added recommended permissions to folders 755 and ...
0
votes
1answer
22 views

How to Run Process Manager as Super User

I am trying to run an API on an Orange Pi. It is running Ubuntu and the API process is running via Node.js Express. I would like the process to automatically start running when the computer boots up, ...
0
votes
0answers
34 views

Amazon EC2 / Ubuntu / Restricting user to multiple folders inc. /var/www/html/

I'm trying to give access to our test environment to a contractor but our server has sensitive data on it. I've created a user (contractorsaccount), I've added the user to a new group called ...
0
votes
1answer
41 views

“Please create the following folder, or set permissions such that it can be created: /home/tando/.config/nautilus.” when I log into my VM

Every time I log in to the VM a window pops up saying, Unable to create a required folder. Please create the following folder, or set permissions such that it can be created: /home/tando/.config/...
1
vote
0answers
19 views

Why does Brisk start programs without some of my user's permissions?

I'm having a bit of trouble with the Brisk menu. When I start a terminal program(I use cutecom) from the menu and try to open a serial port, it says I do not have the required permissions to do so. ...
0
votes
1answer
23 views

Ubuntu18.04 smb using SMB3 force user does not work (all files owned by root instead of forced user) works with vers=1.0

I have just upgraded from ubuntu16.04 to 18.04.1 Previously I had some CIFS/SMB shares auto-mounted using autofs and one of the shares is configured on the smb server to force the user and group to "...
0
votes
0answers
25 views

Adding permissions for a given user automatically modifies group permissions? [duplicate]

m@m-VirtualBox:~$ mkdir -m 0755 bsk1 m@m-VirtualBox:~$ ls drwxr-xr-x 2 m m 4096 oct 9 13:38 bsk1 m@m-VirtualBox:~$ getfacl bsk1 # file: bsk1 # owner: m # group: m user::rwx group::r-x other::r-x So ...
0
votes
0answers
26 views

snap (gimp) application is not able

on my Ubuntu 18.04 installation, I installed gimp as a snap application. Unfortunately, Gimp is not able to read from my iSCSI device. Also, keepassxc which is also installed as a snap application ...
0
votes
0answers
12 views

Unable to reinstall Chrome after changing ownership of /opt in Ubuntu 18.04

I changed the ownership of /opt in an attempt to resolve a problem I was having with a different program, not anticipating any issues and figuring I could always change it back if necessary. This ...
0
votes
0answers
9 views

Ubuntu logging out everytime I enter a folder from the GUI

After I solved this problem with the answer there, another problem is present on Ubuntu Mate running on Odroid. Every time I try to open any folder (the ones I just created or home folder), Ubuntu ...
0
votes
0answers
12 views

pg_dump: role missing, how to add a “backup” role?

I am writing a backup script for my confluence database and data. I followed the advice in 1079213 and created the user backup-user. Access to my filesystem is ok. But I can't do the database dump. ...
0
votes
0answers
37 views

Failed to start User Manager for UID 121 (BOOT)

Here is the picture And when i type it, i have this When i tried to start it from recovery terminal i got this
3
votes
1answer
142 views

How to add /usr/bin to path after I mistakenly removed it (sudo and nano are no longer in path) [duplicate]

Lets get this out of the way, I did something stupid. Yes, stupid. Very stupid. I am well aware of how stupid this is. I am embarrassed and I regret doing it. Please help. I was installing a program, ...
0
votes
1answer
30 views

Permission Mysql Ubuntu 18.04

I have a problem. I install on my ubuntu 18.04.1 lamp server + phpmyadmin. And run existing site (locally). Main page working good. But all another pages return 404. I get this site from windows (...
0
votes
0answers
30 views

Prompt for password after double click on .sh file in Ubuntu 18.04 [duplicate]

I have small file with some shell script that's required sudo privilages to be run - let's call it "foo.sh". Normally, I'd run it from terminal using: sudo ./foo.sh and it'd work just fine. But, I ...
2
votes
0answers
21 views

Can I define a parent group and children groups?

In Linux is it possible to create a master group and some children groups? What is the problem? I need to give read permission to the users belong to group1 and group2. I cannot add all users of ...
0
votes
1answer
11 views

Ruby on Rails - 403 Forbidden - Ownership / Permissions - DocumentRoot doesn't exist - Denied by Server Configuration [closed]

I have been so far unable to successfully configure an Ubuntu server to allow access to a RoR site which I have migrated from another server. As far as I can tell the permissions and set up are the ...
0
votes
0answers
18 views

Get terminal access on locked down system (have SU PW)?

I'm trying to get terminal access to a system that is somewhat locked down. I have an elevated username and password. I also have access to the terminal if I log in as the elevated user, but not as ...
0
votes
0answers
18 views

VSFTPD change user password

I have got an Ubuntu server 16.04 with vsftpd already installed and configured. and I'm able to access with a user admin317934, that is able to browse the whole filesystem. Now I'd like to restrict ...
1
vote
0answers
22 views

How to run Geckodriver from an external request in an Ubuntu server

I have a Flask application running in an Ubuntu 16 server with Apache. It uses to WSGI to run. The main goal of this app is to scrape info from a 3rd website. To achieve this it uses Firefox and ...
0
votes
0answers
16 views

Limiting file read permissions

I am trying to deny read permissions for others users home directories. Currently I have many users whom access our files via an external ftp server. Each user has their files stored in their home ...
0
votes
1answer
44 views

Password required every time I open a file [on hold]

I made a fresh install of Ubuntu 18.04.01 from 14.04 but kept my home dir which was in an extra partition. After I recovered the ecryptfs data (had to re-add the passphrase to the keyring) everything ...
0
votes
1answer
21 views

wrong owners on ext4 drive after new installation

I have installed linux from scratch on a machine that has previously linux running. On my additional "data" drive (only data, no system files) with ext4 filesystem, the file owners / groups are not ...
0
votes
0answers
17 views

FTP uploaded but not seen in SSH shell?

This is the first time I encounter this strange problem. I'm using Ubuntu server 18.04.1 Uploaded a .zip file using filezilla/vsftd inside /var/www folder When it was done, went to putty to SSH into ...
0
votes
1answer
45 views

user in 'www-data' is unable to mkdir in Apache2 with Composer

my objective is to install Magento with Composer composer create-project --repository=https://repo.magento.com/ magento/project-community-edition magento2 Installing magento/project-community-...
1
vote
0answers
19 views

Ansible: the local .ansible folder is created with root as it's owner (permission errors)

I installed ansible from its installation guide, but it creates a .ansible folder in the home directory of my user and when I would like to run a simple test command I give this error: [ERROR]: ...
0
votes
0answers
29 views

Trying to install Nextcloud and only get this far

I'm trying to install Nextcloud and I only get this far. chmod: changing permissions of '/tmp/locks': Operation not permitted chmod: changing permissions of '/var/snap/nextcloud/8971/apache/logs': ...