Questions tagged [permissions]
Permissions define the operations that authenticated users are allowed to perform on file systems, databases and other computer systems.
17,825
questions
3213
votes
36
answers
2.8m
views
ssh "permissions are too open"
I get the following error from ssh:
Permissions 0777 for '/Users/username/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will ...
2177
votes
19
answers
5.2m
views
How do I change permissions for a folder and its subfolders/files? [closed]
How do I change the permissions of a folder and all its subfolders and files?
This only applies to the /opt/lampp/htdocs folder, not its contents:
chmod 775 /opt/lampp/htdocs
How do I set chmod 755 ...
1511
votes
40
answers
704k
views
How to fix npm throwing error without sudo
I just installed node and npm through the package on nodejs.org, and whenever I try to search or install something with npm, it throws the following error unless I sudo the command. I have a feeling ...
1131
votes
15
answers
346k
views
How do I use sudo to redirect output to a location I don't have permission to write to? [closed]
I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to.
The ...
998
votes
43
answers
732k
views
"UNPROTECTED PRIVATE KEY FILE!" Error using SSH into Amazon EC2 Instance (AWS) [closed]
I've created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in.
When I tried to ssh with:
ssh -i myfile.pem <public dns>
I got:
@@@@@@@@@@@@@...
738
votes
15
answers
311k
views
sudo echo "something" >> /etc/privilegedFile doesn't work [duplicate]
This is a pretty simple question, at least it seems like it should be, about sudo permissions in Linux.
There are a lot of times when I just want to append something to /etc/hosts or a similar file ...
733
votes
7
answers
3.6m
views
Chmod 777 to a folder and all contents [duplicate]
I have a web directory /www and a folder in that directory called store.
Within store are several files and folders. I want to give the folder store and all files and folders within the store folder ...
674
votes
25
answers
804k
views
SSH Key: “Permissions 0644 for 'id_rsa.pub' are too open.” on mac
I generate a ssh key pair on my mac and add the public key to my ubuntu server(in fact, it is a virtual machine on my mac),but when I try to login the ubuntu server,it says:
@@@@@@@@@@@@@@@@@@@@@@@@@@...
668
votes
7
answers
426k
views
How to create file execute mode permissions in Git on Windows?
I use Git in Windows, and want to push the executable shell script into git repo by one commit.
Usually I need to do two steps (git commit).
$ vi install.sh
$ git add install.sh
$ git commit -am &...
644
votes
24
answers
566k
views
How to reset Django admin password?
I am using Django (version 1.3) and have forgotten both admin username and password. How to reset both?
And is it possible to make a normal user into admin, and then remove admin status?
487
votes
37
answers
800k
views
MySQL error 1449: The user specified as a definer does not exist
When I run the following query I get an error:
SELECT
`a`.`sl_id` AS `sl_id`,
`a`.`quote_id` AS `quote_id`,
`a`.`sl_date` AS `sl_date`,
`...
435
votes
4
answers
341k
views
IIS AppPoolIdentity and file system write access permissions
Here's an issue with IIS 7.5 and ASP.NET that I've been researching and getting nowhere with. Any help would be greatly appreciated.
My question is: using ASP.NET in IIS 7.5, how does IIS and/or the ...
429
votes
8
answers
493k
views
IIS7 Permissions Overview - ApplicationPoolIdentity
We have recently upgraded to IIS7 as a core web server and I need an overview in terms of the permissions. Previously, when needing to write to the file system I would have give the AppPool user (...
331
votes
5
answers
325k
views
ERROR: permission denied for sequence cities_id_seq using Postgres
I ran following sql script on my database:
create table cities (
id serial primary key,
name text not null
);
create table reports (
id serial primary key,
cityid integer not null references cities(...
312
votes
25
answers
211k
views
Android M Permissions: onRequestPermissionsResult() not being called
I'm updating our app to use the new M runtime permissions system.
It's all working except for onRequestPermissionsResult(). I need to check a permission on a button press, and if it's successful, send ...