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)

3
votes
1answer
1k views

OSX 10.8.3 creating/editing files on Windows 7 share creates weird blocking account [closed]

I have a share on a Windows 7 machine that acts as a server. We have several people on Macs that need to create/modify files on this machine. When one of these people creates a file on the share ...
1
vote
1answer
411 views

Why are nginx configuration files read-only on FreeBSD?

After installing Nginx on FreeBSD 8.3 from ports, the configuration files in /usr/local/etc/nginx all have read-only permissions. Is there a reason for this? Am I not supposed to edit them? Or can I ...
1
vote
1answer
656 views

Windows Folder Permissions Script

One client has a Windows Domain with Home Folders, directed to a share using a GPO (\server\share\%username%). The share has all users full control and the sub folders need permissions only for the ...
0
votes
2answers
66 views

File permissions for multi-user process

I want to give a bunch of users (U1, U2,...,Un) on the same Linux server each a directory where they can read and write (D1, D2,..., Dn). So Ui should be able to read/write to directory Di, but Ui ...
1
vote
1answer
267 views

Create files but not modify the created file or any other file in a directory

Is it possible using Windows standard tools to create such a permission model where a user can create a file in a directory, but once the file has been created (file handle closed), the user can not ...
0
votes
2answers
7k views

How to tell rsync do not check permissions

I have two directories with same PHP application in every of them. I want to execute rsync -rvz from one, source directory to another, destination, so rsync will copy changed files only. Problem is ...
1
vote
1answer
1k views

SBS 2008 Folder Share permissions mess

I came across this question asked a couple of years ago about setting permissions via a script and was hoping that there might be a similar script that would work for me with the issue I am having. ...
0
votes
2answers
581 views

Windows Security: can user read local files with only 'Log on as a batch job'?

A Windows Scheduled Task runs as serviceAccount@domain.tld on a 2008R2 server. The server's local disk has some files that Joe Blow should not see. Joe Blow knows the serviceAccount password. As far ...
0
votes
1answer
129 views

Sharing folders with other user on Ubuntu 12.04

I have recently set up a server on Ubuntu 12.04 . I have an mail server hosted on the same server. Now, there are a number of users with email id at my domain who can ssh to my server to see the ...
1
vote
2answers
76 views

ubuntu file permissions under /

I want to make my ubuntu 12.04 server a little more secure. Actually I would like to have paranoid security as of file permissions and a usable system as well. (this is my main goal) For starters I ...
1
vote
1answer
1k views

Change USB device owner

I have a USB printer that when I connect to the computer it's owned by the user root and the group lp, and it's file permission is rw-rw----, so I have to print via apache/php script. To solve this ...
3
votes
2answers
6k views

ICACLS Substitute Failing “No mapping between account names and security IDs was done.”

Running a really simple ICACLS command after I copied a directory over to a new server with permissions intact. I need to change a SID from an old server user group to a new server user group. ...
1
vote
1answer
294 views

How to give a user write permissions to a file whereas the group he is in is denied to write (in Active Directory)?

For example, I have a group Department A. Among other users, I have a user named Boss. I want to create a file that can be changed only by Boss, and be readonly for the other users from that group. I ...
-2
votes
1answer
53 views

Read a file created by root user on unix system [closed]

I have a file created by root user on unix system and the file is assigned to a particular group.All I want to do is read that file by logging in as user which is not root and not a part that ...
2
votes
1answer
601 views

Using auditd to watch a directory non-recursively?

I'm working on a Cent 6 Cpanel machine, and some mystery script is changing the permissions of home directories (!) to 777. I've ruled out all the easy fixes, so I just need to set up a watch on the ...
0
votes
3answers
464 views

Give Apache write access to my home directory

On my server I have set up several user accounts for different purposes to separate my personal websites from my semi-pro websites. Some of these websites are Wordpress sites and I'm trying to enable ...
5
votes
3answers
206 views

