Questions tagged [files]

Organized data encoded in a pre-defined format and stored on a filesystem.

In the computational sense, one-dimensional array of bytes stored in a filesystem, typically encoded a pre-defined format, often indicated by a file-extension or "magic number". More "durable" than in-memory storage.

677 questions
5
votes
3 answers

Why is ACL not working correctly with this setup?

I am running Arch Linux on my laptop as a development machine, and I need to grant the users group RW privileges to the folder: /srv/http and all files and folders under it. I made sure that ACL is installed, and then added it to my fstab: /dev/sda7…
Shane Grant
  • 305
  • 1
  • 3
  • 12
5
votes
1 answer

How to distribute files and folders to handle large number of files

I want to manage a huge number of files on my server (say millions). It is needed to save files in two or three levels of folders to keep the number of files in each folder low. On the other hand, it is not good to have many folders to spend…
Googlebot
  • 1,047
  • 2
  • 15
  • 30
5
votes
2 answers

Deny all files in a certain directory using

Im attempting to secure the mod_userdir module in apache.. Currently the directory structure for my users sites is /home/{user}/domains/{domain}/public_html/site The issue is, a number of my users store files that shouldnt be stored in the…
Brad Morris
  • 241
  • 2
  • 12
5
votes
3 answers

directories with two one dot (.) entries

I'm trying to clean up my lost and found, and I've managed to remove most things, but I'm left with "almost" empty directories, like: lost+found/#14042862: total 1324 dr---wx--- 2 76040 43010 4096 2011-04-29 07:56 . dr---wx--- 2 76040 43010 …
Jayen
  • 1,857
  • 4
  • 16
  • 28
5
votes
2 answers

Is it possible to re-cab an Administrative Install Point?

We have Acrobat 8 Pro at work, and our media was painfully out of date. Rather than install all of the machines at 8.0.0 and then do the 6 or 7 consecutive reboots adobe expects you to be ok with I decided I'd integrate the .msp files into the…
5
votes
2 answers

Linux: ps -awx vs. ps -awwx

Does anyone know the difference of ps -awx vs. ps -awwx? I'm tracking down some processes, and I see significantly more information when I add an additional "w". Does this work like in other cases (such as SSH debugging) when you issue multiple…
drewrockshard
  • 1,763
  • 4
  • 20
  • 27
5
votes
1 answer

MySQL and large pages/hugetlb performance gain in numbers?

MySQL has large page/hugetlb support for InnoDB. And there's plenty of posts (example) on the topic. But does anyone have examples of what performance changes they saw ? I have seen other database systems gain performance from using hugetlb. Eg. a…
user53031
  • 51
  • 2
5
votes
2 answers

RHEL5: Can't create sparse file bigger than 256GB in tmpfs

/var/log/lastlog gets written to when you log in. The size of this file is based off of the largest UID in the system. The larger the maximum UID, the larger this file is. Thankfully it's a sparse file so the size on disk is much smaller than the…
John Kugelman
  • 103
  • 12
5
votes
2 answers

Disk fragmentation when dealing with many small files

On a daily basis we generate about 3.4 Million small jpeg files. We also delete about 3.4 Million 90 day old images. To date, we've dealt with this content by storing the images in a hierarchical manner. The heriarchy is something like…
Zorlack
  • 395
  • 1
  • 5
  • 13
5
votes
1 answer

How to revert the compressed attribute on files in Windows for a whole drive

Someone at my job (a sysadmin) actually performed a "cleanup" task on WinXP which at the same time compressed all the files on my HDD with the Windows compressed file attribute (Filenames get blue in Windows Explorer) I don't actually need my files…
MaxiWheat
  • 237
  • 5
  • 12
5
votes
2 answers

How to manage a modified copy of a file?

Following this answer, I want to make a copy of OpenSSL's configuration, with a specific set of changes. The original file is out of my control, so I can't make it a template. At the moment I have: - name: Make a copy copy: src:…
Petr
  • 581
  • 1
  • 5
  • 16
4
votes
3 answers

Can I validate a large file download piecemeal over http

I'm downloading a large file over http via wget, 1.2TB. The download takes about a week and has contained corruptions twice now (failed md5 check, which takes days to run by itself). Is there a good way to validate the file piecemeal over http using…
davidparks21
  • 928
  • 1
  • 12
  • 27
4
votes
8 answers

How can I retrieve a directory (folder) from Ubuntu Server 14.04 VM without FTP, SCP, or NFS

I am in a bit of a sticky situation. I started my current job a few months ago, and I have a web application running on an apache web server (a simple PHP-based one). I need to update this code to fix some problems in the application, and I'd like…
Brandon S.
  • 149
  • 6
4
votes
1 answer

NGINX Keeps Crashing, Seems to be because of too many open files

As stated in the title, my Nginx server seems to be crashing constantly although the reason is unknown. I do have some hints from my error log which may lead to the issue. I have tried to increase the open file limit, which has some affect, but to…
Nick
  • 41
  • 1
  • 1
  • 3
4
votes
2 answers

Unable to upload a big file to server behind nginx as a reverse proxy

I use nginx as a reverse proxy. Behind it is coming apache hosing foo.com . In order to upload a big file, I set post_max_size = 20M and upload_max_filesize = 20M in php.ini . But I can't upload file with size bigger than 2MB. My nginx configuration…
Mohsen Saberi
  • 95
  • 1
  • 3
  • 7