A directory, also commonly called a folder, is a filesystem object used for organizing files and other directories.

learn more… | top users | synonyms (3)

0
votes
2answers
154 views

nginx rewrite to alphabetized subdirectory

I'm trying to convert the following Apache mod_rewrite rule into an appropriate nginx format: RewriteCond %{REQUEST_FILENAME} (.*)/([^\/])([^\/]+)/?$ RewriteCond %1/%2/%2%3 -d RewriteRule ^/?.* ...
5
votes
1answer
278 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
1answer
344 views

Directory structure on Linux EC2

First, I'm a complete newbie to Linux and Tomcat. I'm not technical either. I get my stuff done by feeling my way around the dark until things work. I do read a lot though. I have a dev machine ...
1
vote
2answers
24k views

Copy a folder and all contents using group policy preferences?

I have used Group Policy Preferences to copy files to client computers many times. I can't figure out if it is possible to copy a single folder (including contents) to a client computer. Am I just ...
7
votes
2answers
997 views

Outlook 2007 Infinite Folder Nesting

There's a user on our exchange who moved a subfolder of his inbox into a subfolder beneath that, and now an infinitely nested folder loop has been created (see screenshot). This is prevalent on ...
2
votes
1answer
224 views

How to enumerate shared folders with ACLs?

Does anybody know how to get the list of locally shared folders with ACLs and export the list to a file?
0
votes
2answers
225 views

How do you reallocate hard drive space between directories in Unix FreeBSD?

I was wondering what it takes to reallocate hard drive space between root directories in Unix FreeBSD? For example, take away space from the /usr directory and add to the /dev. This question was ...
3
votes
1answer
87 views

How To Inherit Parent Directories Group

I have a directory /applications which is owned by root and group git. The problem is when I create a new directory inside /applications, its owned by root and group root, not group git. How do I ...
0
votes
4answers
3k views

Change group ownership of Folders with chmod g+s

I have a folder hierarchy that I want to change the group ownership including any subsequent file/folder additions. I was going to use chmod g+s but I'm not sure if it applies to already created ...
1
vote
1answer
201 views

update tar archive in the relative directory

when I want to create a tar archive in a relative path, I can do this: tar cf archiveName.tar -C relative/path someDirectory but when I want to update the archive, this tar uf archiveName.tar -C ...
1
vote
2answers
132 views

Directory in Linux(ext3) with only 2 files occupies 32000 blocks(16Mbytes)

IIRC my Operating Systems classes, the size of a directory in Linux is given by the number of files it contains([wikipedia link])1 So, why a directory with only 2 files occupies 32000 blocks? # stat ...
0
votes
1answer
4k views

How to list the top level folders of a drive using VBScript?

I'm looking for VBScript code that will list the top level folders of the D: drive and not the subfolders. I use the following WMI query so far but it gives me all folders and goes down to many ...
0
votes
1answer
834 views

nginx try_files confusion

The setup I'm going for is as follows: I want nginx to look for a file in the /test subdirectory, and if it's not there, serve it from it's normal uri. I figured this would be fairly straightforward ...
2
votes
2answers
70 views

Windows 2008 - number of folders

We are using Windows 2008 (EC2) and have application that stores large number of subfolders in a specific folder (i.e. root/subfolder1, root/subfolder2, root/subfolder3 etc.) We are expecting tens of ...
9
votes
2answers
4k views

Where to put www directory on Ubuntu?

I'm a bit scared to ask this because I got so many negative votes for simply asking a question last time, but here goes; Where in the Linux (Ubuntu) directory structure is it 'normal' to put public ...
0
votes
1answer
630 views

Returning first match only with OpenLDAP slapd-meta backend?

I have OpenLDAP configured to act as a metadirectory in front of three different backends: database meta uri "ldap://ldap1.example.com/ou=domain1,o=combined" uri ...
2
votes
3answers
791 views

How to synchronize local directory with another local directory on another partition or disk

I would like to synchronize my local directory content with another local directory on another partition or disk (or e.g. a pendrive). I can synchronize my local directory content with a remote one ...
1
vote
4answers
72 views

Directory name for non-generic Proprietary stuff

Is there a common or standard directory name for the company-specific stuff that exists in a server? This would include any crons, scripts, webserver docroots, programs, non-database storage areas, ...
1
vote
1answer
3k views

How to authorize user for a subfolder

Using Windows Server 2003, I would like to give a user full access to a subfolder. Let´s say I have folder A with subfolders B1 and B2. I observed that when granting authorization to B1, the user ...
2
votes
1answer
1k views

Apache proxypass trailing slash / directory issue

I have a legacy site for a charity running on an old Apache 1.3 instance, behind Apache 2 running proxypass. When a request comes to example.com, Apache 2 sends it internally to localhost:8080 which ...
1
vote
3answers
362 views

Is it possible to redirect to another geographically separate server based on folder-name in URL?

What I'm looking for is to direct visitors to geographically separate servers based on their choice of language. Our URLs are structured like mydomain.com/en and mydomain.com/th (Thai). As on now ...
1
vote
3answers
317 views

/var and /home folders clogged up on cPanel (Linux)

Recently the /var and /home folders have been clogging up on my server and I received a 'critical error' email saying that the /home folder was 100% full. I managed to fix it using the LVExtend ...
0
votes
2answers
105 views

Domain authentication used for kerberos based authentication of users on my server

Suppose a user process has authenticated itself against domain's directory server via kerberos, and then attempts opens a network socket to my server application. My server application has a ...
1
vote
1answer
46 views

common directory for all hosts in a shared hosting

I have many many many domains in a single machine. (redhat apache php mysql) and all have own admin pages. but when I update admin code it is very difficult to update all folders. then ı decided to ...
0
votes
2answers
53 views

