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

learn more… | top users | synonyms (3)

4
votes
4answers
12k views

Windows7 IIS7: can't turn off read-only flag for InetPub\wwwroot. Can't edit website files!

I finally got PHP running on Windows 7 IIS7 but now for the life of me can't edit files in wwwroot because my editor keeps saying "You don't have permission to save to this location... save in Pete ...
0
votes
1answer
136 views

IIS / Virtual Directory authentication

I have an IIS(v6)/Windows 2003/.Net 3.5(app code, libraries etc.) server hosting a website at www.mywebsite.com mapped to E:\Inetpub\wwwroot\mywebsite, we also have a virtual directory (VirtDir) ...
1
vote
2answers
196 views

Same index for all (sub-)directories?

I was wondering if it was possible to write some .htaccess page that makes the server use an index.php file in a SINGLE directory as the index file for every directory/sub-directory on my server, ...
0
votes
2answers
934 views

How do you redirect pages from a directory to a subdirectory?

I had recently moved all the content on my website from being in the www.mysite.com/shop directory to being in the root directory. This means that I needed to redirect any request to visit a page with ...
2
votes
2answers
785 views

Migrating a NAS while keeping the files and their rights intact?

Right, what we wish (or need) to do is to migrate a NAS from a old machine to a new one. problem is, we wish to keep the folder hierarchie intact, and all the settings and shares. Now I vaguely ...
3
votes
2answers
16k views

How to restrict deletion of a folder on NTFS share, but still allow modify access within folder

I am setting up a set of scan folders from a scanning copier device, and would like to know the best way to protect the folders (for each department) from moving or deletion, but yet still allow ...
6
votes
6answers
4k views

Bash Script To Repair Directory and File Ownership

My client had me deploy some folders out to a bunch of home directories for his customer websites. I did this with a Bash script, but it ended up using the root account permissions. How do I make a ...
5
votes
1answer
712 views

how to pre-create directories on linux for file storage

looking for a way to pre-create directories on linux to be used to store a large number of files. We will be generating file ids using a GUID - I need to keep a copy of these files on a linux web ...
24
votes
4answers
25k views

Where is a good permanent place to install custom bash scripts?

I'm about to install "leiningen" which is a bash script for the clojure programming language with a lot of usefulness... ...but I'm not sure where it is appropriate to -put- a executable script in ...
2
votes
2answers
2k views

Linux - What do the common root folder names mean? [duplicate]

Possible Duplicate: Meaning of directories on Unix and Unix like systems I am rather new to linux, but I have installed a few different flavors. I noticed they all have similar folder names ...
25
votes
5answers
10k views

What do these abbreviations stand for?

Some directories are easy to understand the meaning /usr /bin ... But for the next ones, I have no idea. /etc /opt opt for optional? etc for electronic t...... configuration (no idea for t) I ...
4
votes
3answers
600 views

--prefix to /usr/local or /opt?

For building apps from source like git or rails I've seen recommendations to install in both /opt or /usr/local. From what I've read so for, the designated use for both is about the same and it ...
0
votes
2answers
3k views

How to add another application to apache?

I was following the Zabbix installation tutorial for Ubuntu and it requested that I added a file /etc/apache2/sites-enabled/000-default containing Alias /zabbix /home/zabbix/public_html/ ...
1
vote
2answers
657 views

Changed Folder Redirection on Server 2008 R2, I didn't see anything change

I need some help guys. I've just modified the Folder Redirection Policy on my server at work so the hiarcy resembles windows 7's user folder structure rather than XP. I did this to the book so I know ...
0
votes
2answers
2k views

Problem in accessing Windows shared folder on Ubuntu using terminal

Description I have 2 systems with me, one running on Windows(Host) and one on Ubuntu, both on a LAN. On the Windows(Host) I develop software intended for the Linux system and because the Linux system ...
1
vote
1answer
231 views

Mod_rewrite to eliminate query strings

