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
0answers
23 views

S3 “folder-per-client” permissions strategy

I was originally planning on an S3 bucket per client, with bucket policies restricting access to that bucket to a single IP (the clients' single-tenant server). However, most S3 compatible service ...
0
votes
2answers
19 views

set permission automatically to all subfolder and subfiles in specific folder

I want to set a folder such that anything created within it (directories, files) inherit default permissions and group , by anyuser (root also) so , the content of this folder will be deleted by my ...
0
votes
0answers
16 views

nginx Subdirectory config to work JS (apache work good, nginx HELP)

I have a some site with work on JS library and path to JS files need to start with ./ (like ./js/somescript.js or ../js/somescript.js) and URL of pages like mydomain.com/lk/welcome but I need make ...
0
votes
1answer
22 views

Mount a directory on a new partition or disk [closed]

I would like to know how to mount a directory on a new partition or disk. I have a directory, example: /u01/app/mylab/data Inside this I have several files and directories, with specific permissions ...
0
votes
2answers
114 views

How to restrict all but defined accounts to access folders on MS server?

I've been trying to only allow defined members on Active Directory from accessing folders used for an IIS server. There are too many accounts to deny one by one leaving only one or two users to access ...
0
votes
0answers
23 views

Why ErrorDocument 401 will solve redirect error when password protect wp-admin folder?

I try to password protect the WordPress wp-admin folder in cPanel. However, after that, I will get redirect error when accessing www.example.com/wp-admin/ . I try to search online at see this article ...
0
votes
1answer
15 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))...
0
votes
0answers
27 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 ...
0
votes
1answer
713 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 ...
0
votes
0answers
16 views

How does “Sent” folder work on email servers?

Is all outgoing email just copied to the "Sent" folder when I send the email or do I send a copy of the message to both myself silently (and it arrives back to the "Sent" folder) and to the recipient?...
1
vote
1answer
73 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|...
1
vote
0answers
15 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 ...
2
votes
1answer
51 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 ...
0
votes
0answers
53 views

IIS FTP, how to disable listing only in a specific folder

I have this kind of path in a FTP Site in IIS 10 directory example It is possible to disable listing only in ROOT folder and not in subfolders, or hide the content of ROOT folder but not in subfolders?...
1
vote
0answers
29 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 ...
-1
votes
1answer
72 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 ...
1
vote
2answers
58 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 ...
0
votes
0answers
24 views

Wordpress running in a sub-directory on IIS not able to log into Admin Area

Recently I tried to install a WordPress site inside of a sub-directory on a Windows server. The site comes up fine but when I try and log into the Admin panel at wp-admin/ the submit button to log-in ...
-1
votes
3answers
125 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 ...
0
votes
2answers
119 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 ...
1
vote
0answers
86 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 ...
0
votes
0answers
43 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 ...
1
vote
1answer
47 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 ...
1
vote
1answer
63 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/...
0
votes
1answer
48 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'...
1
vote
1answer
2k 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/...
0
votes
0answers
28 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 ...
0
votes
2answers
123 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" ...
0
votes
1answer
724 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=...
-4
votes
1answer
75 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....
-1
votes
2answers
160 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 ...
0
votes
1answer
537 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 ...
0
votes
1answer
732 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/...
0
votes
1answer
617 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, ...
1
vote
0answers
52 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 ...
3
votes
4answers
2k 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 ...
0
votes
2answers
313 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 ...
0
votes
1answer
47 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....
1
vote
1answer
2k 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
515 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
397 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
967 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
15 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
761 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
273 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
569 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
2
votes
2answers
2k 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 ...
2
votes
3answers
55 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
1answer
2k 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
570 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,...

1
2 3 4 5
13