Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [directory]

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

0
votes
1answer
14 views

Need to add a login to a database for SSMS (Sql server) 2008 r2

I need to add a login to a database for SSMS (Sql server) 2008 r2 There is an answer to a very similar question here: How to add users to SQL Server 2008 Management Studio: https://stackoverflow....
0
votes
0answers
4 views

Erase network folder access history [migrated]

Hi I used to access some folders on one of our servers from my machine windows explorers by typing an address similar to the below in run. \192.168.0.119\d$ first time it asked for my password. ...
1
vote
1answer
24 views

Apache: No matching DirectoryIndex

I'm newbie in apache, i have the following directory structure: html |-- moodle |-- singapur |-- app |-- public |-- js |-- css |-- img |...
3
votes
3answers
462 views

What is the minimum action required in order to have access to a newly authorized server folder

I hope I'm at the right place (right stack exchange website). If not please tell me the right one. I got new rights on a folder on a Windows server by being added to Active Directory Group for which ...
-1
votes
3answers
54 views

Apache cannot access external drive on Linux Mint

I have a Linux server and a Windows server with a external drive for my website files. The problem only exists in Linux Apache configuration, where I cannot access the files for the sites located on ...
0
votes
2answers
39 views

WDS stopped working - no servers under Windows Deployment Services 2008 R2

I have three Windows 2008 R2 servers with MDT and WDS installed. It was reported multicasting stopped working on all of them. I made sure the multicast option was selected in the deployment shares' ...
0
votes
1answer
12 views

In Apache/local, how can I support both directory access and named-host access?

I understand how to use Directory and (I think) VirtualHost directives. I further understand that I can't mix them (although I can nest them). When I mix them I get 404 not found for the Directory-...
0
votes
2answers
98 views

How a subfolder of domain having different IP

We have multiple ecommerce platforms. Say, Magento and Shopware. Magento and Shopware are hosted in different servers. We want to migrate all Magento stores to Shopware. The domain name of Magento ...
1
vote
1answer
42 views

Customizing apache directory listing ONLY for subdirectories

I have a Download folder where I set up a directory listing sorted by last modified date, like this : <Directory /var/www/html/Downloads/> Options +Indexes ...
1
vote
3answers
111 views

Solaris 11 find empty folders (-empty not work)

How to find empty dir and delete in Solaris 11. I try this: find . -type d -empty Output: find: bad option -empty find: [-H | -L] path-list predicate-list
0
votes
0answers
22 views

IIS Website freezes when serving images from a virtual directory

I have a virtual directory in my iis website which points to a directory on the network (on another machine). This directory has over 100k images Every so often the website freezes. When it does, I ...
2
votes
2answers
438 views

Change directory to “This PC” / “Computer” from .BAT batch file

I'm using a batch file to automatically launch a software at login. This software maps a remote drives to which one letter is assigned (R:) and opens the file explorer to R:. I would like to append a ...
0
votes
0answers
15 views

PDF Printer not saving files on redirected folder

so morning headache.... we recently added a server to our office, but is not on-site, is off-site, and when trying to "PRINT AS PDF" files, it just won't save it on redirected folders, is ONLY ...
2
votes
3answers
43 views

How to replicate and flatten deep nested subdirectories' names into new folder

Example I have input directory as follows with two branches at the 2nd level (2 and 22) ~/input_directory/1/2/3/4/5/6 ~/input_directory/1/22/3/4/5/6 I want to run a command to populate ~/...
0
votes
0answers
17 views

Script: Monitor Directory and if new file(s) is/are found send changes per email

I am looking for script for linux, which checks directory and if new file/s is/are added, and sends email in format: There are new files in: Main Dir Subdir A - Filename.txt Subdir B - Subdir B1 - ...
0
votes
1answer
184 views

How do you define the “depth” of a folder structure?

This isn't a question directly related to any piece of software, but rather a question about terminology and definition of directory tree depth. When I look at how find . -maxdepth 0 works it seems ...
0
votes
2answers
317 views

Error configure nginx multiple subfolders with multi wordpress site

