Most current file systems have methods of administering permissions or access rights to specific users and groups of users. These systems control the ability of the users to view or make changes to the contents of the filesystem.

learn more… | top users | synonyms (1)

2
votes
1answer
11k views

Grant MODIFY on “All Subfolders and Files” with icacls, but only give Read to top level folder

One of our Windows servers that has some user folders on it has some pretty screwed up permissions. What I want it for SYSTEM and Domain Admins to have full control of all folders. I want the users to ...
1
vote
1answer
351 views

Safely execute custom script parts as sudo

In /usr/local/bin I've the following script called sdown /usr/local/bin$ cat sdown #!/bin/bash if [ $# -lt 1 ]; then echo "no time set" else sudo shutdown -h $1 fi Permssions are 788: ...
5
votes
1answer
389 views

How to not move permissions on fileserver file move

I have a problem with a NetApp file server with Windows XP clients. The files are on a single SAN drive. The users regularly move files from \\storage\share to their personal folder at e.g. ...
1
vote
1answer
253 views

Restore /var owner and group (mysql and apache needed)

Huh, I feel kinda dumb right now. Just did an chown -R www-data:www-data .* and voilá, /var is all messed up. Already fixed some to root, but mysql refuses to start. How can I restore the ...
0
votes
1answer
268 views

Automatically change UID of file

Due to development policies, all my relevant server files have g+w policies. This is working great, but, for added accountability, I'd like the files to change owner UID upon being edited by other ...
2
votes
1answer
115 views

setgid file deletion rights

I have been learning Linux from few days, and now I am at File Parmissions with sticky bits, I tried the following: [root@localhost sdcdir]# ll total 24 drwx------. 2 root root 16384 Mar 21 21:38 ...
2
votes
1answer
826 views

IIS 401.3 - Unauthorized on only 1 server out of 3 set up for network load balancing

Over the weekend our Server Admin set up two virtual Windows 2008 machines with IIS installed and set them up under NLB. I came in and changed the application pool the website was running under to ...
1
vote
1answer
7k views

Is it possible to hide folders/subfolders from users based on permissions?

Having a Windows Server 2008 R2 that has a share with lots of nested folders, I want to be able to only show certain folders to certain AD users/AD user groups. Is it possible to configure the ...
0
votes
2answers
243 views

OS X Snow Leopard, change file permissions on copy

I work with OS X, Snow Leopard and need to allow users to make copies of files (templates) located in a read-only repository for subsequent editing. The repository is located on a separate physical ...
0
votes
1answer
122 views

Ubuntu Server Web exposed folder recommended permissions [duplicate]

Possible Duplicate: What’s the best way of handling permissions for apache2’s user www-data in /var/www? I am setting up my first server from scratch and as I am completely novice at this I ...
0
votes
1answer
372 views

Disable suhosin file permission check

I have just recently found out that suhosin makes sure not to execute php files with file permissions more open than 755. However, I need to temporarily allow someone else FTP access to some files, so ...
0
votes
3answers
108 views

really simple: file permissions

I really don't understand. I have on my localhost web projects on the path /var/php/project_name I have changed ownership of that files to my user name via chown. Now, assume I have private ...
2
votes
2answers
1k views

Cronjob not running as apache

I have a cron job that runs a PHP script and creates files (images). But the cron job is running as me (being me my own username), not apache, nobody, httpd, www... and all the files created belongs ...
0
votes
2answers
6k views

How to set shared files permission across a network?

I am trying to set permissions to a shared folder. Let's say the shared folder is in computer A. I want computer B and C can only read the folder but computer D can delete the folder. I don't have a ...
0
votes
2answers
223 views

What permissions should I give these files? [closed]

I have some files that nobody needs read access to and apache needs read and write access to. Should I do chown nobody.apache file chmod 460 file or chown apache.nobody file chmod 640 file or ...
2
votes
3answers
4k views

Re-give users ownership of their mapped home folders via powershell