How to maintain file/folder ownserhip and permissions over time?

We have folders on a number of our (debian) servers that require various users (both real and system) to be able to read and/or write. We've come up with a particular file permissioning and ownership ...
5
votes
1answer
22k views

What is the t in drwxrwxrwt or the value of t? [duplicate]

ls -al / shows a folder: drwxrwxrwt 2 root root 4096 Feb 26 09:00 tmp What does the last character t mean in drwxrwxrwt?
-1
votes
1answer
500 views

Why can't my apache open stream? [closed]

I'm trying to copy and unlink files on my apache server. I'm trying to doing this about 1 hour ago. I can't imagine what's the problem. This is my source: if ...
0
votes
1answer
141 views

Monitoring auth.log

Say you want to be able to easily see who's logged in to a system recently. auth.log has this information, but it's very cluttered with crontab entries and you have to use sudo to read it. ...
1
vote
1answer
312 views

Set default file permissions: Creating files on Linux with group write permission

I am running openSUSE 11.0 on a server which is copying (and processing) a lot of files. The new folders, which were received by some service running, have the default permissions drwxr-sr-x and the ...
1
vote
1answer
116 views

Apache2 server not executing CGI script

I have a local Apache2 server (installed with LAMP). The Apache2 directory is /etc/apache2 and my document root is /var/www. Under the doc root, there's a /cgi-bin directory, in which my script ...
-1
votes
2answers
47 views

What is a good approach to install a webserver? [closed]

I wan't to install Lighttpd on my V-Server under Debian. I'm new to Linux and I wonder if I should install Lighttpd as root or as a new User to avoid security issues?
1
vote
0answers
293 views

As root, how do I create a limited FTP user who only has read access to a few folders?

I have a website and I have a super admin FTP access. Now, I am in need to share the FTP credentials with others and I wish to give them FTP access in such a way that they could be able to access only ...
0
votes
2answers
976 views

unix: overwriting a file written by another user in same group

OS: Ubuntu 12.04 I have a directory what has given write permission to group foo. Two users bar and baz are part of the group. Both can successfully write files to the directory. However, baz cannot ...
0
votes
4answers
2k views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
1
vote
1answer
2k views

ftp user to var/www on ubuntu with correct permissions

I have the following config on my Ubuntu 12 server: 1 - vsftpd installed and configured with the config file settings: listen=YES anonymous_enable=NO local_enable=YES write_enable=YES ...
1
vote
1answer
617 views

How to give “only append” access to user in windows , for logging purposes

I have a powershell script which takes some data and dumps into a logfile whenever its executed.The script resides in single location and shortcut is distributed to all. I want to log the events on ...
0
votes
1answer
55 views

set write permissions on a file for one person everybody else just read

i have a windows server 2003. What permission do i have to set to allow one person to have read write access while everybody else has just read
0
votes
1answer
1k views

User cannot access a share folder, even when account is member of a Full Control group for the Share

Last week, I set up Windows Storage Server 2012 for a customer. I'm not normally a sys admin, so it was a fun bit of learning. I created 3 Shares for the customer and a number of user groups that ...
1
vote
1answer
775 views

Group permission inheritance and umask

Edit: in my case virtual_use_local_privs=TRUE did the trick. i'm trying to force newly created files and directories inside foo/ directory to be owned by nginx user and to set the right permissions ...
0
votes
1answer
178 views

network share special permission - cant create directly on share must drag files over

I am attempting to take away delete privileges on a test network share but still allow for folder and file creation. My users tend to drag directories inside directories and cloud based backups get ...
0
votes
1answer
194 views

How to create a shortcut to a file on Fileshare and hide the path from user

we are sharing a certain powershell script to our remote users; the powershell script wuill be hosted on the file share and the link(shortcut) to the bat file(which executed the powershell script) ...
2
votes
1answer
393 views

How do I see if a file is readable by a specific user on Linux?

