3
votes
3answers
196 views

Maintain setgid bit (after bower install or gulp build)

We run web servers where we have the following situation: The www-data user runs the web server and must have read+write access to the files The deploy user deploys all the code The bob and alice ...
-1
votes
1answer
71 views

Access files/ folders remotely by authentication via browser/ web [closed]

We have some requirements where we want to allow our clients/ users to download files/ folders from our file server via browser/ web. We have a many different directories created on our file server ...
1
vote
2answers
59 views

How to allow an arbitrary group to mount a file system?

As far as I understood from the mount man page, by default only root is allowed to mount a filesystem. Filesystems with either the user or the users option can be mounted by any user. The owner and ...
2
votes
1answer
43 views

File system permissions lost or unseen

Ok, I have an apparent WTF question here. I log as root, I run: # ls /var/lib/gitolite3/.gitolite/logs/ -l -rw-rw-rw-. 1 gitolite3 gitolite3 5570 Aug 2 21:00 gitolite-2013-08.log No problem? I ...
0
votes
1answer
40 views

Stop certain users accessing C:\Source by security group

We have a security group called SourceCode which allows certain users access to the SVN / GIT repository. This allows them to get the latest repo and store it in C:\Source. This works fine but the ...
0
votes
1answer
103 views

/dev/* permission

I accidentally sudo chmod 666 /dev/*. And now many devices in my computer messed up. I have fixed some of them like /dev/shm, /dev/snd but I am not sure about the rest. What's the correct permission ...
3
votes
1answer
95 views

Storing valuable high-resolution images before root

I have a busy celebrity stock photo website and I am trying to hide the photos behind the website root, so they can't be accessed via URL, but my ASP script can read the photo and sends it to he ...
6
votes
1answer
792 views

Is there a command that produces a diff of the permissions of target files?

Just as it sounds, I'm trying to find out if there is a (standard) command that will produce a diff of the permissions between two files and/or directory trees. Ideally it would put out a patch file ...
10
votes
5answers
2k views

Why is /dev/urandom only readable by root since Ubuntu 12.04 and how can I “fix” it?

I used to work with Ubuntu 10.04 templates on a lot of servers. Since changing to 12.04 I have problems that I've now isolated. The /dev/urandom device is only accessible to root. This caused SSL ...
2
votes
1answer
393 views

Recursively apply ACL permissions on Mac OS X (Server)?

For years I've used the strong-armed-duo of these two suckers... sudo chmod +a "localadmin allow read,write,append,execute,\ delete,readattr,writeattr,readextattr,writeextattr,\ ...
2
votes
1answer
135 views

Only allow root to change filesystem

The VPS I manage uses a simple hard link rsync archive daily backup system saved to a loop file. This is great, because each backup only takes up as much space as what has changed each day, and all ...
3
votes
2answers
449 views

Permission audit on Windows file system

We're connecting a SharePoint 2010 to our file system so it can crawl and index the files on our network. However, the files have incorrect permissions in many cases and so we need to perform a ...
4
votes
2answers
621 views

ESENT fails to determine the minimum I/O block size

I'm trying to get RavenDB running in embedded mode on a shared/multi-tenant webhost. RavenDB relies on the ESENT storage API. The filesystem on the hosting machines is locked down. The RavenDB ...
0
votes
1answer
32 views

How are file locks implemented in mac osx

On macs you have the option of locking a file in order to prevent its deletion. But this is not done by chmodding u-w or something like that, because locked files can have write permissions. So what's ...
5
votes
4answers
1k views

Clarify something about Linux directory permissions

I'm almost ashamed to admit that there is one thing I am still unsure about when it comes to file permissions. Let's say I have a directory with 750 permission (drwxr.x...). Then I create some ...
1
vote
3answers
2k views

Who is user 6226?

In a Drupal installation on CentOS, there are many folders with the following permission: drwxr-xr-x 8 6226 6226 4096 Jan 7 21:46 cck The user/group 6226 was not created by me. How come ...
0
votes
3answers
324 views

web files permission setup

I could not find out what is the best way to setup your web files under UNIX OS. I have Apache running on Centos OS, I put my root directory under /var/www/html Here is the example: /var/www/html ...
0
votes
1answer
190 views

Apache Permission issue

How do I resolve an issue of permissions in apache. The initial task that I am trying to get working is to upload a mura plugin the the temp directory of ColdFusion9. However, I have since discovered ...
6
votes
2answers
2k views

How can root user create file/directory unwritable for itself?

Normal users can chmod files to make them unaccessible like evgeniy@ubuntu:~$ touch test evgeniy@ubuntu:~$ chmod 444 test evgeniy@ubuntu:~$ echo 'test' > test bash: test: Permission denied Can ...
0
votes
1answer
423 views

Plesk hosting on MediaTemple DV

We have a MediaTemple dedicated virtual running Plesk. The problem we're having is that changing the permissions of files on the server to be writable by server owner (apache) is conflicting with the ...
3
votes
2answers
93 views

How can I reset the permissions of /bin /boot /etc and /dev to orignal owner, Ubuntu?

I accidentally changed the ownership of the /bin, /boot, /etc and /dev recursively to nobody:nogroup using chown when I misplaced a forward slash! How can I resort the original file ownerships? I've ...
1
vote
2answers
100 views

How can you make a Windows USB HDD Modify All for All Users

I use a USB HDD a lot between lots of different Windows Boxes. What I find after a while is that there get to be lots of different Permission on the files in some cases stopping me looking at files ...
1
vote
2answers
76 views

Linux filesystem permissions

If I have this folder: /var/username/secret/ that is 770, then can a file in /var/username/secret/file that is 0777 be read/written by anyone on that same server (shared hosting)?
0
votes
2answers
530 views

How granular is too granular with file permissions?

I understand that some products and tools need to have extremely granular permissioning, but what about the underlying filesystem? In a related question, I asked about filesystems than closely compare ...
3
votes
2answers
263 views

What filesystem comes closest to matching NTFS for support of ACLs, and highly-granular permissioning?

It seems that most other filesystems handle the basic *nix permissions (ugo±rwx), with maybe an addition here or there. Or can be "made" to handle ACLs through the use of other tools on top of ...
2
votes
4answers
1k views

Filesystem permissions on Unix

If I have a folder specified as not-readable. Are all folders under it also non-readable? For example, my shared hosting home account directory is not accessible to other accounts, so, are all folders ...
11
votes
6answers
8k views

Copy permissions to identical tree on linux / unix

i have a tree of files with correct permission. then i have a (filewise) identical tree (with different file contents tough) with wrong permissions. how can i transfer the permissions layout from ...
3
votes
1answer
433 views

Permissions for Multiple User VPS

I have a Linode VPS server that I have recently setup and am migrating to from Mediatemple, where I have a VPS managed by Plesk. I dislike the Plesk interface and the mess it makes of a lot of things, ...
3
votes
3answers
17k 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 ...
0
votes
3answers
502 views

Controlling UNIX directory contents user group ownership

I want to create a directory where any user can create a file, but after creating the file the user and group ownership for that file are set to predefined values. I know there is a way to do this ...
8
votes
4answers
6k 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 ...
2
votes
2answers
617 views

How can I access user files on a disk moved from a Windows 7 machine to an XP machine?

I moved the hard drive from one machine (Win 7) to another (XP) and now certain folders tell me "Access denied". I am logged in as an administrator. I had a different account on the other machine. ...
18
votes
7answers
15k views

How to workaround the NTFS Move/Copy design flaw?

As anyone that has dealt with file server permissions is aware, NTFS has an interesting design feature/flaw known as the Move/Copy problem. As explained in this MS KB article, the permissions for a ...
4
votes
2answers
5k views

file ownership for new files with administrator - why is it giving ownership to the group administrators?

I am logged in as administrator and I right click on a folder and then go to properties, then the security tab, then advanced, then the owner tab. I am not on a domain. I see that the folder has a ...
6
votes
7answers
18k 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 . ...
5
votes
3answers
3k views

Directory that a user can read, but root can't?

There's a directory underneath my homedir called ".gvfs". As my regular user account, I can read it just fine: ~ $ ls -lart ~raldi/.gvfs total 4 dr-x------ 2 raldi raldi 0 2009-05-25 22:17 . ...
17
votes
2answers
12k views

What is the sticky bit in UNIX file systems? When is it used?

What is the sticky bit in a UNIX file system? As an admin when and how would you use it?