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

learn more… | top users | synonyms (3)

2
votes
1answer
236 views

Alias if directory doesn't exist

I have a bunch of clients that have different site designs but all run on the same backend CMS. They all share a common admin theme which is located in /home/public/skins/admin - which each client has ...
3
votes
1answer
119 views

How can I enlist the content of a zip archive, but only the first level?

I have a big zip file and I want to know what it's contain. I know I can run: zipinfo file.zip but the output is too verbose and there are a lot of files in the sub-directories. I want to see a ...
0
votes
2answers
52 views

Default path when user logs in

How can I put a user in a default directory when the logs in via SSH on Ubuntu? Currently, users are in ~ but I want them in something like /path/to/something. How is this configured? The machine ...
0
votes
1answer
51 views

permit a user to access only selected directory on the server, via ftp

i have this folder/subdomain structure on my server: --- website.com --- sub.website.com --- sub2.website.com --- sub3.website.com if i login via sftp with my admin user i can see every ...
1
vote
2answers
3k views

Combine several locations with regex in nginx

I dynamic number of Joomla installations in subfolders of the domain. For example: http://site/joomla_1/ http://site/joomla_2/ http://site/joomla_3/ ... Currently I have the ...
0
votes
1answer
68 views

Folder/files access permission

I have office laptop registered into domain (wins server 2003) used by Bill with several access to folder/files in server, then Bill replaced by other staff, Mark. Laptop used by Bill are now used by ...
0
votes
2answers
3k views

Command-Line folder structure on Windows

I need to create a folder structure via command line, structure is as follows : username > folder1 > folder2 > folder3 (and there are subdirectories within these folders as well) This is a windows ...
1
vote
0answers
114 views

can't assign permission for a folder to a group only one owner works

I'm trying to change permissions on a folder as root on Centos server using: chgrp -Rv ftpusers /var/www/html seems like everything is right in verbose. I have two users in ftpusers group however, ...
1
vote
1answer
997 views

Apache2 NTLM Authentication on specific URL

I have a problem. I'm using Legrandin's NTLM Authentication Module PyAuthenNTLM2 with my Apache2 server. It really works well and it was easy to install. I recommend it to everybody. The ...
-2
votes
1answer
308 views

On Unix on could I get a listing of all mp3 files inside a directory containing other directories with their full path?

Someone said to me use the find command but I'm not exactly sure how to do it. Basically I need this: suppose I have a folder called dir1 and it contains three sub-directories (dir2, dir3 and dir4 ...
1
vote
1answer
957 views

Allow access to one directory when all others require authorisation

I have an Apache config that restricts access to to a website, using the following code - <Directory /var/www/html/website/test/> AuthName "Dyne Drewett Test Site" AuthType ...
1
vote
1answer
280 views

Replacing directories that are subversion-monitored

We're trying to update an installed software which we have under control by subversion. The update instructions for the software require replacing several directories that have .svn directories in ...
3
votes
1answer
2k views

Exchange 2003 to 2010 public folder replication

I've found several guides and tutorials on public folder replication from 2003 to 2010, but am still a little bit confused. What we have, is a 2003 exchange server obviously holding all of our public ...
0
votes
1answer
994 views

Cant host a FTP Site in IIS

I can not host an FTP site via IIS. I am connecting via Windows explorer. I can connected when navigate to ftp://localhost My error message makes no since. FTP Folder Error Windows cannot ...
1
vote
2answers
3k views

Change all file permissions to 644 and all folder permissions to 755 recursively

