Questions tagged [directory]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

AD Query for non expiring password but filter only active users

I need to do query which filters users with non expiring password setup. I have something like this: (&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=65536))...
Johny Wave's user avatar
1 vote
0 answers
441 views

Mounted network drive: cwd can't find current directory

I'm on Debian using python3.7. I have a network drive that I typically mount to /media/N_drive with dir_mode=0777 and file_mode=0777. I generally have no issues with reading/writing files in this ...
Howard Sherman's user avatar
3 votes
1 answer
8k views

Virt-Manager shared folder Linux host Windows guest

I have a Manjaro Linux up-to-date host with a KVM Windows 10 guest with SPICE guest additions installed managed through Virt-Manager. I'd like to be able to access the host via a shared folder on the ...
Rui Correia's user avatar
1 vote
1 answer
2k views

Nginx : How to do dynamic path routing requests to single root directory with different country (geoip module)

How to do dynamic path routing requests to single root directory and url to /<country_zone>/<actual_url>/* . I am able to retrive $country_zone value which can be any of (in|uk|us|...
sushil kanojia's user avatar
1 vote
0 answers
28 views

Upgrade from Win 7 to WIn 10 causing slowness due to home folders on DFS share

I have my home folders pointing to DFS share. Problem started when I am trying to upgrade my windows 7 to Windows 10, it is trying to scan thousands of profiles on the DFS instead of the system local ...
Mezz's user avatar
  • 11
2 votes
1 answer
2k views

Remove Access of object or user from directory using PS

We have several servers in the same domain and the requirement is to remove permission from a specific folder which is defined in the power-shell script and I need to specify the name of the object ...
Heisenberg's user avatar
1 vote
0 answers
149 views

Terraform, specifying location for vms on datastore

I was wondering as I couldn't find it in the documentation or I've missed it a lot. I am using Terraform 0.12.9 with newest vsphere provider. My goal is to do a clone from a template and it basically ...
Ricardo Sliva's user avatar
-1 votes
1 answer
77 views

Keep URL safe from search search engine results [closed]

I've tried to ask this a few times but I think readers are missing the problem, so I'm rewording it. I'm aiming to create a set of online TRUE lifestyle zines - Meaning that they cover a number of ...
W. Eless's user avatar
1 vote
2 answers
601 views

Giving a single sub directory multiple names via htaccess

Primary Scenario ( Answer Needed ) If my website http://website.com has multiple subdirectories: /features/ . /articles/ . /projects/ Which all contain their any number of files and folders; Is ...
W. Eless's user avatar
-1 votes
3 answers
2k views

Change WordPress root directory in nginx

I have a website that address is site.com and also a WordPress that is site.com/blog. I would change the WordPress root directory in the nginx. here is my config: server { listen 80 ...
Mostafa Soufi's user avatar
0 votes
2 answers
569 views

Copying files in Linux keeps full path

I made a script to, every 6 hours, copy a folder to a backup folder, then put them in /var/www/html/backup/. My command to copy the files was cp -vR ~/world ~/backups/Backup\ on\ $date/world My ...
Elijah Ciali's user avatar
1 vote
0 answers
110 views

Domain misconfiguration when loggging in to Samba 4.5 AD DC

I have set up a Samba 4.5 as a Domain Controller, I have added to AD a Windows 10 computer and a Windows 7 computer and a user and I can login from the windows computer. Relevant info: My domain is ...
Kentavros's user avatar
0 votes
0 answers
82 views

redirecting domain to subfolder with .htaccess

I'm new to using and changing the workings of a server and all that. So far I've only had one server with one domain for myself, but now a business is getting some traction and I want to use a ...
Malte's user avatar
  • 1
1 vote
1 answer
62 views

Linux File System - Folder Removal with Special Charakters

we have an Linux Debian Server in our House as Developer Machine. One of our developers has created accidental an Folder Called Ð?оваÑ? папка How can I Remove this folder. I have tried ...
Nicolay Braetter's user avatar
1 vote
1 answer
246 views

How to show subdomain on subfolder (IIS)

I have a website named: www.website.com And I have an application named: application.website.com Those are on different servers. And now. I want to show application.website.com on www.website.com/...
user2396307's user avatar
0 votes
1 answer
364 views

Removing Azure AD DS from subscription

I am looking to delete Azure AD Directory services from my subscription (and remove the subscription). But I want to verify that when I do delete Azure ADDS that user accounts will NOT be effected. I'...
Joe Miller's user avatar
4 votes
1 answer
16k views

"stat" says "permission denied", even though all the permissions are in place

I have this: ls -al /home/my_user/dir1/dir2/file1.txt -rwxr-xr-x 1 http http 2798 Dec 30 18:18 /home/my_user/dir1/dir2/file1.txt However, I can't stat it: sudo -u http stat /home/my_user/dir1/dir2/...
Pappani's user avatar
  • 51
0 votes
0 answers
119 views

Apache2 docroot and the directory directive in apache2.conf

Why is in standard apache2.conf only the container directive <Directory /var/www/> instead of the docroot <Directory /var/www/html>? I have the following release: $ lsb_release -a No LSB ...
John Goofy's user avatar
0 votes
2 answers
730 views

.htaccess password protect a file in a certain directory

I have files with the same name in different directories on the serves (example: stats.php), and I want to password protect some of them (.htaccess file in the root directory). I tried "FilesMatch" ...
Mike's user avatar
  • 143
0 votes
1 answer
2k views

How do I fix my ldap olcAccess to allow users to bind to it?

Background I have a super simple openldap server with basically nothing in it except the admin user, a couple OU's, and a user. I can login and auth against it with the admin user cn=admin,dc=example,...
emmdee's user avatar
  • 2,267
-4 votes
1 answer
93 views

Rename and replace parts with different filenames [closed]

I know there are different questions about this topic but I have found nothing that fits my question: I want to replace a part of a name in a folder but there are different files with different names....
user497594's user avatar
-1 votes
2 answers
2k views

How to mount a folder as a drive and share on network

i want to mount a folder as a drive and share on network, because we use a network based software which wants whole drive (C: or D: or E: etc.) shared over network for a folder inside it, my approach ...
Yuzarsif's user avatar
0 votes
1 answer
2k views

NGINX Not showing directory contents

I have some trouble with NGINX on my server. I previously used Apache. When I try to request folder contents on my server (like, 192.168.0.128/files), I get a 403 Forbidden error. Anyone know how to ...
lazycouch doge's user avatar
0 votes
1 answer
4k views

How to restore subdirectory of a duplicity backup?

I have a duplicity backup script running under Ubuntu 18.04 which has backed up the contents of my /etc directory like this: duplicity --archive-dir=/home/bkp/.cache /etc rsync://backup.host::/bkp/...
TommyPeanuts's user avatar
1 vote
1 answer
2k views

Conditional Forwarder or DNS Stub Zone to Non-Authoritative DNS Zone

How could I go about forwarding DNS lookups to a non-authorative zone, in a sort of 'next hop' scenario? The setups is as follows: One ADDS Domain (contosob.local) which contains two DNS servers, ...
Matthew Beckett's user avatar
1 vote
0 answers
84 views

mysql on custom folder

I have already installed MySQL 5.7 (using apt-get) on an Ubuntu server but I need to install version 5.5. I have used the tar.gz binary package and installed it under /home/mysql55/mysql. Now I need ...
GID's user avatar
  • 21
17 votes
5 answers
17k views

Difference between Azure tenant and directory

Are Azure "tenant" and "directory" different things, or different names for the same thing? According to the documentation, a tenant is a container within Azure associated with a company or group of ...
Jerome Smith's user avatar
0 votes
2 answers
568 views

Use Robocopy or Powershell to search folder, rename and move

I'm trying to figure out a solution for this ex. paths C:\Designs\CustomerA\PhotoshopFiles\ C:\Designs\CustomerB\PhotoshopFiles\ C:\Designs\CustomerC\PhotoshopFiles\ What I want to do is move the ...
T Henrique's user avatar
0 votes
1 answer
118 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....
JosephDoggie's user avatar
1 vote
1 answer
3k views

Apache: No matching DirectoryIndex

I'm newbie in apache, i have the following directory structure: html |-- moodle |-- singapur |-- app |-- public |-- js |-- css |-- img |...
ignacio.saravia's user avatar
3 votes
3 answers
590 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 ...
Eric Ouellet's user avatar
0 votes
3 answers
1k 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 ...
H35am's user avatar
  • 111
0 votes
2 answers
2k 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' ...
Tomasz Szymon's user avatar
0 votes
1 answer
25 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-...
David Spector's user avatar
0 votes
2 answers
2k 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 ...
Vigraman Padmanaban's user avatar
1 vote
1 answer
829 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 ...
Jean D's user avatar
  • 11
1 vote
3 answers
1k 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
Eddypapa's user avatar
2 votes
2 answers
4k 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 ...
OuzoPower's user avatar
  • 347
2 votes
3 answers
215 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 ~/...
Richard L's user avatar
0 votes
1 answer
6k 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 ...
Jake Wilson's user avatar
  • 8,924
0 votes
2 answers
1k 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,...
Tran Dung's user avatar
1 vote
1 answer
936 views

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

UPDATE 28.02.2019 The problem is the following part inside my server block: # Don't use `$uri` here, see https://github.com/yandex/gixy/issues/77 rewrite /wp-admin$ $scheme://$host$...
Edward Black's user avatar
0 votes
1 answer
2k 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 ...
Peter.Boylan's user avatar
0 votes
1 answer
41 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 ...
grezly's user avatar
  • 1
0 votes
1 answer
44 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/...
Lukasz's user avatar
  • 482
0 votes
0 answers
146 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 ...
cva's user avatar
  • 9
-3 votes
1 answer
2k 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 ...
Raj's user avatar
  • 129
-1 votes
2 answers
3k 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?
Raj's user avatar
  • 129
0 votes
1 answer
892 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 ...
Greg's user avatar
  • 1,677
0 votes
2 answers
247 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 ...
Michele's user avatar
  • 101

1
2
3 4 5
14