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
3answers
508 views

How to protect a local NTFS folder so only it's owner can access (i.e. not a local / domain admin)

What i'd like to do is to set up such folder permissions so the folder can be accessed only by a user who created it (or one, who knows his password). Is it possible? Is it secure? I tried to set ...
1
vote
2answers
2k views

Change the document root of a parked domain?

I have run into a problem which is that my web host doesn't appear offer addon domains. I currently have a domain name pointing to my name servers. I went into cPanel to add an addon domain that ...
3
votes
4answers
239 views

Migrating a subdomain to a subdirectory, whilst running on a separate server

I'm currently working on a site that's hosted across two different servers. One server hosts the main site (example.co.uk), the other server hosts an ecommerce application (Magento) and is currently ...
1
vote
1answer
745 views

Active Directory Merge - Merging User accounts

I need to merge two active directories, OLD and NEW. However, many users already exist in both OLD and NEW with the same userid. I want to preserve the sid of Bill@new, while merging in the sid ...
1
vote
4answers
293 views

Can someone explain a bit about Unix folder permissions and safety?

Why would I change folder permissions to 755 or 777 for example? I read that it means read write and execute but what I want to know, can anyone steal php codes depending on these permissions? Thank ...
0
votes
1answer
1k views

creating folder with date range linux shell or C

Hi i need to create a series of folder with a range of date for exmaple createdir 2010-02-02 2010-02-05 will create : 20100202/ 20100203/ 20100204/ 20100205/ What the best way to do this ...
2
votes
2answers
1k views

“The local device name is already in use” error when connecting to user home directory shared folders

We have a Windows Server 2003 running active directory - the users login with their AD accounts from their PCs. We have setup a file server where each AD user has a shared network folder hosted on the ...
4
votes
7answers
5k views

Free tool/script for directory size calculation [closed]

Does anyone know of a free command-line tool or script that calculates the size of a directory including all subdirectories? It needs to be compatible with Windows 7, work with hard links and ...
0
votes
1answer
733 views

Are folders counted as items in Sharepoint Document Libraries?

In Sharepoint on the All Site Content screen, it lists my SharePoint Document Library with a numeric row containing "Items". Do these "Items" include "folders and docuemnts" or just "folders"?
2
votes
4answers
6k views

Tar directory contents without parent and exclude subdirectories/files

Simplified directory structure: /root/test /root/test/dir1 /root/test/dir2 /root/test/dir3 /root/test/dir4 I want to tar /root/test so that when I extract the archive I get dir1 and dir2. I want to ...
0
votes
1answer
130 views

Wordpress blog website apache and IIS subdirectory

The issue is this : Our company has a website hosted on an IIS server. I have recently been given the task to configure a WordPress server for an eventual WordPress blog so that our social media ...
3
votes
3answers
3k views

Apache will not display index in web root, subfolders are fine

I have an Apache 2.2.3 server running on CentOS 5.5. In the root of my web directory, there is an index.html file. Going to something like, say, www.exampledomain.egg/index.html works, but going to ...
1
vote
2answers
623 views

How do I restrict the Open/Save dialog in Windows to one folder?

I spend a significant amount of time helping non-techies use their PC's. I realized most of that time is spent trying to explain to them how the Windows folder hierarchy works, where the "open file" ...
1
vote
1answer
136 views

PHP scripts run only in webroot directory,and return 500 error in other dirs

I have uploaded a folder with php scripts and they run only when they are in the webroot directory,Everytime i try to execute php script in some internal dir,i get internal server error,even if it ...
3
votes
2answers
6k views

How do I get the last part of directory from a command line

How do I store the last part of directory in a variable? For example I have the following path: A\B\C\D, I want to store D in variable like file_name=D.
1
vote
3answers
346 views

subdomain redirects to subfolder

I have created a subdomain for my website (fr.mohamedkadri.com) and after 24 hours it became active but it redirects to the subfolder that I poited to (mohamedkadri.com/fr) Is there a problem? why ...
1
vote
1answer
1k views

Rename folder using wildcard windows

I've got a piece of software that includes its own backup utility, but it generates folder names with the current date and time appended. I'd like to write batch script that will remove the date/time ...
3
votes
4answers
1k views