How to change all file permissions to 644 and all folder permissions to 755 recursively using chmod in the following two situation: If they had 777 permissions Regardless of the permission (with ANY ...
6
votes
1answer
6k views

Reverse proxy for a subdirectory in nginx

I want to set up a Reverse proxy on my VPS for my Heroku app (http://lovemaple.heroku.com) So if I visit mysite.com/blog I can get the content in http://lovemaple.heroku.com I followed the ...
0
votes
1answer
465 views

Dreamweaver not recognizing symbolic link as directory

I have this directory drwxrwxr-x 6 awdfiles pasgroup 4096 Jan 31 17:20 awdfiles Which I want to access via another FTP connection. The user is part of the pasgroup ...
0
votes
1answer
153 views

htaccess url rewriting for 1 folder

My .htaccess file works fine for everything expect 1 specific folder. As result, http://www.mydomain.com/administration/index.php unexpectedly goes to 401 error page instead of loading index.php from ...
1
vote
1answer
844 views

mod_rewrite redirects for site root and subdirectory from HTTP to SSL

Ok, so I have two sites within the same webroot — the main site (in the root) and an unrelated bunch of files in a subdirectory. We would like both of these sites to force rendering under SSL. At the ...
0
votes
4answers
121 views

Windows server email issue

I am not very good with Windows stuff, spend most of my life with Cisco routers, I have situation where i am the only one implementing Active Directory on small network of 20 computers. The staff use ...
2
votes
1answer
604 views

Least, secure and enough permissions for public_html and folders and files under public_html using SuPHP for shared hosting environment

I have a server with SuPHP and DirectAdmin. Many (but not ALL) of my users are running Joomla and Wordpress. Will it make a problem if I chmod public_html and sub-folders to 700? Will they NEED more ...
3
votes
3answers
380 views

Prevent 'cd' remembering symbolic links traversed

Say you have directory ~/mytool that softlinks to /usr/local/mytool. Then cd mytool leaves your current directory as ~/mytool, which may cause scripts to behave incorrectly. Is there a way to avoid ...
1
vote
1answer
1k views

How to rewrite URI from root if file exists in folder?

I have a public folder in my document root. I would like to redirect all the files that are not present in document root, but are present in the public folder. (So if the same file is in two places, ...
2
votes
1answer
61 views

Windows 7 Folders vs Windows Server Folders Order

I believe Windows 7 and Windows Server order folder names differently. I am using Windows Server Datacenter. On a Windows 7 machine I had two folder: 001_SCHEMA and 01_AddFields. When ordered in ...
2
votes
1answer
4k views

nginx autoindex receiving 403 Forbidden

I'm having trouble with nginx and autoindex. Even though I've put it in the site-host, it's still throwing "403 -Forbidden at me" location /pics { autoindex on; ...
0
votes
1answer
339 views

vSphere 5.0 - Custom folders on / are erased on reboot

I'v uploaded a folder named scripts with some scripts in the root of my vSphere 5.0 server like this: /scripts When I reboot the server, this folder is not there anymore. Its like if vSphere ...
2
votes
2answers
810 views

How to give ownership to root without being root ? (needed for Apache)

I've got a PHP script that creates a folder on my server. This folder is supposed to be accessed via Apache, and users can view it online. Now if I create this folder while being root, everything ...
0
votes
2answers
134 views

Why doesn't Apache see my webmail subdirectory

I recently setup a new website on my linode box, everything is working fine. Except I can't seem to have a webmail subdirectory on my site. Whenever I goto http://mysite.com/webmail the browser takes ...
1
vote
1answer
764 views

“Path Not Found” when attempting to write to a sub folder within a mapped drive

We have an interesting issue with one of our server shares, or possibly, our Win 7 desktops. When our users try to save files in a sub folder, either via copy/paste or through an application, to a ...
1
vote
1answer
70 views

Starting Apache as a NON-Root User on Localhost

I want to start an Apache 2 server on localhost:8080 on an as-needed basis without superuser permissions, with the root directory for web content being /home/user/example/web/directory. I don't want ...
1
vote
0answers
32 views

Is it possible to call user both by number and by name in Freeswitch?

How should I configure freeswitch directory entry so that it will be possible to call this user both by numeric number and by textual username?
0
votes
1answer
126 views

Locally redirect Domain1.com to Domain2.com/subdir on one computer

I am running a FreeBSD server and I want to redirect a specific website domain to another domain including subdirectory. I want to bypass that domain to alter the XML results it returns. I tried the ...
2
votes
2answers
815 views

LSASS - Directory Services could not start - 0xc000006a

LSASS - Directory Services could not start - 0xc000006a This is the error message I am getting after restoring an old registry backup. I read somewhere that this has to do with the backup being more ...
0
votes
2answers
269 views

Is there a way to keep folder permissions when overriding it?

I have a Windows Server 2008 R2 that hosts a website with the following folder structure: C:\ inetpub wwwroot MyApp JS Styles The ...
0
votes
1answer
53 views

Windows Folder Permission

May i check for the below folder rights, is the user able to read files inside of the folder?
2
votes
1answer
2k views

Cannot read/write FTP directory vsftpd on centos 6.0 (empty folder)

I have Centos 6.0 and installed vsftp with YUM, I added a user with Webmin panel, set its home dir to "/var/www/html" and its shell to "/bin/sh", user id is 500, user group is same as name: ...
1
vote
4answers
8k views

Can I make windows treat Shortcuts to Folders the same it would a Folder?

I'm moving some folders to an external storage drive and replacing them with a Shortcut, however the shortcut is listed in with the Files, not the Folders. It also doesn't show up in the folder Tree ...
0
votes
2answers
67 views

List of Different Directory Sizes

I have a list of folders on my network in a .txt, which are stored in different locations throughout the network. Looking for a tool or script to pull the size of those folders and output them to a ...
5
votes
5answers
12k views

How delete the content of a directory in Centos

I need to delete all the content of a folder in CentOS but not the folder itself. For example: I have a folder named "MYFOLDER" which contains subfolders FOLD_1, FOLD_2, FOLD_3, FOLD_4... etc , and ...
1
vote
2answers
938 views

How to lock down a folder for an administrator?

In a windows 2008 R2 server with multiple administrator accounts, is it possible to create private folders (one per admin) in one drive that the other administrators cannot unlock (gain access to)? I ...
2
votes
2answers
910 views

Wrong urls at wp-admin at wordpress with subdirectory and proxy

I am using apache2 and mod-proxy to integrate wordpress blogs into subdirectories of my TLD. Main site: example.com Blog1: [http://example.com/blog] Blog2: [http://example.com/other-blog] Apach2 ...
1
vote
1answer
244 views

Apache authenticate group of matching subdirectory

I have a unique scenario here - one that probably has come up in the past. I have a directory that is being protected by an LDAP authentication on my Apache server. In this directory (call it /svn - ...
5
votes
4answers
26k views

Cannot delete folder with rm -rf. Error: device or resource busy

I'm trying to delete /var/www/html but I'm getting this error: rm: cannot remove `html': Device or resource busy
4
votes
2answers
224 views

How to compact large directories

Is there a way to compact a very large directory under EXT2/EXT3 without simply remaking the directory? I recall that perlfunc cautions that the OS implementations of seekdir and telldir run the risk ...
2
votes
3answers
321 views

In Ubuntu, how can I give two groups of users root power except for access to one folder?

I just created a Ubuntu development server and I would like to work with two teams on it. I want people from these teams to do anything they want, but I don't want them to be able to see the files ...
0
votes
1answer
86 views

active directory windows 2008 domain logon

I have a system that is configured to logon to a domain say abc.net. I dont have admin access to this system. The AD server is dead. If i can create an active directory server on the same network as ...
2
votes
4answers
382 views

50,000 file in one directory, what is my best option?

I'm forced to have this directory structure /var/www/$WEBSITE/$DIR1/$DIR2/$FILES for each of those $FILES, there is approx 50,000 XHTML pages. I'm running Cherokee, which has new front-end caching ...
0
votes
2answers
150 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
266 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
336 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 ...