The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
250 views

How to access data in different userhomes from a single non-root user

I have Owncloud on my server running, and it saves uploaded files unter /home/uid/files. But Apache is running as a non-root user, and it can't access(write) the files under /home/uid/files. What is ...
0
votes
2answers
220 views

File system cache / drop cache(debian)

if i play those command : sync echo 3 > /proc/sys/vm/drop_caches Will the server be force to read the correct file on disk until i put 0 again ? Or this work only one time, and if i want to ...
1
vote
1answer
40 views

list of files NOT in use by process

How can I exclude the output of lsof -c <processname> /path/ from a list of files in /path/ for example find /path/ -type f I was thinking something like this: find ...
0
votes
1answer
83 views

How to distribute files to another server

Let's say I have 2 servers: web server (apache, php, mysql) storage server (lighttpd) - I wanna store a lot of images How can I upload images to storage server via a web interface stored on web ...
2
votes
2answers
167 views

What are these zero-length files created by Apache in the tmp directory?

Any ideas on why apache (httpd) creates these files in /tmp? I'm on Redhat 5.5 and Apache 2.2, mpm-prefork. -rw-------. 1 apache apache 0 Aug 14 12:46 filec1puD5 -rw-------. 1 apache apache ...
5
votes
1answer
1k views

Why does getfattr not display anything for a file that has the extended attribute bit set?

I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess ...
4
votes
3answers
472 views

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 ...
0
votes
0answers
171 views

Using GlusterFS on a mounted volume

I have a GlusterFS working on my Ubuntu 12, if I configure to sync by a local folder, everythings works great. But if I configure to sync on a mounted volume, don't sync. What should I do? I'm on ...
2
votes
2answers
210 views

Weird 0 byte files in root

In the root of several of our old CentOS machines (CentOS release 5.8 (Final)) In the root of the ext3 file system I see the following: I've removed some of these, but they seem to continue coming ...
0
votes
1answer
325 views

nginx php-fpm uploaded files have nginx ownership after executing move uploaded file

I have a problem with php 5.3.6 using PHP-FPM and file uploads. My Nginx runs as user nginx PHP-FPM uses pools configured for each vhost. For example a user: test group : test runs one pool. When ...
1
vote
1answer
85 views

Cygwin creates files with special (shared) icons on windows

I use cygwin to transfer files between linux and windows machines. Everytime I transfer a file to a windows machine it adds an extra shared user icon on the file's or folder's icon itself. This also ...
0
votes
1answer
51 views

How to find out what's automatically processing a file when placed in a folder

When I place a file in a particular folder, it gets deleted within a few seconds. I think there is some process that is doing something with the data in the file and then removing the file. What's ...
2
votes
1answer
2k views

How do I hide a directory of text files on IIS?

I have a directory of text files on IIS. I would like this directory to be hidden. I have set the web.config as follow: <?xml version="1.0" encoding="utf-8" ?> <configuration> ...
7
votes
4answers
1k views

How can I easily confirm in Linux that two separate directories have the exact same contents?

CentOS 5.x Mq question seemed similar to this one but I wasn't sure... I have two servers (completely isolated from each other), each with a directory and sub-directories that should have the same ...
-1
votes
2answers
265 views

How download all files, directories and subdirectoires with wget [closed]

I have some links such as: http:/foo.com/1/1/1/1.jpg http:/foo.com/1/2/2/2.jpg http:/foo.com/1/3/3/3.jpg ... How I can I download all files and directories with wget?
0
votes
2answers
137 views

Recursive deletion of files (bash)

I'm familiar with how I would tackle this with PHP, however I'd like to get some more practice with bash scripting. The task is to delete all files in a folder, which itself contains subfolders ...
1
vote
2answers
104 views

How to make a PHP file unavailable to users?

I have a file queue.php which I have set up as a cron job. I don't want users to be able to access it. How can I do this?
2
votes
1answer
82 views

Migrating Oracle DB to another operating system from Red Hat Enterprise by using a disk image

I have a Red Hat Enterprise server disk image that Oracle DB is installed on it. My question is : Is it even possible to use this disk image in order to setup same DB on another Oracle supported ...
1
vote
2answers
311 views

Why qmail queue is full of files?

Yesterday my server stopped working properly. After some digging, I found that the problem is that /dev/sda1 run out of inodes. Now I'm looking for some files to delete and I've found that at the ...
3
votes
1answer
47 views

How do I find files with “#” in their names, on Windows Server 2008?

I'm trying to locate all the files on my server which use a # as part of their name, and can't seem to get the servers' file search feature to restrict its result to only # files. How do I go about ...
2
votes
2answers
2k views

Comparing owners and permissions of content of two folders?

How to to compare owners and permissions of content of two folders? Is there something like diff command which compare recursively two folders and display owner and permissions differences?
1
vote
1answer
76 views

How can I see which applications have accessed a certain file within a given time period on Linux?

Is it possible on Linux to find out which applications have accessed a certain file in the last 24 hours? I've come with a few possible solutions: Watch lsof. It works, but it's constrained to ...
3
votes
1answer
2k views

How to let the users can edit in a shared folder but not let them to delete files inside

I'm an IT technician in a school. We're using DC and File server so the teachers uses a domain user by their own name. There are folders from the File server that are shared to the teachers to use, ...
0
votes
1answer
299 views

IIS Web Server file change monitoring tools?

We are looking for a tool to run in the background of out Server 2008 R2 IIS web-server. We want a tool that can tell us when new files re created, or changes are made to existing file to watch for ...
4
votes
1answer
792 views

how to delete a insane number of files from an unix system?

On a system with linux there are 2 folders with aprox 12gb used(out of 500gb) and all inodes are used by some s
0
votes
1answer
35 views