Set security on pattern of sub folders (Server 2003)

I have a folder structure similar to the one shown below these paragraphs. How do I change security on every 'Photos' folder without clicking through each individually in Windows Explorer? There are ...
1
vote
1answer
314 views

Full Permissions on Shared Folders for Local Administrators

I am not sure if this is normal or not, however it seems network shares on our domain are given full access to users that are admins on their local machine if the server\Administrators security ...
0
votes
1answer
47 views

Add users to a server folder

I use Windows Server 2003 R2. I am logged in as user Administrator. I want to give myself permission to add a user for a certain folder. I granted myself all possible permissions for the parent folder ...
1
vote
1answer
386 views

IIS7 two directories, one site

I have one site www.mysite.com where I got an application program and now we're going to put our web site here too. The problem is that the application is untouchable, and want to keep it out from ...
1
vote
1answer
327 views

Wordpress htaccess redirect destroys my non-www to www redirect

In my root domain I have an .htaccess to redirect non-www to the www, and to redirect to a subdirectory (containing a temporary website). This is done using the following code: Options ...
1
vote
2answers
327 views

linux: share directory between different users

i need to have this directory, which is created under FTP User1: /home/User1/public_html/jobs_html readable by a different FTP user, call them User2 ... ie, when logged in thru SSH under User2, ...
4
votes
2answers
490 views

How to map a folder to memory?

Is there a way to map a particular folder to memory? Say I have C:\somePath and I want that folder to be in memory at all times and maybe changes are dumped to HDD asynchronously without my notice. So ...
2
votes
3answers
216 views

Is there a Folder/File Syncronization Tool that can generate a synchronization script

I am looking for a tool that can synchronize folders by generating a script that can then be run from a command line, and the script generated does not require the tool to be installed to work. ...
0
votes
2answers
441 views

IIS 7 404 redirect for virtual directories

we are in the middle of setting up a website and one of the developers has asked me a question im a little but stuck on. basically we have a website that a user can visit and create there own ...
1
vote
1answer
912 views

Reset Security on Win7 Windows folder

Is there a way to reset the security settings on the c:\windows folder of Win7. I have found this approach here, but formatting an copying back seems a little complex. Any ideas?
3
votes
2answers
181 views

Linux Directory Structure for non-root users

I am new to the world of Linux and am about to make a complete transition from Windows to Linux so I can really get into it. I understand that Linux has a hierarchical structure however am unclear ...
-1
votes
1answer
59 views

A protected by password directory started to redirect to the home!

Everything was working perfectly a few hours ago, but now, when I try to access one protected directory in one of my websites hosted on my dedicated server that runs Cent OS and apache, it just ...
4
votes
3answers
3k views

nginx: redirect subfolder to subdomain

I'm trying to redirect a subfolder to a subdomain in nginx. I want http://example.com/~meow/ to be redirected to http://meow.example.com/. I tried the following: location ~ ^/\~meow/(.*)$ { ...
1
vote
2answers
424 views

Move content of one folder to another

I Have a directory say abc in var/www/ on my server Now i want to move all the content of abc/ directory to var/www/ What will the linux command for this. New bie in linux
2
votes
1answer
2k views

FTP - How to transfer a directory with multiple sub-directories?

I need to transfer a few gigs of files from server A to B. I own SSH access to server A, but I have only FTP access to B. Since I can not send one .tar file from A to B, for the reason that I can not ...
2
votes
1answer
362 views

Storing user profile in a corporate environment. Where, how and why?

I'm a programmer and don't know much about Active Directory, LDAP, etc. What I'm trying to build is some kind of profile web page for each employee where I work. Something similar to this : ...
3
votes
2answers
77 views

Should http and https requests access the same files

Is it ok to have http and https requests point to the same directory such as var/www/? It seems like it would be alright since when you're say authenticating a user you can just make sure to call ...
3
votes
1answer
1k views

Hide Total Size and Free Space on Network Drives

I would like to know if there is a way, preferably through Group Policy, that one can hide the total size listing and the free space listing on network drives. We have an active directory environment ...
4
votes
2answers
1k views

Account management tools supporting self-service registration and email verification? [closed]

I work in a university environment that has in the past offered services almost exclusively to university affiliates who already have "formal" accounts in central user database. We are increasingly ...
0
votes
1answer
556 views

VirtualHost for subfolder only in Apache

I have an Apache2 server. Most of my sites use PHP. One uses Ruby on Rails. So I want passenger in one subfolder. How can I tell Apache to make a virtual host in just one subfolder for passenger? ...
2
votes
1answer
551 views

Directory inside or outside VirtualHosts?

Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
5
votes
3answers
123 views

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 ...
6
votes
2answers
1k views

Shrink/reset directory size?

Is there a way to shrink a directory entry? My dovecot maildir directories have increased in size from the default 4096 to several megs, and it is messing with disk quotas. The only way that I have ...
0
votes
2answers
728 views

What is the best way to share a folder over the Internet using OSX 10.6 Server?

I have a new OSX Snow Leopard server and would like to be able to have other Macs mount drives from this server over the Internet. FTP is not good enough for sharing files because we want the files to ...
1
vote
3answers
2k views

Real time Sync between two folders on different servers

What is the best way to sync two folders completely in real time over two servers (Ubuntu) in same network? Do you think syncing folders is a better idea than having a shared folder? If a shared ...
0
votes
2answers
570 views

Debian add user permission

I'm giving my friend a host on my dedicated server. I created a new user for him: Debian server. adduser friend Adding user `friend' ... Adding new group `friend' (1000) ... Adding new user ...