I have problem with configure nginx for mutilple subfolder, I had apply many solutions on serverfault, but it didn't work with my site. My sites are using two wordpress. Main site https://optshare.com,...
0
votes
1answer
82 views

Nginx doesn't pick the right php-stack in location

TL;dr I created a location block (/de/forums/) outside of the nginx root folder but the php gets sent to the php compiler inside root so there is a directory mismatch. It wont take the defined php ...
0
votes
1answer
73 views

Allow one member of a security group to access a folder, deny access to the remaining members of the same security group

I wish to know if the following is possible and how to apply it within AD structure running on windows server 2012R2. I apply folder access using security groups. Example = Agents folder can only be ...
0
votes
1answer
17 views

compare 2 directories with different files names and locations of the files

I'm currently having 2 (top level) directories with a lot of sub directories and files. There are a lot of duplicate files between those directories but there is one problem with it, the names of the ...
0
votes
1answer
24 views

Remove files from directory path B which are not found in path A on Linux

I have two paths on same system for example: \mnt\a\data \mnt\b\data There are some directories and/or files in b\data which are not present in a\data. How can I remove those extra directories and/...
0
votes
0answers
83 views

Folder Security Permission corrupted

i m using windows server 2003, in which the AD was corrupted. now i m moved to new server but my files and folders security permission was corrupted. every folder file i have to re- enable the admin ...
-3
votes
1answer
53 views

Recursively removing the content of a directory but not a directory itself [duplicate]

I have a directory which contains other directories and files of unknown depth. How can I delete only the content of the directory -- nested directories and files -- but not directory itself? I've ...
-2
votes
2answers
79 views

Removing the content of a directory recursively [closed]

I want to delete the content of a folder without deleting a folder: all files and all sub folders with sub files. This doesn't delete anything sudo rm -rf /folder1/* Why not? How to get it to work?
0
votes
1answer
31 views

ls *.csv --ignore=“*pattern*” returns files which contain “pattern”

Why does ls --ignore not ignoring the pattern? Looking at the below example: mkdir books cd books touch books_abby.csv touch books_karen.csv touch books_david.csv touch books_tom.csv This creates ...
0
votes
2answers
129 views

Bash directory alias/redirect

I'm trying to compile a library and his dependencies (lots of dependencies), but the system that I'm using didn't have the usual directory structure. I'm searching for a method to "redirect" all the ...
1
vote
1answer
500 views

nginx + fpm + subdirectory

