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
3answers
18k views

Allow subdirectory with Apache

I feel like this is a fairly simple fix and have seen similar problems when searching but haven't been able to fix it with those solutions. Basically the problem is I cannot access any subdirectories ...
-1
votes
1answer
84 views

SSH - ftp user multiple folder permissions [closed]

I have a server with SSH access. Hope anyone can help me very quickly with permissions. I have a folder, in that folder there are 10 more folders (f1, f2, f3, f4, f5, f6, f7, f8, f9, f10). I created ...
-5
votes
3answers
53 views

How to open a directory contains “-”? [closed]

How can I open a directory via PUTTY that contains -? For example the name of dir is: some-thing-dir cd /some-thing-dir not working.
7
votes
3answers
9k views

Is there a hard limit to the number of files a directory can have? [duplicate]

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. ...
14
votes
3answers
11k views

compare 2 directories and copy differences in a 3rd directory

Running ubuntu 12.04, I want to compare 2 directories, say folder1/ and folder2/ and copy any files that are different to folder3/. There are also nested files, so matching subdirectories should be ...
0
votes
1answer
47 views

Accessing files using folder name and ~folder name

When I try to access a folder: cd "c:\users\myname\google drive\apache-tomcat-7.0.25" it works fine. However when I try: cd C:\Users\myname\GOOGLE~1\apache-tomcat-7.0.25 it doesn't (folder not ...
0
votes
4answers
2k views

Can't start MYSQL after changing directories

So I started running out of space on my linux hard disk. I added another hard drive and now I want to change the MySQL directories. So instead of saving the data into the old hard drive, it saves it ...
1
vote
1answer
585 views

Apache 2.2 Ldap Authantication error 500 - AuthLDAPURL

I have an Apache server on RHEL 6 that uses our active directory for authentication, We added a new "LocationMatch" AuthLDAPURL ...
1
vote
1answer
556 views

Setup custom domain with folder in path for Blogger hosted blog

Google Blogger makes it easy to put a blog at a custom top-level domain or custom subdomain, such as: www.example.com blog.example.com The setup involves creating a CNAME pointing to: ...
3
votes
2answers
586 views

How to “cd” to non utf8 directory

How can I change directory to directory that name consists of non ASCII default characters? root@senior:/media/data/hudba/# ls . -l total 3096 -rwxr-xr-x 2 user users 3160192 Jul 31 2006 Lucie ...
0
votes
1answer
173 views

serving webapps out of arbitrary subfolders with nginx

I'm serving webapps out of arbitrary subfolders on a domain. i.e. example.com/app-one (with example.com/app-one/page served by app-one) example.com/folder/app-two (with ...
0
votes
1answer
128 views

Sharing folders with other user on Ubuntu 12.04

I have recently set up a server on Ubuntu 12.04 . I have an mail server hosted on the same server. Now, there are a number of users with email id at my domain who can ssh to my server to see the ...
0
votes
1answer
39 views

Linux directory moved

a directory was moved with mv command in a Linux box, what logs should be looked at for such action? in root bash_history i can see the command was used, unfortunatly bash_history was not recording ...
2
votes
0answers
284 views

windows 2008 r2 Change owner on multiple folders

I've a quest to change the owner on about 800 folders. The owner should be equal to the folder name. I've tried something like this: set /p userDir=username ICACLS "D:\test\%userDir%" /setowner ...
0
votes
3answers
3k views

Local login script to delete folder of currently logged in user