I have a complicated file hierarchy and I don't want to check the permissions on each directory. Is there any way to find out immediately if one file is readable by a given user? (outside of logging ...
1
vote
1answer
378 views

Windows server 2008 r2 unable to view folder as administrator

I have a windows server 2008 r2 install that I inherited and am in the process of prepping for rebuild. Of all the folders of data I had to move to our new machine, there is 1 folder that I, as admin, ...
3
votes
1answer
5k views

mysql doesn't start after relocating data dir

I have a web-server where the default installation of mysql places all its database files in /var/lib/mysql. The partition where /var is mounted has only 2GB of space, so after running in space ...
0
votes
1answer
4k views

Allow shared folder access only to specific clients

I am kind of new to networking and I am trying to resolve the following situation. I tried to find a solution but I couldn't find anything proper that suits my needs. Maybe anyone here could give some ...
1
vote
1answer
131 views

File Permissions - Service vs Console

We have just setup a new build Windows 2008 R2 server for our Jenkins CI system. Our issue appears to be related to file permissions being different depending on whether a process is a service, or a ...
2
votes
1answer
550 views

Restricting access to Share using both an AD user using a specific Computer

The Environment: One AD domain that is not managed by local admins (can’t edit, can’t add GPO, etc.) Users have accounts here. Call this AD alpha This AD Alpha has a trust to a local AD domain (Call ...
0
votes
1answer
285 views

Run Git as Apache on remote server

I’m trying to set up a workflow where my code base is version-controlled under Git, and then deployed to a live server over SSH. I wrote a simple shell script that I run from my machine that opens an ...
1
vote
6answers
2k views

ssh publickey doesn't work

UPDATE: I've solved this strange problem by simply restart sshd. However, I'm still wondering why, because I didn't change any configs since the server started. I have 2 servers, one installed CentOS ...
1
vote
1answer
668 views

Rsync to windows FTP over curlftpfs fails to set permissions

I'm transferring some large files (1.5Gb) to a windows FTP server in a cronjob. It's going over a 2Mbit ADSL line, with 512Kbit upstream. So it takes forever, and can be prone to dropping to line. I ...
1
vote
1answer
406 views

How to check for the existence of unreadable files before passing it to a fastcgi backend?

I have several PHP sites which I want to separate in terms of permissions. Therefore I created a new user and set up a PHP pool for those users. Consider the below configuration: PHP-FPM is running ...
-2
votes
1answer
70 views

Investigate why user has access to a folder [closed]

How can I understand why a particular user has access to a particular shared folder? Security tab of the folder contains a long list of groups groups and the user is not a direct member of any of ...
2
votes
1answer
8k views

Possible to get a listing of all folder permissions/access on Windows Server 2008 R2?

We are migrating one of our legacy servers at work to a new data center (different domain, etc...). This server has a folder with MANY nested folders inside of it. Each of the nested folders may ...
2
votes
1answer
489 views

Restrict file access to append only

I have a directory with log files and I'm putting logs from script launched by users into them. Logging with syslog isn't possible in this case. I want the users to have only write permissions on ...
0
votes
2answers
470 views

How do I make it so that files created in a directory have a certain group ownership?

In a modern Linux distro, I want the files created under /path/to/files to have a default group of mygroup. It seems on some distributions this can be done by grpid, which doesn't exists on Ubuntu. ...
1
vote
0answers
1k views

Windows Server 2008 R2 SMB share, deleted files and folders lock up

We work in a mixed Mac / PC environment. Desktop operators work on Mac only, whereas our backend services are Windows based. Also some manual operations are done on Windows 7. We call our problem ...
1
vote
2answers
789 views

nginx and php-fpm - Cannot write PHP error log

I am using Nginx and PHP-FPM on Linux. I am not sure whether the issue is that PHP is not writing to the location specified in the PHP.ini, or if it just isn't working at all. Some of the logs ...
2
votes
1answer
794 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 ...