File and Folder Organization for IT Staff

We are working on a project that will require the creation of new file servers and a migration of countless years of legacy data. Part of that legacy data is this random collection of IT staff files ...
6
votes
3answers
10k views

Why can't I cd into a directory?

I am running Ubuntu 10.04.2 LTS. Why I can't I cd into the /var/www directory? david@ubuntu:/var$ pwd /var david@ubuntu:/var$ ls -l drwxrwxr-- 13 root root 4096 2011-02-26 21:53 www david@ubuntu:/...
0
votes
1answer
117 views

How to set a PHP ini config setting for a specific (virtual) URL path in the apache conf?

I want to set a specific upload_max_filesize setting for a specific URL on my webserver. The URL path is not a real path since it is a apache rewritten seo friendly path. This does seems not to work:...
0
votes
1answer
3k views

AWS:EC2:: Why my web folder is called “html”?

P.S Q stands for Question. My environment is: Amazon linux 64 bit (Q1. i dont if its ubuntu or red-hat, is there any way to check?) And I need to run php and mysql, thus I installed httpd (Q2. is ...
0
votes
2answers
2k views

What is the importance of the .DFSFolderLink

I am currently building a new DFS namespace setup. My folder E:\CommonStuff\ is already shared on the fileserver. And now it is also shared as \DOMAIN\CommonStuff I got 3 questions: I see ....
0
votes
1answer
42 views

short script to read and create matching directories

I need to do a z:\music\: dir *flac* to get a listing of directories... (they are named Artist - Album [flac]) and from that list of directors, create new matching directories, but replace the [flac]...
0
votes
3answers
2k views

How to allow only specific directories to use htaccess?

Currently in apache2.conf I have AllowOverride all set for /var/www which simply allows htaccess for all the sites on the server (which is Ubuntu, 9.04). However, I'd rather only allow overrides in ...
0
votes
2answers
5k views

can anyone tell me how to create a directory in freenas /mnt/test for example [closed]

can anyone tell me how to create a directory in freenas /mnt/test for example
0
votes
1answer
106 views

mount and sync non english folder & file names

I'm trying to rsync a folder who's name contains non-english characters it breaks the whole rsync, how can I copy a folder even if they don't have english characters in it?
1
vote
2answers
847 views

revert chmod 777 / -R

while executing a command i made a mistake and executed (ubuntu 10) sudo chmod 777 / -R # okay you may laugh now all my filesystem has 777 permitions , obviously i dont know which ...
3
votes
2answers
2k views

WordPress on a subdirectory with Nginx: access to dashboard?

I want to setup a WordPress blog, but not with a typical configuration: The main site is at www.example.com. As of now, it just has a static index.html file with an image, we will use probably an ...
0
votes
1answer
144 views

VPS multiple sites help

I have a VPS which has a single website associated with a single IP, This website is in wordpress and it is directly placed or installed into the /html directory, which means inside /www/html/ my ...
2
votes
2answers
85 views

delete dirs in a specified period of time

I have a list of +30.000 directory and I have to delete all the directories and their content from 2005 to 2006, via terminal. Thanks for help
5
votes
3answers
3k views

On linux, what does it mean when a directory has size 0 instead of 4096?

Here's a strange thing I haven't seen before -- a directory whose size is reported by ls as 0 instead of 4096, and I can't create any files within it. # ls -ld lib home drwxr-xr-x. 2 root root 0 ...
2
votes
2answers
3k views

PuTTY pscp directory listing - can you specify a different file date/time format?

I'm using pscp.exe from PuTTY with the -ls option to get a directory listing via STDOUT to a perl script. The output I get is this: Listing directory /path/to/my/directory drwxr-sr-x 2 234 ...
1
vote
2answers
3k views

Windows 2008 folder has lost all permissions, can't be deleted, edited or permissions changed

I was testing a batch file that used the following dos command rmdir test2 /s /q, this command failed part way through and now I seem to have folders that have no permissions. For example, in the ...
2
votes
7answers
2k views

Massive amount of subfolders and long subfolders. How can I delete all of them?

We have a little problem here. We have a share with the backup of all the server's offices, Its a really big share with more than 8.000.000 files. Our users usually give long names to the folders ...
3
votes
1answer
3k views

Apache configuration problem with <Directory> and <Location>

I'm stuck with a pretty nasty problem. I have a staging system here where only our customers and our company should have access to. This is done using the following configuration: <Directory "/srv/...
2
votes
1answer
375 views

Can't resize Folder properties window

I've opened the properties window of a folder to view it's security groups, but the security group names are too long to be fully readable in the security tab. There is no way to resize the window. ...
1
vote
3answers
2k views

Moving mysql datadir not working? Problems with symlink in conf.d?

I wanted to have my mysql config in svn to be versionised so i did thefollowing: ubuntu@ip-10-226-50-211:~/mysql-config$ ls -la /etc/mysql/conf.d/ total 12 drwxr-xr-x 2 root root 4096 2011-01-27 11:...
1
vote
3answers
1k views

Deleting all folders older than a specified date, except some of them

i had to do a script job in bash to delete all directory in a path which are older than a specified date except some of them. i know the name of the directories which shouldn't be deleted... Can you ...
0
votes
4answers
3k views

Active Directory Folder Effective Permissions of all users

I know that is easy to get the effective permissions of one group or user over a folder, but I want to know if it is possible to get the effective permissions for all users on my shared folder. There ...
0
votes
1answer
136 views

How to get file directory trough .htaccess by using `RewriteRule ^(.*)$ ?id=$1 [L,QSA]`?

How to get file directory trough .htaccess by using RewriteRule ^(.*)$ ?id=$1 [L,QSA]? If .htaccess is located in http://localhost/some/dir/.htaccess and I'm opening http://localhost/some/dir/here/I/...
0
votes
3answers
472 views

mod-rewrite: what's wrong with this simple rewrite to redirect to a subdirectory?

the root directory http: // www .mydomain .com (SF won't let me post hyperlinks - rep is too low) has a catchall index.php page in it, and an .htaccess file. Within this root directoy I have a ...
7
votes
2answers
21k views

How to upload a directory recursively to an FTP server by just using ftp or lftp?

I am writing a Linux shell script to copy a local directory to a remote server (removing any existing files). Local server: ftp and lftp commands are available, no ncftp or any graphical tools. ...
16
votes
2answers
4k views

Difference and correct usage for /tmp and /var/tmp

I haven't put much thought into this until now, but it seems odd that there is a /var/tmp and /tmp directories for most of the linux distro's I routinely use ( Ubuntu, Centos, Redhat ). Is there any ...
1
vote
2answers
866 views

Status of replication support in ApacheDS?

The features page indicates they're expecting to support multi-master replication "soon". Does it have any basic master-slave replication yet or does it currently not support any form of replication?
3
votes
4answers
395 views

optimal folder structure for storing 100k files on a USB drive

I need to store 100k files (around 40GB) in a USB drive. Each file has a unique int id (e.g 45000). Option one is to put all files in a single folder: root/ root/1.pdf root/2.pdf root/3.pdf ... root/...
1
vote
2answers
793 views

how to restore a mysql dump FOLDER

After having a vps crash, I asked my hosting to give me the dumped file of my drupal database. It is a folder filled with of *.frm *.MYD files of the database tables. I used to restore mydb.sql files ...
3
votes
3answers
128 views

Linux directory conventions for custom service

I'm writing a custom application that will be run as a service/daemon. According to convention, the binaries for it should be in /opt/appname. However, where do I put files such as: Config files ...
3
votes
1answer
424 views

Windows Server - share files without access for administrator

We have a MS Windows Server 2008 R8 based server that is administrated by our IT department. We would like to achieve two things simultaneously: A folder on the server, containing several thousand ...
0
votes
1answer
169 views

How to set the DirectoryIndex to <foldername>.html in Apache?

I'm running Apache and I'm getting really tired of editing hundreds of files which are all named index.html. What I'd like is something like this: /root/foo DirectoryIndex: foo.html /root/bar ...
0
votes
1answer
366 views

Folder shared over internet by multiple users

We would like to setup a folder on a server where we would keep our documents. This folder would be mapped to windows like a network drive where users can copy/paste documents. Thing is, this folder ...