I changed the user quota on a windows 2008 machine and after that some users reported that they were able to read but not write to their mapped home folders. If I re-enter the Home Folder path in the ...
2
votes
1answer
80 views

How to secure a group of *nix users to a single directory and it's subdirectories?

We're setting up a CentOS 6.2/ Apache web server with higher security requirements than I'm used to. I've set up a user group called "web" and I want to limit it's members to only being able to read, ...
0
votes
1answer
123 views

IIS7 - What permission to grant to which account, and where?

I need my ASP page (intranet) to read files from another local Windows server. I know that IIS7 has different system user accounts which it uses depending on the security context etc. but to be honest ...
2
votes
0answers
895 views

What does the red x icon mean next to a user in folder permissions (Windows 7) [duplicate]

In trying to debug various strange issues on a machine, I found something strange - when I go to C:\Users\administrator and get properties, security tab, it lists the users (the local admin account, ...
3
votes
2answers
958 views

Octal representation of file/folder permissions using awk?

We have various of machines here with all sorts of hardware and Operating Systems, most of them do regular tasks with bash that an agent executes. However it came to my attention that some Solaris ...
1
vote
1answer
227 views

Windows 2008 + IIS + Backup folder permissions or script to view all folders with X permissions?

I know how to backup IIS 7 configuration, but unaware of a way to backup which folder requires write permissions. If a server was to go down and I needed to restore, I could restore the config and ...
2
votes
2answers
524 views

Permissions somehow block access to files in CentOS 6

A friend of mine hosts some of the websites he has built for his clients. Somehow he messed up the permissions giving all clients' websites a 403 error upon loading. When I ssh to his server and log ...
1
vote
1answer
4k views

vsftp “Access is denied” when writing as an authenticated user

I have set up vsftpd for private FTP. Only authenticated users in the ftp group can login. Also, every user is chrooted to its home directory (/home/username) chroot_local_user=YES I can log in, ...
0
votes
1answer
392 views

NTFS permissions for a user on another computer in case of a disk moving in a cluster?

Is there a way to set NTFS permissions for a user on another computer? I have two nodes in a failover cluster. Both have a specific user account ("charley") local to the node. Charley has files on a ...
0
votes
2answers
1k views

You don't have permission to access / on this server. Apache, win 7

read all the posts regarding this issue - and none of them seed to help my instance... I just moved all my dev stuff form a vista machine (where it worked fine) to a Windows 7 machine - Apache 2.2... ...
1
vote
1answer
476 views

AccessEnum recursion depth

I'm putting together a quarterly audit script and I'm trying to provide information to data owners about the groups they administer. The most difficult aspect of this operation is determining to ...
2
votes
2answers
1k views

Getting ACL's from a Windows 2003 server

I would like to have a tool that shows ACL's for all folders on a share on a server(Win2k3). I have tried using srvcheck but would like something that goes into sub folders and shows security settings ...
3
votes
1answer
6k views

Dovecot 2 /auth-userdb permissions

Error in log file: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /var/run/dovecot/auth-userdb, euid is not ...
1
vote
1answer
1k views

Managing folder access by subfolder permissions to simplify management on windows share

I have a Windows shared folder that contains a two level hierarchy. The permissions are managed by security groups. The interesting permissions are set in the second level. A first level folder should ...
2
votes
1answer
917 views

Set primary group of file or directory on Samba share from Windows

Short version: I have such situation on a Samba share: $ ls -lha total 12K drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 . drwxrwxrwt 19 root root 4.0K Jan 11 17:06 .. drwxr-xr-x 2 hka ...
1
vote
1answer
1k views

Users cannot run executables on network shares on XP

User A is in group 1. Group 1 has Full Control over a network shared folder that contains an executable (Office installation). User A gets the error: "... The specified path does not exist. Check the ...
1
vote
2answers
335 views

Permission denied for many directories with Rsync

I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
3
votes
1answer
141 views

Test file for specific permissions

I have a script where I'd like to test a file for specific permissions, specifically 0644, if it is not that then chmod it. I know I could just chmod it and let it fall through in case it already was ...
2
votes
2answers
535 views

Samba/Cifs: Transferring executable permission bits to linux client

I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server. Here is our setup: Linux server exporting some directories via ...
0
votes
2answers
261 views

File permissions changing on save ( using root )

Using a fresh installation of CENTOS 6.2, when I connect to the server ( SFTP mount with nautilus ) and edit files, no matter what permission the file had before, it is reset to 700, ...
0
votes
1answer
100 views

Permissions of httpd apache2 and running certain php commands

I ran some recursive linux command that changed the permissions to all my website files.. all files are now like -rwxrwxrwx and all dictionaries are. drwxrwxrwx I don't know if that has anything to ...
9
votes
2answers
580 views

My server Admin wants me to set public write permissions on a directory

I'm relatively new to web development, so please be patient. I'm primarily an iPhone developer, but have recently done a site for someone else using shared hosting. I could write to files in PHP on ...
5
votes
1answer
109 views

Who is the “author” of a file (Gnu “ls” manual)

In the manual for Gnu "ls," I see this: --author with -l, print the author of each file Does anybody know what the “author” of a file means in this context? This is (maybe?) not the ...
1
vote
1answer
2k views

Permission error with git on linux with bare shared repo

I've got a bare central repo that has this option turned on: git config core.sharedRepository true For some reason, the other users on this CentOS machine that pulls/pushes from the central repo ...
0
votes
5answers
2k views

User permissions for both apache and local user

I'm trying to allow permissions to files on the /home/user1/public_html/ folder for both user1 and for www-data (apache). I've been instructed to run these commands: sudo chown -R www-data:user1 ...
1
vote
3answers
2k views

Linux WebServer, folder by permission 755 not writeable

I run a new Linux web server ( Debian , Plesk ) I want to install some php application that need writeable folders, If I set the folder permission to 755 still web application can't write on folder, ...
1
vote
1answer
1k views

Don't have access to view objects permissions

Last week I provisioned a new Windows 2008 R2 box from my hosting company and copied my databases files to the file system. It became necessary to reimage the OS on the box so they left the database ...
0
votes
1answer
182 views

Setting Directory Permissions in Windows Server 2003R2

Personal Context: I am tech savvy, but in a dev sort of way, weak on the admin side. Apologies for missing details. I have a virtual server running Windows Server 2003 R2. I have sshd running via ...
0
votes
1answer
146 views

Linux (ubuntu) as NAS permission help needed

Ok, i have a user "nas" on my ubuntu server. In his home directory i have a "shared" folder but I also want to let a user create their own folder at this level for personal use. so any user that logs ...
0
votes
2answers
982 views

Truecrypt & apache, how to manage the file permission?

I'm on Ubuntu. I use a truecrypt container to store all my working files. My apache server run with the user www-data ( the default setting ). When I mount the container using truecrypt, all my file ...
2
votes
1answer
2k views

What is the default account/group for SQL 2008 R2 cluster permissions and can you create/add them?

Last night we had an issue where the permissions were altered a SQL 2008 R2 Cluster Instance, such that the instance could no longer access the shared drives where the system databases were installed. ...
2
votes
3answers
2k views

Retrieve list of users/groups that have access to a network folder and its subfolders?

One of our users is requesting a list of the users and groups that have access to two folders on the network, as well as all of the subfolders of both of these folders. There are hundreds, if not ...
0
votes
1answer
4k views

icacls in windows 7 does not give full permission to write files in root drive

icacls in windows 7 does not give full permission to write files in root drive. We have a very old application based on Omnis7 that needs to create and read/write files on drive C: when running as a ...
1
vote
3answers
176 views

The secure linux server by dir permissions

I am using php on Linux / Apache server. I have Three type of directories like as |_ Writeale Directory |_ PHP Files |_ Image Files Writeable Directory would used only by PHP to writing some txt, ...
7
votes
3answers
4k views

A network share folder is invisible to users

I have a network share folder that I was recently cleaning up permissions to. I took off the four individual names from the access permissions to the folder, and added a new security group (Universal) ...