How can I create a login script that will delete the contents of the folder below, each time a user logs off of a PC? (We have a shared PC that about a dozen users use, for a particular program. That ...
0
votes
1answer
351 views

500 Error when using Apache Directory Directive

I am trying to restrict access to certain directories to certain IP's.... I have done some research & the below is what I came up with, however it returns a 500 internal server error when I try ...
1
vote
0answers
159 views

htaccess, mod_rewrite, remove part from URL

I want to access domain.com/api/(.*) instead of domain.com/public/api/(.*) Directory structure: domain.com __folder1 __folder2 __public ____api ______.htaccess2 ____afolder1 ____afolder2 ...
0
votes
1answer
309 views

Rewrite certain URL in Nginx such that another app will serve it

I have a config file for mydomain.com which is served with Drupal. Problem is this rewrite rule takes the control over any request: if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 ...
0
votes
4answers
2k views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
0
votes
1answer
271 views

Apache serve files with NTFS permissions?

I hope I came to the right sub for this question. Basically here is the scenario: You have folder name Testfolder which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
1answer
76 views

SBS 2008 Redirection visibility issues - want to move off SBS 2008

I inherited an SBS2008 server which had a corrupt or otherwise lost userid which was used to setup redirects, etc. I was able to break in by enabling the Administrator ID and resetting the password. ...
0
votes
1answer
90 views

Issue with Apache folder and file permissions

I hope I came to the right sub for this question. Basically here is the scenario: You have folder name Testfolder which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
3answers
68 views

Apache folder and file permissions

I hope I came to the right site for this question. Basically here is the scenario You have folder name "Testfolder" which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
1answer
2k views

Percona server won't restar after datadir change

I installed percona from percona repository on a ubuntu 12.04 server which has a solid state drive. I thought i would rather put the datadir on the Solid state drive and put partition on normal sata ...
-1
votes
1answer
80 views

Get size of folder without iterating over its content? [closed]

Is there any unix file system (or network fs) that can get size of folder without iterating over its content? I need the fastest and cheapest way to get size of folder (maybe some fs cache metadata ...
2
votes
1answer
6k views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
0
votes
1answer
123 views

Put website into a folder, don't show folder on URL, and still have access to other folders

I'm trying to host my website into a folder on the FTP, for example, /site. But on the URL i want to remove this folder, so it will be www.mysite.com.br instead of www.mysite.com.br/site. I've ...
0
votes
1answer
51 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
4
votes
1answer
3k views

IMAP standard folder names - “Junk” or “Spam”

I am configuring spamassassin at the moment and have been wondering what is the standard (or atleast most used and recognized by most clients) folder name for Spam or Junk? I first used Spam, but ...
0
votes
2answers
71 views

apache -Directory directive - allow to serve selected pages

This syntax seems to prevent Apache from serving any pages from /var/www or subdirectories. <Directory "/var/www"> Allow from None Order allow,deny </Directory> I wantthis ...
0
votes
1answer
21 views

Setting up multiple applications on one server within directory paths

I am working with node.js and I am trying to figure out a way to have a rather different server configuration. I would like to have three "apps" run. index app1 app2 Index can run on port 80, and ...
0
votes
2answers
181 views

Linux workstation and Active Directory authentication

I read a few articles regarding "How to Authenticate Linux Clients with Microsoft Active Directory" My question before I do it: what will happen to Notebooks that try to login when the Active ...
1
vote
1answer
154 views

Mod_rewrite pretty url when domain/foo is a directory

Starting with something as simple as: RewriteRule ^(.*)$ index.php?page=$1 What if I also want the following to work: RewriteRule ^/foo$ /index.php?page=foo #/foo IS a directory This seem to ...
5
votes
4answers
18k views

NTFS Permissions for root share that houses Home Directories Windows Server 2008 R2

I am using the AD Profile Tab to Auto create Home Directories at \server\home so the permissions are automatically created. What should the permissions (NTFS) be for the actual folder that the home ...
1
vote
0answers
220 views

csvde doesn't import users

I have a small problem as I'm a server manager beginner, I installed a Domain Controller on my Windows Server 2008, and I created three OUs, now I'm trying to add users to each OU via csvde command, ...
0
votes
3answers
943 views

Monitoring folder diffs across servers with zabbix

Problem: I want to make sure that a certain folder is equal regarding it's contents across my servers. I do not want an automatic filesync to keep them equal, changing is done manually. My initial ...
0
votes
1answer
74 views

How to log access to public_html dir, served by apache?

My college kindly provides web space in form of an public_html directory. As I place content there, could I somehow monitor or log how often a given file is downloaded, and from whom? I think ...
1
vote
2answers
132 views

OID (directory service) Installation and configuration on Windows 2003 R2

I need your help in installing and configuring Oracle Internet Directory service on Windows 2003 R2 server machine, I was wondering if anyone can provide any useful tutorial links on the same. I did ...
4
votes
2answers
1k views

syncing local folders

What is a best way to keep in sync two local folders ? I know I can use rsync -Ra but I need to keep in sync all the time. Is it possible to make rsync sit in background and constantly sync local ...
0
votes
2answers
1k views

Changing Data directory in MariaDB

I have a doubt : Is mariadb support datadirectory location change from the default location to the another user defined location ? When Iam trying to change datadir location of mariadb by ...
1
vote
1answer
55 views

Linking domain name to subdirectory without displaying subdirectory name in address

I've got a domain name, blogdomain.com, which I've linked to otherdomain.com/blog using this .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?blogdomain.com$ RewriteRule ^(/)?$ blog ...
0
votes
1answer
333 views

Scp only a specific folder

Some command line syntax I don't know how to set, am a noob sometimes, sorry is that's obvious Let's says I have the following path for all my assets : ...
1
vote
1answer
965 views

Can I safely remove _vti folders added by my host or cpanel? [closed]

I notice user accounts on my cpanel server came with some _vti folders installed by default. _vti_bin _vti_cnf _vti_log vti_pvt _vti_txt _private As I understand these are some kind of Front Page ...
3
votes
2answers
2k views

Windows Batch folder size

I need a command (like "dir") that lists all directories with their size. I need just a 1 level deepness but with the total size of a directory. For example >dirsize c:/mainfolder subfolder1 ...
1
vote
1answer
1k views

Folder rights doesn't work on group, but does on user

I've got this share where I want to restrict access to two folders so that only members of a group can get access to them. I've done this countless of times, but this time there's something odd going ...
-4
votes
3answers
117 views

Understanding administrator rights on a machine [closed]

As a developper I need to create a folder within a customer' server and I need to be sure that they wont be able to access that particular folder's content even if they are administrator or in any ...
4
votes
1answer
1k views

Strategy to isolate multiple nginx ssl apps with single domain via suburi's?

Warning: so far I have only learnt how to use nginx to serve apps with their own domain and server block. But I think its time to dive a little deeper. To mitigate the need for multiple SSL ...
0
votes
1answer
38 views

Apache: Use requested directory as a parameter

Here's what I'd like to do: If a user goes to www.example.com/thislocation, I'd like to redirect to a particular script and give it "thislocation" as a parameter. So if a user navigated to ...
0
votes
1answer
65 views

Using ErrorDocument Directive with <directory>

I have a website which has three different directories. I want to create a custom error page for each of the different directories. What i did is as follows: <Directory "directory1"> ...
-1
votes
1answer
1k views

Cron Script to Delete Folder Contents Every 5 Minutes on Media Temple [closed]

I'm not familiar with server-side scripting, but I'm currently using a PHP application on Media Temple to cache JPEGs from four webcams hosted on a server located in the middle of the Indian Ocean. ...