Questions tagged [permissions]
Short for "file system permissions" - access control based on user, group, or global access.
7,599
questions
1
vote
0
answers
359
views
Autocompletion doesn't work without sudo
When I try to Tab the way like
/etc/freeradius/3.0/sites-available
Tab doesn't show me variants of files that are inside the directory and also doesn't allow me to autocomplete this way. How can I ...
1
vote
2
answers
5k
views
How do I give the main user (me) root access on Ubuntu 20.04?
I am a new Linux user, in fact I just got Linux about 2 hours ago, and I see that I don't have many permissions when executing commands in the terminal. Sometimes, I might try to install something or ...
1
vote
0
answers
268
views
How can I reinstall mysql after deleting it?
I have been having lots of issues with MySQL. In hindsight I have a feeling it has something to do with App Armor. But now when I run sudo apt-get install mysql-server I end up getting errors.
Is this ...
0
votes
1
answer
8k
views
How to revert chown command Ubuntu Server
I need serious help.
I accidentally ran the command sudo chown 777 ~ and sudo chmod 775 ~, as you can see, in the root directory (~), and now I cannot SSH into my server using my public/private key. ...
0
votes
0
answers
152
views
HDD requires superuser permissions to write
After installing Ubuntu18.04 on SSD, an empty internal hard-drive has the following permissions and can't be written on without sudo.
drwxr-xr-x 2 root root 32768 Jan 1 1970 Storage
The HDD had ...
0
votes
3
answers
8k
views
Unable to install mysql with Can't read dir of '/etc/mysql/conf.d/' error [closed]
I just installed the latest version of ubuntu on usb. First I run sudo apt update, then sudo apt install apache2. So far everything was fine. But when I run sudo apt install mysql-server I get this ...
20
votes
4
answers
7k
views
snap - how to grant permanent permission to read folder
I have installed chromium snap package. Each time I download file and try to open it or download folder I see a GNOME prompt form with question:
Allow opening file?
Allow snap "chromium" to open ...
0
votes
1
answer
425
views
User not appearing but exists, cannot give it sudo privileges
My user has been edited somehow so it does not appear on login or in my settings. However, I can still login if I use not listed and type it in, and if I try and add a user with the same name this is ...
0
votes
2
answers
4k
views
No MySQL Privileges For Any Usr
I have searched previous posts for days now... and no solution seems to work, I am risking a "duplicate post"...
PROBLEM: PHPMYADMIN installs flawlessly, but none of my users have even basic ...
0
votes
1
answer
21k
views
Readonly /dev/loop [duplicate]
I am mounting an iso file downloaded from CentOS website using below command as root
mount -t iso9660 -o loop /root/Centos7ISO/CentOS-7-x86_64-Everything-1511.iso /mnt/CentOS7/
But it throws this ...
4
votes
1
answer
6k
views
docker-compose denied by AppArmor outside of $HOME - how to fix?
I'm trying to run docker-compose up from /data/myproject but it fails:
/data/myproject# docker-compose up
ERROR:
Can't find a suitable configuration file in this directory or any
...
7
votes
3
answers
27k
views
How to resolve "permission denied" when emptying the trash?
I installed a game, and then decided to erase it. I sent it to the recycle bin, but I was unable to delete it completely (Permission denied). When I moved it back to the desktop, a copy remained in ...
1
vote
1
answer
314
views
Kubuntu 20.04: non-english filename characters show as question marks on usb sticks mounted through the terminal
... but show correctly if the usb stick is mounted through dolphin.
The usb stick is formatted in fat32 and has personal data files copied from a windows7 system.
Is there a way to show the ...
5
votes
1
answer
11k
views
How to run an autostart application as root?
I am currently using a VPN application that requires administrative privileges and I have added the application to my autostart. However, every time I login, I will always be asked to enter my ...
1
vote
1
answer
577
views
Deleting files on QNAP NAS
I have some RARBG.COM.MP4 files on my Qnap Nas that I cannot delete even with changing the ownership, using root, etc. I even tried using the inode numberto delete them to no avail. How do I delete ...
2
votes
1
answer
1k
views
View PDF security/permissions?
It's as simple as that: I need to view the permissions of a PDF file. Not the file system permissions, but the permissions specific to PDF Security, e.g.,
Printing
Document Assembly
Content Copying
...
9
votes
1
answer
13k
views
How can Snap permissions be viewed and modified?
One of the promoted advantages of Snap packages is the sandboxing-feature, where a Snap program may not be able to access as much system information as a package from the repository.
Now, I have ...
0
votes
1
answer
93
views
Unable to figure out the file/folders permission in Ubuntu
I am new to Linux and trying to learn the basics on my Ubuntu 16.04 LTS pc.
The problem I am facing is related to giving file permission for other users.
Basically, I have set up two user accounts-
...
0
votes
1
answer
5k
views
Home User's Permissions Denied
I have 2 users on my server: root andmyuser.
I am not exactly sure how, but I messed up myuser's permissions while trying to edit my home directory as root. Now whenever I start up my server, myuser ...
2
votes
1
answer
455
views
Restricted shell is not working for a newly created user (ubuntu 18.04)
I want to create a new user with a restricted shell so I :
ln -s bash rbash # create a symbolic link to bash with a name "rbash"
useradd -s /bin/rbash student # add a new user with a shell ...
0
votes
2
answers
1k
views
Copy files from multiple sub-directories to the same destination directory
We have almost 300 subdirectories in main directory. Now we want to copy all files from subdirectories in a single command to Destination directory. Is it possible?
Main Directory
SubDirectory
...
1
vote
3
answers
1k
views
Why is it possible to take screenshot without root privileges?
In Ubuntu, I can take a screenshot of the entire screen's content by using the 'screenshot' tool running in user space. How come that is possible? And doesn't that mean that any process can spy on the ...
-1
votes
1
answer
165
views
How to delete specific files that are more than 90 days in a log directory
We are running our Application “JIRA” in Ubuntu version 16.4.6.
Ad we see that the logs folder in this application (Path : /opt/atlassian/jira/logs) is 22 GB and it's still growing and we see that ...
2
votes
0
answers
453
views
Giving user subdirectory access without giving superdirectory access
I do not have the permissions to change my user folder's permissions, yet I need to give a collaborator (read and write) access to the user/foo directory without giving them access (no read and no ...
-2
votes
1
answer
2k
views
Permission denied errors when trying to update Kubuntu 20.04 [closed]
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/...
0
votes
1
answer
832
views
Permissions - How do I delete files from an external drive that requires root permissions?
Okay, I'm at a loss as to what to do. I was trying to set up a bootable USB using "UNetBootin" and I didn't properly check where my stuff was actually installing to, so instead of installing to the ...
1
vote
4
answers
2k
views
Partition - no write access [duplicate]
I have a interntal fat32 partition, shared with windows. In Ubuntu I don't have write access.
The fstab file looks like this:
/dev/disk/by-label/SHAREDI /media/SHAREDI auto, users,nosuid,nodev,...
1
vote
1
answer
116
views
Failed to fetch updates [duplicate]
I am running into an issue when trying to run apt update on 19.10. I am getting the following error:
E: http://us.archive.ubuntu.com/ubuntu eoan-security/multiverse amd64 c-n-f Metadata is not (yet) ...
1
vote
1
answer
363
views
Mounted hard drive appearing empty and lacking permisions
I have a computer with an SSD running my operating system and an HDD to store most data and work.
Up until yesterday, my hard drive appeared under /mnt/feynman as of today it is appearing as an empty ...
0
votes
0
answers
677
views
Point an SFTP user to its working directory without listing other user's directory
I am working on configuring an SFTP server on Ubuntu Server 18.04. I want to create SFTP accounts that point directly to their working directories without listing others. For example if the real ...
0
votes
0
answers
2k
views
wget permission denied error
Task: Hi I am trying to download apache spark using wget. However I get error:
Problem : Permission denied.
Reason: No write permission for folder spark1
What do I want: How Do I enable write ...
1
vote
1
answer
2k
views
Can't write to smbclient-mounted network disk without sudo
I mounted a network disk using
smbclient -L //network_disk -U MYDOMAIN/myuser
sudo mount.cifs -v //network_disk/G ~/G --verbose -o user=myuser,domain=MYDOMAIN
After that, I can't for example touch ~...
6
votes
6
answers
105k
views
Forbidden You don't have permission to access /phpmyadmin on this server
I installed php, mysql, phpmyadmin on my Ubuntu 12.04 localhost in the following steps:
I try these steps:
sudo apt-get install apache2
sudo /etc/init.d/apache2 restart
sudo apt-get install php5 ...
-1
votes
1
answer
542
views
How to lock a file for administrator (su/sudo password-protected) access only from command line / terminal?
I have some sensitive files that I want to protect from my own impulsivity. They're in ~ (/home) not /dev or /bin; those files are protected by default. However, like system files in /dev, /bin, or ...
0
votes
0
answers
221
views
Ubuntu - prevent mv folder but allow files to be placed there
The closest I have found to creating a folder that can't be moved or deleted (but lets me add/edit/delete files within) is chattr.
sudo chattr -a folder lets me protect a folder from being deleted ...
2
votes
1
answer
6k
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
1
answer
210
views
Can't get simple cron job to run
I have a simple sftp server to exchange files with friends. Whenever someone drops file into it, they're the sole owner of that file and I cannot delete it without using sudo, so I want to run a ...
3
votes
1
answer
3k
views
colord-sane: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied
I get the following errors all in a row in my journalctl after booting:
colord-sane[4901]: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied
colord-sane[4901]: io/hpmud/musb.c 2101: Invalid ...
0
votes
1
answer
1k
views
mount permissions from Windows to Ubuntu
I have followed this guide in order to share my windows server files with my ubuntu 20.04 box.
It seems to have worked, as long as i am using the sudo command when making any changes to files or ...
2
votes
3
answers
4k
views
is there an LS for users?
I want to see what files and folders a user on my system has permission to.
I am an admin, on the system. how do I get more information about what files and folders a user can access?
Command line ...
1
vote
0
answers
26
views
Problem with permission
I have installed an SFTP Server on docker, there I want to share a folder named SFTP.
The SFTP Folder has UID and GID 1000:1000 and I stated the SFTP Server also with ID 1000:100 and the folder has ...
0
votes
0
answers
86
views
Why am I prompted for my password every time I access a mounted disk under 20.04?
I have several SSD disks connected on my Ubuntu server, and under 19.10, they were mounted automatically under their respective directories. But under 20.04, every time I want to access one, it asks ...
3
votes
1
answer
2k
views
Unattended-upgrades pending reboot prevents shutdown from user
Running Ubuntu 14.04 in a public computer room, I have enabled unattended-upgrades and configured to reboot at 02.00 in the night. PCs are dual boot, so a user would reboot the computer in order to ...
1
vote
1
answer
818
views
Require password for reboot/shutdown
I realise that this question might be forwarded to a pedagogical forum, but I try to ask :-)
I have installed Ububtu Mate 20.04 on iMac (late 2012). I have two users, myself and my son (6 y.o.). When ...
4
votes
2
answers
6k
views
permissions to create file in directory [duplicate]
I've read here that in order to create a file inside a directory in Linux, one should have write permission to that directory. However when examining this (in Ubuntu Server 14) it did not worked.
...
0
votes
0
answers
247
views
Can't access a directory I am a group member of
I have a directory ‘/mnt/media/’ that has the permission drwxrwxr-x-- and user:group luthing:users so all the users can access it (shared disk).
Permissions are :
ls -lisa /mnt/media
total 32
...
0
votes
0
answers
164
views
File sharing to multiple users with different permissions
I have a file server used to backup network configs.
I have 5 admins
I have 6 users
Everyone needs access to all files.
Admins need all permissions
Users need permissions read, copy and edit copy
...
0
votes
1
answer
483
views
How to use root permission while copying, moving and extracting files
I am new user in ubuntu and i am a web developer especially wordpress developer. So I have installed xampp and after downloading wordpress zip file I moved it to /opt/lampp/htdocs/ But whenever I am ...
2
votes
1
answer
263
views
snap home read plug kdenlive on 20.04
How do I get kdenlive to open files on a shared user other than my own home directory?
Do I have to change the value of the snap home interface read-plug to "all"? If so, how to achieve this?
0
votes
0
answers
168
views
Read-only file system
I tried removing an icon of my deleted tor-browser using the command-line in this directory:
/snap/kde-frameworks-5-core18/32/usr/share/icons/breeze-dark/apps/48
but I received this error:
rm: ...