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.
251
questions
5
votes
2
answers
14k
views
How to give rights to one user for the restart of a service
It's there a way i can give the rights to a specific user, for restart a specific service on windows server 2008 ?
5
votes
2
answers
51k
views
Grant permission in Active Directory to add users / modify / changed password / add them to group them but not delete them
I would like to add delegate user ability to:
add new users to container
change password
modify group membership
modify users properties (such as email / name etc)
move users between OU's
...
5
votes
2
answers
16k
views
Force NTFS permissions inheritance for newly created files
Does anybody know a way to force that all files that get created inside some folder inherit the NTFS permissions of that folder.
The problem is the following:
I have a third party software that is ...
5
votes
3
answers
28k
views
How do I set up a shared directory on Linux?
I have a linux server I want to use to share files between users in my company. Users will access the machine with sftp or secure shell.
Here is what I have:
cd /home
ls -l
drwxrwsr-x 5 userA ...
5
votes
4
answers
9k
views
Restore default ownership in CentOS after terrible chown [duplicate]
Possible Duplicate:
How do I recover a RHEL 4.3 server from bad permissions set over the entire filesystem?
Is there any way to restore the default ownership of a CentOS filesystem after an ...
4
votes
4
answers
14k
views
Using SELinux to force Linux to allow programs to bind to port numbers lower than 1024
Is there a way in SELinux to force linux to allow a program to be able to bind to a port number lower than 1024.
4
votes
2
answers
8k
views
Has March 2015 Patch Tuesday broken 2003 shares?
We have several Windows Server 2003 boxes, and over night, they had their automatic updates installed.
This morning, users cannot access shares they were previously able to, and are prompted for ...
3
votes
2
answers
8k
views
Samba Ignoring POSIX ACLs
I have an Ubuntu 10.04.4 LTS server running Samba, and joined to our Active Directory domain using PBIS (formerly likewise-open.) Samba is configured to do authentication using AD users/groups, and ...
2
votes
2
answers
10k
views
Zabbix Agent unable to read /var/log/messages
So I am trying to monitor the logs of a VM running Centos 7. Specifically the one giving problems is /var/log/messages. I have changed both the group ownership of the file ( made the pertaining change ...
2
votes
2
answers
15k
views
MySQL LOAD DATA INFILE user privilege settings
I understand that users must have FILE privilege on *.* in order to use the LOAD DATA INFILE command without using LOCAL—which sends the file data through the client—but when GRANTing FILE ...
2
votes
4
answers
42k
views
SSH configuration, publickeys, Permission denied (publickey,password). error
My task: login from Mac OS Snow Leopard client to Ubuntu 10.10 server without password.
Commands:
client$ mkdir ~/.ssh
client$ chmod 700 ~/.ssh
client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa
Enter ...
2
votes
3
answers
2k
views
How to set up default group permission in linux folder
I have website folder called
/home/john/public_html
Now i want that what ever files are copied to that public_html or new files created inside that folder then those files should have default read /...
2
votes
2
answers
11k
views
Best way to recover mysql from a "chmod -R 777 /" with databases intact
Question:
What is the best way to recover mysql (or worst case: migrate away) from a "chmod -R 777 /" with databases intact?
System:
Ubuntu 12.04 LTS
MySQL 5.5.24
64 bit Amazon EC2 cloud server.
...
2
votes
1
answer
1k
views
How should I structure my users/groups/permissions for a web server?
How should I setup permissions in the most secure way on my dedicated server which I'm running FTP + Nginx on? I want FTP to be able to read/write files and I want Nginx to be able to read/write the ...
1
vote
2
answers
5k
views
What permissions are needed to run a system() command within a php script that writes to a folder?
I've got a php script which has the line:
system("ffmpeg -i ......");
The output folder is set to be:
drwxrwxr-x 5 apache apache 4096 Oct 19 07:40 in_upload
If I run the exact text "ffmpeg -i .....
1
vote
3
answers
252
views
Perhaps not understanding the OS X permissions model
Trying to set up a complex config for the bundled Httpd on MacOSX 10.6.
In the log for the httpd:
[Wed Mar 23 09:18:07 2011] [error] [client ::1] (13)Permission denied: mod_rewrite: can't access ...
1
vote
2
answers
16k
views
mysql permissions issue - associated with my.cnf
I want to change the max_allowed_packet value, but when setting permissions for my.cnf to 777, I get (as expected):
Warning: World-writable config file '/etc/my.cnf' is ignored
If I set it to anything ...
1
vote
1
answer
454
views
Centos 7 - sshd sftp group permissions messed up after update
Centos recently updated to 7.3 and there's been problems with sshd sftp group permissions. I have one user that is chrooted to it's home directory, and that user is in group sftponly. Then i have the /...
0
votes
2
answers
394
views
permit a user to access a selected folder only (Active directory 2003)
I add the user in the Global Security Group (IT Dept), and create a folder and add the IT Dept in security permission on it.
Under security tab of the folder, I want to remove the Machine\Users group ...
0
votes
4
answers
471
views
No longer have to enter a password to SSH into another server?
For some reason, I have a server that if ssh into another server...you don't need to enter the password.
How is this done? Can someone give me step by step instructions please?
0
votes
4
answers
1k
views
403 Forbidden Access
Yesterday my supervisor mounted one of his directories onto my server. The problem is, I can't access them and I have no way of contacting him right now. When I type in the URL I get this error:
...
-1
votes
2
answers
9k
views
linux + when change passwd we get permission denied
We have installed Redhat Linux 6.5 from scratch the VIA kick start installation and booted into single user mode because I don't have the root password.
But when I perform the following:
passwd root
...
239
votes
10
answers
303k
views
How do I share a Git repository with multiple users on a machine?
I have a Git repository on a staging server which multiple developers need to be able to pull to. git-init seems to have a flag very close to what I'm looking for: --shared, except I'd like multiple ...
166
votes
10
answers
435k
views
GRANT SELECT to all tables in postgresql
Is there a one-liner that grants the SELECT permissions to a new user postgresql?
Something that would implement the following pseudo-code:
GRANT SELECT ON TABLE * TO my_new_user;
127
votes
18
answers
151k
views
Why does sudo command take long to execute?
I've been picking up Linux (Fedora 10, then 11) over the past few months (and enjoying it immensely-- it's like discovering computers all over again, so many things to learn).
I've added my user to ...
63
votes
8
answers
243k
views
How to change owner of mount point
We have moved mysql data directory to another disk, so now /var/lib/mysql is just a mount point to another partition. We set the owner of the /var/lib/mysql directory to mysql.mysql.
But everytime we ...
58
votes
5
answers
32k
views
What is the first digit for in 4-digit octal Unix file permission notation?
3-digit:
644
ugo (user group other)
4-digit:
0644
?ugo (??? user group other)
What is the first octal digit for in 4-digit octal Unix file permission notation?
49
votes
2
answers
157k
views
chown on a mounted NFS partition gives "Operation not permitted"
I have a remote partition that i have mounted locally using NFS.
'mount' gives
192.168.3.1:/mnt/storage-pools/ on /pools type nfs (rw,addr=192.168.3.1)
On the server i have in exports:
/mnt/...
38
votes
1
answer
101k
views
What can user do with VIEW SERVER STATE permissions?
In SQL Server 2008 there is a permissions VIEW SERVER STATE. What rights this permission give to user? What SQL Server mean by SERVER STATE?
38
votes
9
answers
69k
views
Need to fix file permissions in a user's home directory
Does anyone have a tool or script that will recursively correct the file permissions on a directory?
On an Ubuntu Linux machine, a bunch of files were copied to a USB disk with full 777 permissions (...
36
votes
8
answers
33k
views
Bypass ssh key file permission check
I have an encrypted FAT volume (for compatibility) containing a private key file and other sensitive data.
I want to connect to my server through SSH using my private key, but of course, as FAT doesn'...
32
votes
5
answers
35k
views
Minimum permissions for a user to perform a mysqldump?
I want to start scheduling remote mysqldump crons, and I'd prefer to use a special account for that purposes. I want to grant that user the minimum permissions for getting a full dump, but I'm not ...
26
votes
7
answers
75k
views
How to deny the web access to some files?
I need to do an operation a bit strange.
First, i run on Debian, apache2 (which 'runs' as user www-data)
So, I have simple text file with .txt ot .ini, or whatever extension, doesnt matter.
These ...
24
votes
4
answers
72k
views
fstab and cifs mounting, possible to store authentication information outside of fstab?
I am currently using cifs to mount some network shares (that require authentication) in /etc/fstab. It works excellently, but I would like to move the authentication details (username/pass) outside ...
22
votes
2
answers
75k
views
"'' is not a valid login or you do not have permission" on sql server installation
I have tried installing SQL Server 2008 multiple times on my machine, and I always receive this error about 3/4 of the way through: '' is not a valid login or you do not have permission.
I use SYSTEM ...
21
votes
5
answers
82k
views
Run nginx as a non-root user
I followed this process to installing nginx on my Ubuntu 10.04 Lucid Server http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid
I got lost after the point of creating an init ...
20
votes
5
answers
45k
views
How to configure PHP CLI on linux ubuntu to run as www-data?
I have a symfony2 application on my ubuntu. Symfony has a plenty of useful console commands (like php app/console cache:clear or php app/console assets:install web).
The problem is If I run them as ...
20
votes
6
answers
36k
views
Refresh supplementary group memberships without logging in again?
From my understanding, a Linux session caches its group memberships at login. Then if a new group membership is added (e.g. with adduser someuser somegroup), the user must log out and log in again to ...
18
votes
5
answers
56k
views
Quickly changing Windows permissions for a huge directory tree?
I have a huge directory on an NTFS file-system
(i.e. a top-level directory containing tens or hundreds of millions of descendant nodes with the file nodes probably on average about three levels deep) ...
18
votes
3
answers
11k
views
Windows File Permissions and Attributes
I'm somewhat confused about the whole Windows file security scheme. I come from a unix background, so I don't fully understand the relationship between file permissions/security settings and the ...
18
votes
3
answers
46k
views
What User Should NGinx and PHP be running as?
Permissions are something that have confused for me a while with Linux. So at the minute both my NGinx and PHP-FPM instances are running with the user and group :
www-data
Is this standard? I run ...
18
votes
1
answer
113k
views
How to add NETWORK SERVICE to Users permission group?
I'm adapting an application from a different server, their installation guide tells me to
Add Server Name\Network Service identity to Users permission group.
So how can I?
I've tried:
Via ...
17
votes
4
answers
59k
views
Can't connect to default admin share on Windows 2008
I have a Windows 2008 Server that I'm trying to connect to the default administrative share
\\servername\c$
I can connect to it using the default Administrator account. But if I try to connect using ...
17
votes
4
answers
92k
views
User in domain admin group cannot access directory the group has permission to access
I've run into a rather interesting issue when playing with one of my domain labs.
There's a directory on a 2008 R2 fileserver that's being used for folder redirection for all users in the "Staff" OU. ...
16
votes
8
answers
89k
views
'Permission denied' to a file I own?
My user, bob, can't access files that he (theoretically owns). I'm running Fedora Core 8. It probably easier to shown than tell:
> ls -al .
total 32
drwxrwxr-x 7 bob bob 4096 May 18 14:33 .
...
16
votes
1
answer
17k
views
How do I assign an SELinux label to a symlink with semanage so it persists after a relabel?
My apache DocumentRoot /var/www is a symbolic link to another path. The target has the appropriate file context label (httpd_sys_content_t) so that apache can read it with SELinux enabled. However, ...
14
votes
2
answers
4k
views
Linux ssh: allow public-key authentication without giving user read rights to private key
Users logged in on my Linux server should be able to ssh to a specific remote machine with a default account.
The authentication on the remote machine uses public key, so on the server the ...
14
votes
4
answers
61k
views
"debug1: read_passphrase: can't open /dev/tty: No such device or address" when trying to connect through SSH
I am trying to connect to my server using
ssh [email protected] -vv
I get
debug1: read_passphrase: can't open /dev/tty: No such device or address
error or just
Permission denied, please try again.
...
14
votes
4
answers
55k
views
Permission denied but group permissions look good on redhat
I have a user ftpadmin:
-bash-3.2$ id ftpadmin
uid=10001(ftpadmin) gid=2525(fsg) groups=2525(fsg),10005(git)
The important group to note is "git"
Then I have my git repository:
ls -al
drwxrwxr-x ...
14
votes
3
answers
19k
views
crontab listing or editing results in fopen: permission denied
Recently, a job configured to run from a user's crontab stopped executing. When attempting to list or edit the crontab for the user, the result is:
user@host:~$ crontab -l
crontabs/user/: fopen: ...