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
1answer
188 views

Change permission for home directory on debian [duplicate]

My Debian machine is running DirectAdmin and we have build our own CMS. By now, when we create a new website a new folder and user will created down the /home/ directory. As an developer to setup ...
2
votes
3answers
43 views

NTFS folder permissions traverse

Here is the problem We have NTFS file server with several layers of sub-folders. FolderA\ - User AAA should not have access FolderA\FolderAA\ - User AAA should not have access ...
1
vote
1answer
811 views

/bin/sh: /bin/cp: Argument list too long

I have problem with this command: 'cp' -fr /www/*-aws/* /www/mainhost/aws/awstatstotals/tmp/ Error is Argument list too long - I know many /www/-aws/ folders. I know that I can use FIND command, ...
2
votes
1answer
98 views

Apache Location and Directory access

I have Apache 2.2 running on CentOS 6.4 There is application in / directory and folder where are some files, lets say it is /public. I need to allow access to / directory to ip1, ip2, ip3 and allow ...
-1
votes
2answers
204 views

A linux program/script for keeping certain folders below fixed size, removing oldest files if neccessary? [closed]

E.g. the autotrash would do perfectly if it wasn't bound to monitor trash folders only.
-1
votes
1answer
72 views

Should images be stored on a subdomain or subdirectory?

I'm working on a sharing app where images get stored for 24 hours. Does it bring any advantages to store them on a subdomain http://imgs.example.com instead of a subdirectory ...
-1
votes
1answer
164 views

MySql - Lost /var/lib/mysql directory [closed]

So, the thing is that I was messing around with directories to backup and I delete the folder /var/lib/mysql and now i cant connect to my database gettin this error (I'm using plesk panel): ...
1
vote
1answer
115 views

Does a Windows Server 2012 FRSM auto-applied quota at a root folder mean the root folder has a cumulative quota equal to all subfolder quotas?

I've done some reading on TechNet and run a few searches for this answer, but so far haven't found anything. I have a root folder with 9 subfolders, and I assigned an auto apply template to the root ...
0
votes
1answer
45 views

Nginx and multiple applications

I am new to nginx, and here what I am trying to achieve : I have only one domain name. I want to have several applications, accessible with something like : mydomain.com/app1 mydomain.com/app2 etc ...
5
votes
2answers
1k views

Apache2 - 301 Redirect when missing “/” at the end of directory in the url

I haven't really noticed this Redirect(301) when requesting a url like this without slash("/") at the end: http://server/directory The server will respone with a 301 Redirect Permanent header with a ...
-1
votes
2answers
262 views

How to quickly move files and folders from local server to amazon ec2 instance?

Moving script files from local server to amazon ec2 instance through winscp drag drop is taking too long for me from windows local server. How to quickly move files and folders from local server to ...
1
vote
1answer
504 views

How to change default duplicity archive directory?

How can I change the duplicity default archive directory (~/.cache/)? The following option seems to be ignored. Option --archive-dir=/volume4/duplicity/cache/ --name backup duplicity 0.6.21 ...
1
vote
1answer
600 views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
0
votes
1answer
24 views

Why a given user can access a folder and another one does not?

I have two servers: Server one: deploy@server:/home/vftp$ ls -la total 24 drwxr-xr-x 6 ftp ftp 4096 May 7 2013 . drwxr-xr-x 7 root root 4096 Jul 19 2013 .. dr-xr-xr-- 3 ftp ftp 4096 Feb 18 ...
2
votes
1answer
382 views

How can i manipulate the find command to “find” the directories the “found” file is in?

So i'm trying to use the find command to find all files in my system with mtime -x. It does this but it does not "find" the directories of the file. find . -mtime -2 -exec rsync -av {} /destination/ ...
0
votes
1answer
22 views

Python code location on debian [closed]

Simple question, which of these is a better directory setup for locating my project and why, as I have seen both recommended on different tutorial sites: Option 1: ...
1
vote
1answer
59 views

apache override authentication in a specific folder

How do I change/override the authentication in apache to a different one in a subfolder? I tried this one but it didn't work. How can I fix it? <Directory "/"> AuthName "Front End Access" ...
11
votes
2answers
8k views

What Are The Best Practices For Business Folder Structure?

We've tended in the past towards having departmental folders (Sales, Marketing, etc) on a single share and then adding folders below these ad-hoc as and when they're needed. It's gotten a bit messy - ...
0
votes
1answer
834 views

User folder not showing up in Windows Explorer

I have a user that logs into the domain receiving an error message regarding their "my documents" folder being inaccessible. Browsing the D:\Users directory using Windows Explorer on the server, the ...
1
vote
1answer
26 views

Show website on one server in subfolder on another server

I have two websites. One website is a microsite developed by someone else, hosted on a subdomain and I would like to serve this website via a URL on the second website, for example: ...
0
votes
1answer
281 views

Using named groups in a DirectoryMatch directive

I have the following directive in my httpd.conf: <DirectoryMatch ^/path/(?P<SI>[^/]+)/logs/bibi> php_admin_value open_basedir /path/?P=<SI>/ </DirectoryMatch> The ...
1
vote
0answers
106 views

Composer runtime error when deleting subdirectories

I am running 'composer install' on my server, and then using the script feature to delete all subdirectories called '.git' but I am running in the following composer error. Delete all .git dirs find: ...
0
votes
1answer
45 views

Apache directory listing

Hi i previously had setup a web server using apache 2.0.65, but i decided to update to 2.2. After updating i noticed that the look of the directory listing changed. It previously looked like this, but ...
1
vote
1answer
101 views

How do I symlink one directory to a chrooted (jailed) directory?

'm trying to create a folder (directory) for a jailed user on my server that will allow him to access another folder outside of his jail. I'm trying to do this with symlink but all it does is create a ...
0
votes
2answers
88 views

IIS: directory only accessible from/over a specific subdomain

to explain my purpose, this example of a directory structure: C:\www\ C:\www\folder-1 The domain "example.com" has "C:\www\" as home directory, and the domain "member.example.com" has the home ...
2
votes
1answer
151 views

Windows 7 / 2008 connect to VPN at login with Group Policy

I am trying to find a way to have windows 7 VPN clients connect to the VPN server automatically via Group Policy. I tried using a login script but it looks like the scripts are shared from sysvol and ...
1
vote
1answer
320 views

Apache: ExpiresByType per directory?

I have a folder with javascript files that should expire faster than the normal scripts. Is it possible to let files expire per directory using Apache 2 other than .htaccess? <IfModule ...
1
vote
0answers
29 views

ASP.NET Webapp Works as Full Website, but not as Application

I have a fairly simple ASP.NET (targeting.NET 4.0) web app, which is used as a dynamic request form. I have tested this and it is working as a Web Site within IIS 7 running on Windows Server 2008 R2. ...
0
votes
2answers
150 views

Powershell - I can create folders with a future date label, but the year is not changing

So, I use Powershell to archive user directories, after a user has left. We keep the archive for 6 months before we delete it. The script is supposed to label the archived folder as "DeleteAfter-(6 ...
0
votes
0answers
1k views

Cannot rename new folders in a server folder

Windows Server 2008 R2 SP1 - Windows 7 SP1 - Folder located on server, normally accessed via drive letter There is one folder on the network where all users have modify rights. Suddenly people are ...
4
votes
1answer
7k views

Unable to join 64-bit Windows 8.1 Pro Client to Windows 2003 domain. Win 7 works fine

I am unable to join a 64-bit Windows 8.1 Pro Client to our Windows 2003 domain. A 64-bit Windows 7 client joins fine. After installing Windows 8.1, before joining to domain, if I run nltest ...
0
votes
1answer
257 views

Shared file size limited to local drive size

I wish to use alfresco as a shared file system using Windows (XP, 7 & 8) Explorer. I can access the shared folder, and can modify files on it. I can mount the alfresco filesystem, and it mounts ...
0
votes
1answer
177 views

Mount a folder on OpenVZ Container

I'm struggling to get an NFS filesystem mounted on godaddy VPS. It looks like they are using OpenVZ, and I'm unable to mount an NFS filesystem share from one VPS to another. Does anyone know a way to ...
0
votes
1answer
990 views

find directories in the current directory, older than 5 days and archive them

This is basic questions. I need to find folders in the current working directory(not recursively) and if they are older than 5 days archive them. zip or tar.gz is fine. I can find the folders with ...
-1
votes
2answers
64 views

How to load my app from client's domain name

I am building a SAAS product which is hosted on abc.com and i will have few clients with domains client1.com, client2.org, client3.in etc. Now i want to serve my application to each client on their ...
1
vote
1answer
476 views

DocumentRoot Directory Apache httpd

I want to make changes over my httpd.conf file of Apache running in Windows, but I want to know why need to use (or declare) the same root twice. DocumentRoot "C:/Apache/htdocs" <Directory /> ...
0
votes
1answer
136 views

Rename subfolder directories Windows 2008 R2

Just trying to work out a way to rename some sub folders and could do with some help. Basically, When our staff write documentation for a proposal, they create a folder with the project name. When ...
-2
votes
1answer
1k views

windows server C drive and shared folder permission [closed]

i have an app, that needs to run in the folder in root of C drive (C:\AppFolder). And on client, i need map network drive for C:\ because that app searches for \AppFolder... directory. So i have ...
0
votes
1answer
449 views

Setting folder permission on a remote Windows 2008 R2 server in PowerShell or Command Prompt

Does anyone know of a way to set a folder's permissions on a remote server using either PowerShell or the command prompt? In other words, sitting at server01, launch PS or CP, type a command to set ...
0
votes
2answers
42 views

Apache virtual hosts, aliasing, and directories

If you have an Apache running at somewhere.net, and you have a number of virtual hosts as well (a.somewhere.net, b.somewhere.net), you can access directories on the main branch while you are on the ...
0
votes
1answer
57 views

Folder sizes differ within two copied NTFS file trees (using ntfs-3g)

I have a NTFS partition, that I previously used with a Windows machine. I installed ntfs-3g as a filesystem driver in CentOS, then mounted the drive. I copy the contents (cp) to a different NTFS ...
2
votes
3answers
128 views

Given an original and backup filesystem, how can I find out if any files are missing?

I found from this posting on Stackoverflow, if you just wanted to get a list of corresponding files whose content differs, then you could execute: diff --brief --recursive dir1/ dir2/ ...and ...
1
vote
1answer
39 views

How to view all the steps involved in ldapsearch operation?

I am using $> ldapsearch -x -H ldap://<Directory Server IPv4 Address> -D cn=admin,o=myorg -s one -b t=TEST -v to view some entries at level one in my tree, this is working fine. ...
-1
votes
1answer
53 views

Collect Email addresses

I'm trying to collect all the email addresses from my Active Directory users. We don't use Exchange and when it was initially set up no emails were entered. Now we are trying to build a mailing list ...
1
vote
0answers
61 views

lighttpd access control affecting subdirectory trees sibling to a htpasswd file

Suppose I have a htdocs directory tree served by lighttpd htdocs htdocs/foo htdocs/foo/spam htdocs/foo/eggs htdocs/foo/eggs/stirred htdocs/foo/eggs/fried htdocs/bar htdocs/bar/bacon Now I'd like to ...
0
votes
1answer
2k views

Nginx: Rewrite/Redirect URLs in a subdirectory to root

I want to rewrite or redirect any URLs inside a subdirectory to root, like so: www.site.com/subdirectory/item => www.site.com/item I tried this, but doesn't seem to work properly: location ...
0
votes
1answer
59 views

Expose a directory as public but hide another same-level directory

I have a web application that has the following directory structure: /subdomain_name /app /public This web application is installed for every new user in our VPS. They provide a subdomain ...
2
votes
1answer
274 views

When searching Active Directory account, System.Runtime.InteropServices.COMException: The time limit for this request was exceeded

I am getting error when i search for LDAP users in AD. If I restrict the DirectorySearcher.SizeLimit = 1, then i am getting the result (1 result returned). But when I increase the SizeLimit to more ...
1
vote
2answers
1k views

Is it possible to exclude empty directories when creating a tar?

I have a backup command which looks like this: tar cvpzf /backup/incremental-$now.tar.gz --after-date='1 day ago' -C / etc/ home/ root/ --exclude-from=/root/exclusion_list.txt ...
1
vote
0answers
51 views

Redirect subfolder to subfolder and remove subfolder via nginx

I'm trying to redirect a subfolder to another subfolder with nginx. The hard part is removing the target subfolder from displaying, as it's a ruby app and not a true root folder. They are both on the ...