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.

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.

For example, file permissions are rules placed on a filesystem object defining which accounts are allowed to access the object, and what actions those accounts can take on the object, such as read, write and/or delete.

3641 questions
16
votes
8 answers

'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 . drwxrwxr-x 4 bob bob 4096 May 12 15:44 .. drwxr-xr-x 2 bob…
Gordon Wilson
  • 263
  • 1
  • 3
  • 6
16
votes
1 answer

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, the symbolic link itself is labeled with…
Steven T. Snyder
  • 1,113
  • 2
  • 10
  • 19
16
votes
3 answers

List user's folder access permissions

I have a user in a domain who has access to multiple subfolders in multiple folders. His rights were defined pretty granularly. Now he's leaving the company but will continue to work for a firm as a contracted resource. I need to find all folders he…
imagodei
  • 499
  • 1
  • 3
  • 13
16
votes
5 answers

"The user account does not have permission to run this task"

I'm trying to get a scheduled task to run on Windows Server 2008. It has been working fine for months, and then hung, so I killed it, and now I can't get it to start. (In case it's not obvious, I'm not a Windows sysadmin by any stretch of the…
Ken
16
votes
2 answers

How do I set default permissions for SFTP for an Ubuntu Server?

We have an Ubuntu 10.04 server. How can I set it so that new files created (or copied) over SFTP or SSH have g+rw and g+rwx permissions (where appropriate)? I'm also using setgid (chmod g+s) so that they inherit the proper group owner.
wag2639
  • 2,145
  • 6
  • 24
  • 33
16
votes
5 answers

CHMOD - Applying Different Permissions For Files vs. Directories

I've been trying to clean up permissions on a few boxes and have been scouring the chmod man as well as all the internet documentation that I an handle without any luck -- so here we go. Basically, I've got a directory with many sub directories and…
Skone
  • 489
  • 1
  • 4
  • 13
15
votes
4 answers

NTFS - Domain Admins don't have permissions despite being part of the Local Administrators group

As per "Best Practices" staff in our IT department have two accounts. An unprivileged account and an account that is a member of the global Domain Admins ($DOMAIN\Domain Admins) group. On our file servers the Domain Admins group is added to the…
user62491
15
votes
2 answers

Can I override my umask using ACLs to make all files created in a given directory world readable?

Assume that my umask is 0077. I have a directory, foo, that I want to have special permissions applied to it. All files I create in foo should be world readable, and all directories should be world readable and executable. Currently, if I create a…
stickmangumby
  • 526
  • 2
  • 5
  • 11
15
votes
4 answers

With SQL Server (2008), can you grant create table permission within a schema?

Working with security in SQL Server 2008, I'm trying to grant a user CREATE TABLE permissions, but only within a specific schema. Does CREATE TABLE permission only apply at the database level? Can I limit the user to create table only within a…
RyanW
  • 528
  • 3
  • 9
  • 19
15
votes
6 answers

Mysql - Access denied for user 'root'@'x.x.x.x'

I am trying to connect to a remote mysql database from my local box. Initially I was not even able to hit the mysql db. But after commenting the binding_address in the my.cnf file and restarting the mysql server, I am now able to hit it. But now, I…
bragboy
  • 337
  • 1
  • 2
  • 9
15
votes
2 answers

Best permissions/ownership for apache document root

I need some help setting the correct permissions or ownership of the apache document root. Here is what I need: different websites stored in /var/www/html/ two users should update/manage the websites through ssh ownership should be different…
Marco
  • 153
  • 1
  • 1
  • 4
14
votes
2 answers

Force Ansible to log off to refresh user groups

I'm setting up a server with Ansible and Docker. I'm currently learning both technologies, so please bear with me if I'm being overly stupid here. In order to run run Docker commands, the user has to be in the docker user group. So I'm doing this: -…
14
votes
2 answers

Chrome under Docker: CAP_SYS_ADMIN vs privileged?

I am running chromedriver + chrome inside Docker in my test environment. Everything was working fine until latest CoreOS upgrade. These are the versions that seem to work: VERSION=1185.5.0 VERSION_ID=1185.5.0 BUILD_ID=2016-12-07-0937 And this a…
Jakov Sosic
  • 5,267
  • 4
  • 24
  • 35
14
votes
2 answers

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 corresponding private key is available. I don't want the…
Philipp
  • 505
  • 1
  • 5
  • 13
14
votes
3 answers

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: Permission denied user@host:~$ crontab…
stantonk
  • 243
  • 1
  • 2
  • 7