I have an nginx config that looks like this: location ^~ /movies { alias /var/dp.cx/movies/current/public; fastcgi_index index.php; try_files $uri /movies/index.php; location ~* \....
2
votes
1answer
173 views

Getting Access Denied for folder as Administrator

On a Windows Server 2012 R2 machine, logged in as domain administrator trying to access the c:\users\public\desktop folder, getting access denied. This machine is the domain controller. How can I ...
1
vote
1answer
39 views

What's the most common and recommended directory for a web application on FreeBsd? [closed]

I have a website on a FreeBSD server which is reachable from the Internet. I know I can run it from whichever directory I wish. But still, which directory is more right, common and recommended? At the ...
1
vote
1answer
30 views

XFS Folder Dates

I have a server running Centos 7, kernel 3.10.0-514.16.1.el7.x86_64, Samba 4.5.2, and XFS. We archive documents in a bunch of small .tif files, so XFS works great for us. The folder is mounted in ...
1
vote
1answer
130 views

Apache Reverse Proxy | Wildcard directory rerouting (.htaccess)

How would it be possible to have a wildcard directory proxy? I have gotten the basics but the issue is, it gives out the directory which I'm in, my htaccess file: RewriteEngine on RewriteCond %{...
0
votes
0answers
461 views

Unable to change ldap client password(RHEL 7)

Trying to change ldap client password but give following error.help me if we can change anything from 389 console if possible. -bash-4.2$ passwd Changing password for user devid. Current Password: ...
-1
votes
1answer
61 views

Cent OS 7.2 Disk (df -h) 100% full but directory size (du -sch /* ) not [duplicate]

[root@CentOS-72-64-minimal ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 204G 202G 0 100% / devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 ...
0
votes
1answer
50 views

Postgresql and backups: can't access and manage my folder

I just want to pg_dumpall my postgresql db in /home/ftpuser/backups/ folder i just created. So I created a group (backuppers) with ftpuser and postgres as members. then i chgrp backuppers to /home/...
0
votes
2answers
49 views

How to upload directory from linux

I'm using Centos 7 Server. I do have specific directory which am looking to automatically upload everything inside it each time the size of it changed in order to save a copy of it all time. so i ...
0
votes
1answer
27 views

Linux, search for extended attribute value

When a directory contains some files with non-empty extended attributes, all the attribute values can be shown as follows: $ getfattr -d * # file: file1 user.comment="comment1" # file: file2 user....
-2
votes
1answer
79 views

Cant see computer in windows local network

I work with local network where are 50 computers. All are conneceted by 10 switches. Inside network is local group - MSHOME where computers have one shared folder. The problem is that some but not all ...
4
votes
1answer
359 views

Why is L2ARC not giving more speedup for directory traversal?

L2Arc is usually configured to cache random spinning platter reads on an SSD. I've set up this configuration in the hopes of speeding up directory traversal. This is the setup: # zpool list -v NAME ...
2
votes
2answers
617 views

Using Robocopy to search and copy directories using pattern matching

I have tried to find an answer to this but most questions related to robocopy and pattern matching are focused on excluding folders whereas my intention is to include folders. Assuming i have the ...
3
votes
1answer
95 views

Active Directory IS somehow allowing standard users full access to Active Directory Users and Computers

I just got a new job a few weeks ago, and I noticed that somehow Active Directory is allowing standard users to modify users and groups in Active Directory Users and Computers. Even though the ...
1
vote
1answer
185 views

nginx try_files not finding files in large directory (86k files)

To start out, the nginx config: server { listen 443 ssl; server_name example.com; ssl_certificate /example/fullchain.pem; ssl_certificate_key /example/privkey.pem; ...
1
vote
1answer
685 views

Shared folder, deny user from deleting files

I have a shared folder in my network under windows server 2012 r2, I have 1 user that I would like to deny him from deleting any files on the folder. The problem is that he is part of a group that has ...
0
votes
0answers
362 views

Nginx: PHP file works in server root, but shows 404 within alternatve location (alias)

Update! (at the end) Here's my server directory: /pub/ | `---html/ | | | `---_h5ai/ | | | | | `---public/ | | | | | `---index.php | | | `---<Some Other ...
-1
votes
2answers
319 views

How to configure Nginx to load wordpress site in subfolder? (for api calls)

My project directory structure is as follows: /var/www/mysite/ backend/ frontend/ where frontend/ contains simple html and js files, and backend/ is a wordpress site. I expose wordpress data ...
3
votes
1answer
283 views

Get a list of all users whose email address begins with sh followed by any 6 characters

I want to lost down all users whose email addresses begins with sh followed by any other 6 characters. Sh******@abc.com How can I achieve that using active directory users and computers or Get-...
-2
votes
4answers
81 views

How to set up apache virtualhosts serving different directories?

On my Ubuntu 16.04 system, I want to set up several websites that are served from several directories, that is, same domain, same port, same IP address. However, I don't know how to specify them. All ...
1
vote
0answers
173 views

Active Directory UPN Suffix / Logon Name

I have a question regarding UPN Suffixes / User Logon Names in Active Directory. Quick Rundown: We have a Domain and Exchange Server on-premise, the domain is called CONTOSO.local One user has 3 ...
0
votes
1answer
67 views

Displaying dirsize in batch file windows server 2012 R2

I'm trying to display the dirsize with a batch file but so far no luck. DU, dirsize gives me a not recognized as an internal or external command error. This is my batch file so far, it displays all ...
2
votes
0answers
246 views

AD DNS round robin - How to stop

Below is the architecture of my Active Directory setup running on Windows 2008 R2. All the clients are Windows 7 32/64 bit. The setup is there are three sites and each site has its own Active ...
0
votes
0answers
366 views

Redirect Multiple Domains to Subfolders

I have two domains and both of them are pointing at the same webspace. Now I have two subfolders, each for every domain. I've researched a lot and created a .htaccess file in the root directory. ...