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
14
votes
3 answers

how to find files with incorrect permissions on unix?

I'm looking for a way to search a directory or directories and list all the files that have the wrong permissions for a public directory.
sal
  • 827
  • 3
  • 12
  • 18
14
votes
3 answers

What are perfect unix permissions for usual web project directories?

What are the perfect minimal permissions in octal format for the followings in a web application written? A directory where user uploaded static files (images/swf/js files) will reside A directory where admin uploaded static files (images/swf/js…
user893730
  • 624
  • 2
  • 12
  • 20
14
votes
5 answers

Apache: Isn't chmod 755 enough to set up symlink or alias on Apache httpd on Mac OS 10.5?

On my Mac OS 10.5 machine, I would like to set up a subfolder of ~/Documents like ~/Documents/foo/html to be http://localhost/foo. The first thing I thought of doing is using Alias as follows: Alias /foo /Users/someone/Documents/foo/html
Eugene Yokota
  • 1,919
  • 3
  • 17
  • 12
14
votes
4 answers

"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 user@server.com -vv I get debug1: read_passphrase: can't open /dev/tty: No such device or address error or just Permission denied, please try again. Permission denied, please try again. Permission…
LukLed
  • 243
  • 1
  • 3
  • 11
14
votes
4 answers

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 7 git git 4096 Apr 20 14:17 fsg So…
Tony
  • 1,281
  • 4
  • 17
  • 23
13
votes
2 answers

User in Administrators group has not the same rights as Administrator (Win 2012 R2)

I have created a user admin and putted this user in the Administrators Groups (local, there is no AD). But This admin user has not the same rights as the Administrator user itself. Example 1: a file is owned by SYSTEM and the Administrators Group…
Maarten
  • 131
  • 1
  • 1
  • 3
13
votes
2 answers

Which MySQL users are necessary?

My MySQL server has a number of strange users which I did not add. Are these all necessary? 'root'@'127.0.0.1' 'root'@'localhost' 'root'@'SERVERNAME' 'root'@'::1' ''@'SERVERNAME' ''@'LOCALHOST' If I remove all the root's except root@localhost,…
Myforwik
  • 261
  • 1
  • 7
13
votes
1 answer

nginx 403 Forbidden Error hosting in User Home Directory

I've installed nginx 1.1.19 on Ubuntu 12.04 on my local machine and kept the default /etc/nginx/nginx.conf except for changing the user directive. /etc/nginx/nginx.conf user nginx www-data; worker_processes 4; pid /var/run/nginx.pid; ... I want to…
dgh
  • 478
  • 1
  • 3
  • 11
13
votes
5 answers

Setting up a cron job that does a chmod/chown

I would like to set up a cron job that recusively does a chmod/chown on a directory (the dropbox directory). This works when I execute the commands manually like: sudo chown -R $USER ~/Dropbox sudo chmod -R u+rw ~/Dropbox I tried to convert it into…
tvgemert
  • 277
  • 1
  • 2
  • 7
13
votes
6 answers

Permissions issue with virtual directory to UNC path

I have a virtual directory in my site (test environment). It is a UNC share which is also used as a public FTP. It is configured to connect as a domain admin account and "Test settings" says everything appears to be working. However when I try to…
13
votes
1 answer

How to show numerical UIDs/GIDs stored in tar file

I've got some troubles with a tar file that holds a backup. It was provided by our hosting provider and contains some strange file permissions. When viewing with tar tvf example.tar I only get the symbolic owner information of each file (which do…
Scolytus
  • 434
  • 3
  • 7
  • 22
13
votes
9 answers

How to repair/restore ubuntu 10.04 after 'sudo chmod / 777'

See Also: Why is “chmod -R 777 /” destructive? I changed file permissions recursively on the root directory / by executing sudo chmod -R / 777, and after that my system won't boot (I'm getting a lot of "permission denied" errors). Please help.
Marcin
  • 147
  • 1
  • 1
  • 3
13
votes
17 answers

What are the arguments for and against a network policy where the sys admin knows users passwords?

I'd like to know pros and cons.. reasons for and against the idea of sys admin’s maintaining user account lists with passwords.. and additionally not allowing those users to change their passwords. I understand that systems like Windows seem to…
cottsak
  • 505
  • 7
  • 20
13
votes
1 answer

Grant users access to mysql with a dash in the database name

Unfortunately, I have a database name with a dash in it. How do I grant access to that database as mysql reports a syntax error. e.g. GRANT SELECT,INSERT,UPDATE,DELETE ON astpp.* TO 'portal'@'localhost' IDENTIFIED BY 'Ab7g12Xh35' WITH GRANT…
hookenz
  • 14,472
  • 23
  • 88
  • 143
13
votes
7 answers

Is it normal to give 'users' administrator access to their company PC?

I have a user who wants to be a administrator of his work PC, he's made some story up about how he can't work without it so I'm told to "fix it" (as if it is a fault he's logged on as a user!). My IT co-workers and I don't login as administrators…
Phillipe B
  • 131
  • 1
  • 3