I have been working on this for a while but I'm not finding exactly what I am looking for. I am writing a webapp to let my users create and publish pieces of HTML content in a domain and URL folder ...
4
votes
1answer
9k views

Nginx: Rewrite rule for subfolder

I have a subdomain where I want to keep projects I am working on, in order to show these projects to clients. Here is the configuraion file from /etc/nginx/sites-available/projects: server { ...
2
votes
1answer
6k views

How to configure custom error page in Plesk 9.3 for non existing folder? [closed]

I'm trying to configure Plesk in order to show website visitors a custom error html. The current hosted site is an ASP.NET site. This site shows its custom errors on error403.aspx and error404.aspx ...
1
vote
6answers
1k views

Delete files from directory: memory exhausted

This question is a logical continuation of http://serverfault.com/questions/45245/how-can-i-delete-all-files-from-a-directory-when-it-reports-argument-list-too-lo I have drwxr-xr-x 2 doreshkin ...
2
votes
1answer
1k views

Plesk Folder Structure Doesn't Allow Creating Folders

i use kohana framework which have 3 folders applications, system and public. I uploaded public folder to httpdocs but applications and system folders should be away from httpdocs. I should upload ...
4
votes
1answer
598 views

Delete a directory with pipe (|) in its name?

Without booting to Linux, how do you delete a directory that was created in Linux on an NTFS partition that contains a pipe in the file name? For example: ...
3
votes
2answers
3k views

How do I configure IIS 7 (discount asp.net) to point subdomains at application subdirectories?

I have an discount asp.net account, which uses IIS 7 and I want to configure subdomains to point at specific applications on the site. For instance: 's1.site.com' would run the application at ...
0
votes
2answers
1k views

User unable to delete folder / files “File in use by another user” Server 2003

I am administering a standalone Windows 2003 Terminal Server with no domain membership. Occasionally (about once a week or so) a user will attempt to delete a sub-folder in a Shared folder and gets ...
6
votes
1answer
6k views

How to disable apache logging when accessing certain directories?

How do I get apache to prevent http requests from being logged on a directory basis? I want to do something alike <IfModule mod_userdir.c> UserDir public_html <Directory ...
3
votes
1answer
2k views

Is it possible for a sub-directory to be on another server?

How can I have a sub-directory under a domain point to another server? For example, example.com/myscript/ should load the script located on a different server than example.com. This can be achieved by ...
0
votes
2answers
2k views

Running two independent tomcats on one machine, instead of one tomcat with multiple instances

due to operational need following is the scenario. Two applications running on one machine, operating system is Windows 2003 standard server edition. Application A comes packaged with tomcat ...
2
votes
2answers
2k views

Where is index.html for IIS7?

I have enabled IIS7 in Windows 7. It works fine. I can see the default page from my local computer as well as from remote computer connected to the Internet. Now I would like to do something. I would ...
0
votes
2answers
1k views

Access Denied / Server 2008 / Home Directories

Domain Controller: BDC01 (192.168.9.2) Storage Server: BrightonSAN1 (192.168.9.3) Domain: brighton.local Last night I moved our users home directories off of our Domain Controller onto a storage ...
8
votes
4answers
13k views

Windows Service: Can I configure the current working directory?

By default, Windows services start in the sytem32 directory (usually C:\WINDOWS\system32). Is there a way to set up a different working directory? I am thinking of some registry parameter beneath ...
13
votes
2answers
6k views

What is the difference between /usr/local/bin & /usr/local/sbin

I wrote a simple script which I want to share with my colleagues. Should it be in /usr/local/bin or /usr/local/sbin? What is the typical usage for these directories?
3
votes
1answer
499 views

How can I sort ls -l /dev by type and major and minor device number?

How can I sort the /dev directory by type and major and minor device number when doing ls -l? The best way I've found so far is: ls -l /dev | sort -k 1.1,1.2 -k 5n -k 6n | less Is there a better ...
0
votes
2answers
73 views

Restricting web requests to a particular domain or subfolder

Is it possible to setup a website so that it only accepts requests from one particular domain / subfolder? If so, how is this done?
2
votes
3answers
14k views

Windows 7 Folder Redirection (GPO)

I have been fighting this issue for a day or two now, so I am looking for some insight. I am taking over admin duties in a domain of 800 users, and the previous admins really did not employ much of ...
13
votes
12answers
108k views

Windows command prompt: how to get the count of all files in current directory?

What command would you use in cmd.exe to find the number of files in the current directory? Is there a powershell option here? Update: I was hoping to avoid dir, as I know there are 10,000+ files in ...
1
vote
1answer
374 views

Apache outputs all urls of a second domain as a subfolder of the primary domain name

would anyone be able to possibly give me some guidance.. Basically, i have a 'shared hosting' account with a large internet hosting provider, and my account lets me have multiple seperate domains ...
6
votes
3answers
5k views

Duplicate Directory with SSH

How can i duplicate a directory on my server via ssh?
3
votes
5answers
9k views

Get user profile size in vbscript

I am trying to get the size of a user's local profile using VBScript. I know the directory of the profile (typically "C:\Users\blah"). The following code does not work for most profiles (Permission ...
1
vote
0answers
37 views

How do I set a folder range based on the first letter for a selection list in Backup Exec?

Using BackUp Exec 12.5, I want to create a selection list that includes a range of sub-folders from a folder. So all sub-folders that start with A-F would be included, for example. I'll have ...
0
votes
1answer
349 views

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ ...
0
votes
1answer
548 views

Windows 2003 SBS - Default Share Size

I setup a server for myself about 6 months ago but have only recently noticed that the network shares all have a default maximum size of 1GB. How do I adjust this upwards, as I have other servers ...
34
votes
3answers
127k views

Mount Remote CIFS/SMB Share as a Folder not a Drive Letter

Is there any way to mount a remote CIFS/SMB/SAMBA share as a folder/directory and not as a drive letter. For example, I want this map: \\Server\ShareName -> C:\Folder\ShareName Instead of the usual ...
17
votes
4answers
57k views

How can I set full premissions to a user in a specified dir?

How can I set full permissions to a user in a specified dir in linux?
5
votes
6answers
15k views

Best method to track folder size growth over time?

I have a file server that has a pretty large folder tree. There's a shared folder, under that are 5 departmental folders. Nested inside of those are thousands of subfolders and files. I would like ...
0
votes
2answers
475 views

Hard Link for Directories in linux

Hai, How can i create hard link for my directories ? When i use to make link from /var to /home it shows error on "Invalid cross-device link", How can i over come it ?
22
votes
3answers
33k views

What is the maximum number of files a file system can contain?

Given the current structure of a directory entry on a ext4 file system on Ubuntu, what is the maximum number of files a file system can contain? What is the general method of calculating the maximum ...
1
vote
2answers
816 views

Plesk directory structure problems [closed]

I have an entire website with the following directory structure: /example.com /html (public) /css /js index.php /lib session.php other_lib_files.php ...
1
vote
2answers
1k views

force security permission through the directory tree?

Currently, there is large directory tree with differnt security permissions. We need to add another Security permission for all of the folders, and files without changing all the inherited ...
2
votes
2answers
3k views

How to protect a folder in Apache but allow PHP scripts to access it?

I've been thinking a lot about this and can't find a way to do it, maybe it's not possible or maybe I just can't think of way. That's why I'm posting this here right... Basically, I need to protected ...
6
votes
5answers
18k views

Check to see if a directory exists remotely (shell script)

Is there a way to see if a directory exists on a remote server? Perhaps there's a better way, but I'm writing an application deployment script, and I want to create a directory on a remote server if ...
36
votes
7answers
10k views

Should websites live in /var/ or /usr/ according to recommended usage?

According to a guide on the Linux directory structure, /usr/ is for application files, and /var/ is for files that change (I assume this means "files that belong to the applications"). Is this ...