How to access and store data on multi-server setup

My application uses a RESTful api to receive requests from users and generate files on demand. When the file has been made, it responds back with a dl link to said file. When this was on a single ...
2
votes
5answers
5k views

Get total files size from a file containing a file list

I have a file containing a list of files that I would like to know the total files size. Is there a command to do so? My OS is a very basic linux (Qnap TS-410). EDIT: A few lines from the file: ...
19
votes
4answers
13k views

How to move files between two S3 buckets with minimum cost?

I have millions of files in a Amazon S3 bucket and I'd like to move these files to other buckets and folders with minimum cost or no cost if possible. All buckets are in the same zone. How could I ...
1
vote
1answer
57 views

Bash: checking uniqueness of filenames, and renaming or removing files

I'm working in CentOS with bash and I have files in a directory as follows: 16948.png 16948_thumb.png 16948-1_thumb.png 16949.png 16948_thumb.png 16949-1_thumb.png 16950-1.png ...
0
votes
5answers
695 views

Looking for suitable backup solution Mac OS X to offsite Centos 6 server 1TB of working data

I'll start by saying what we have in place currently: On site file server (Mac OS X Server) that is used by GFX designers and they have a working 1TB of data. Offsite server with 2TB available ...
4
votes
3answers
820 views

Is it possible to GET or PUT two specific files at a time using SFTP without wildcard?

From a directory of dozens of files, is it possible to GET or PUT two files at once using SFTP? I do not want to use a wildcard because I don't necessarily know the names of all the files and don't ...
1
vote
1answer
66 views

What are the ramifications of UNIX files and directories where owner doesn't have group rights to the file?

I've a group of users, all of which are in a single group. Then I have a Java daemon that is a member of a seperate group. I want both the users and the daemon to have access to the same set of ...
2
votes
5answers
905 views

Safe way to determine size of a file using unix tools?

I wonder, what's the best way to determine the size of a file using common unix tools. I need to determine the size of a file in bytes in a shell script. The problem is, that the shell script needs to ...
0
votes
3answers
393 views

why do files need to be world readable for Apache to server them.

why do files need to be world readable for Apache to server them? I would think that if they are owned buy the Apache user or group. And the files are readable and executable that would allow Apache ...
0
votes
1answer
154 views

rsync file list over ssh generated by remote script

for f in `ssh $SSHCRED "~/file-list.sh"` do rsync --progress --times --partial --append --rsh=ssh -r -h --remove-sent-files $SSHCRED:$f $OUTDIR done This is what I do today. I'd like to instead ...
0
votes
2answers
67 views

File management issues in Windows 7 and IIS

We have a web site that used to run on a Windows 2003 server with whatever version of IIS that had; I think IIS6. That site has been moved to a new server that's a Windows 7 server with IIS7. Since ...
2
votes
1answer
78 views

getting a list of files from secure server

i am trying to get a list of files from secure server to compare them (using diff) to the ones i modified on local version (unfortunately the company i work in is not using subversion nor git yet) i ...
-3
votes
2answers
217 views

How to sync windows server folders with a AIX server using script?

Everyday I would like to sync the files and folders in the windows server with AIX server and vice versa. Does anyone suggest me, How I can write a shell or bat script to achieve this?
0
votes
1answer
190 views

SSH/SCP filebrowser supporting server hopping

To access our file server here, I need to connect first to a server which is public available and then open a second ssh connection to that server. If I need to copy files, I first need to copy them ...
2
votes
1answer
85 views

File storage for replicated front-end web servers?

We are a company running a website with ~800k unique visitors each month with a constant growth rate of 35-40%. We have just gone from having one server to a dedicated mysql database and an ...
3
votes
3answers
385 views

Ramifications of rebooting a file server when files are open

This may prove to be a stupid question, but I've scoured in internet and found nothing to that gives me a concrete answer. I'm curious as to potential consequences of a file server being rebooted or ...
1
vote
1answer
3k views

Windows Server 2008 + IIS7: .ogg files can not be played

I have the strange trouble. There are .mp3 and .ogg files in the folder of web application in my server (IIS7.5, Windows Server 2008 R2). Web application has flash player. It can play .mp3 only, but ...
3
votes
1answer
187 views

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 ...
0
votes
2answers
243 views

How to write robust automation scripts for large scale data management?

I have been needing to automate the moving of quite large amounts of data (possibly around 1TB/day+ in average. 60TB so far, and counting) to a separate, remote storage system. I have so far been ...
9
votes
6answers
1k views

Files disappearing on linux server

I've got 4 specific files that seem to keep disappearing from a user's home directory. As far as we know, there are no cronjobs or other automated tasks that would be removing them. I've setup auditd ...
1
vote
1answer
318 views

ASP.NET, reaching the limits of DFSR, and file storage sharding

We run a popular web app, and our backend file storage exists on a file server, replicated to another file server for failover with DFSR. We are reaching the theoretical limits of DFSR, and therefore ...
0
votes
1answer
1k views

PHP Session File Stored in Temp Directory - Apache

I am having a slight problem...I have a server that I set up using AppServ 2.5.10, running Apache 2.2.8 and PHP 5.2.6. This is running on Windows Server 2008R2. The problem is in order for the ...
1
vote
3answers
660 views

Simple easy to use CLI file index search on unix?

I need a simple unix utility that would allow me to search within files quickly and with basic parameters (this folder, not this kind of files...). Currently I use a hand crafted find function with ...
0
votes
2answers
284 views

synchronize files between remote sftp location and local

I am facing a quite familiar problem but have no clear idea on how to handle it. I'm a backend developer and i write my applications using Zend Studio. My employer requires me to work on a remote ...