Questions tagged [directory]
A directory, also commonly called a folder, is a filesystem object used for organizing files and other directories.
140
questions with no upvoted or accepted answers
3
votes
0
answers
2k
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 ...
3
votes
2
answers
2k
views
nginx howto correct the path from a back-end server redirect response under a virtual directory
The following was my deployed servers:
client ------ nginx proxy(example.com) ------ back-end server(192.168.1.20)
The nginx proxy's external URL was configured under a virtual directory http://...
2
votes
0
answers
187
views
Can OpenLDAP deliver operational attributes by default?
I have configured OpenLDAP with the memberOf overlay and everything works as expected for me. I can see the group memberships in the operational attributes of an object.
Now i am running into the ...
2
votes
0
answers
240
views
Ubuntu 20.04 to Microsoft Active Directory Integration
I'm having an issue integrating Ubuntu with a Windows Active Directory, the "Realm Discover" always fails to find any realm at all.
My DNS server is absolutely fine and I am using Ubuntu 20....
2
votes
0
answers
975
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 ...
2
votes
0
answers
2k
views
Automatically mapping subdomains to directories with Apache 2.4?
I manage a lot of projects on my personal development server. I just upgraded Apache and accidentally reset the configuration files in the process, so I thought this was a good opportunity to optimize ...
2
votes
3
answers
2k
views
tmpfs - auto create whole path when write to file
I have mounted tmpfs .e.g.
/tmspfs/cache
As we expect, so after restart server is ram empty and all content from mount is away. It is ok. But I have in my system some full path e.g. /tmpfs/cache/...
2
votes
3
answers
456
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
FolderA\FolderAA\...
2
votes
0
answers
509
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 "...
2
votes
0
answers
45
views
Re-adding users profile into new DC/AD server
Need some advice. It is related with my question last week.
"Could I create new DC/AD from fresh installation in new machine then I do adding all users information (username and password) based on ...
2
votes
1
answer
137
views
Apache issue with VirtualHosts
I am setting up a small website in-place on the production server. While we are finalizing all the settings for the final domain we've located it on dev.domain.com, so that our visitors don't see a ...
2
votes
2
answers
2k
views
Apache 2 .htaccess matching all sub directories of current directory
I want to disable the php engine in all directories below the current one.
I have tried using <Directory> and <DirectoryMatch> but cannot find the correct regex syntax for matching just ...
1
vote
2
answers
86
views
Delete folders asynchronously
I have a large file system in which I have to delete certain directories from time to time. Currently I have a script which amongst other things, deletes a folder and subsequently generates an email ...
1
vote
2
answers
780
views
Nginx Server with multiple applications on sub-directories
My team has a server we use for internal tools and tests. It has a subdomain pointing to it: myserver.mycompany.com. What we're trying to achieve is to have multiple applications, each with under a ...
1
vote
1
answer
129
views
Apache 2.4: owncloud in sub-directory outside of DocumentRoot
I am working on moving current setup of owncloud from sub-domain https://cloud.example.com to sub-directory https://example.com/cloud to make all my apps covered by one SSL certificate. The problem is ...
1
vote
0
answers
4k
views
NGINX file server with symlinks
This is a bit of a beginner question, but I'm trying to make Nginx serve a static file server that contains symlinked folders. Eg, the root directory might contain directories A and B, which each ...
1
vote
0
answers
114
views
WP with reverse proxy: Accessing Admin section from subdomain
I have a blog on a subdomain (WP installation), which for SEO reasons I’m moving to a folder structure. The subdomain and the main site are on different servers/platforms, so I’m using a reverse proxy....
1
vote
1
answer
191
views
Nginx subdomain + subfolder to subfolder
The goal is to load pages from blog.example.com/blog using example.com/blog and all the posts, categories and authors.
location /blog(/.*)$ {
rewrite ^ $1 break;
proxy_set_header Host $host;
...
1
vote
0
answers
282
views
Compare 2 Directories and Move Differences to a Third directory
Running Ubuntu 20.04 and want to compare two directories called 1 and 2 and move differences to a separate directory called 3, ideally conserving the subdirectories.
I am able to get almost the ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
|...
1
vote
1
answer
2k
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 ~* \....
1
vote
0
answers
87
views
Redirecting address record to a subdirectory
Can someone help me out with how to redirect an URL that has an address record?
The situtation is as follows:
I am trying to resolve a WordPress URL (groups.regalcouch.com) to a subdirectory (groups....
1
vote
1
answer
1k
views
Cannot delete folder because it's open in another process
I cannot delete a folder that's located on a network path because "The file is open in another process". I have managed to recursively delete the folder contents with powershell, but not the root ...
1
vote
1
answer
175
views
Folder Effective Permissions Not Accurate
I have a folder on a Windows Server Standard 2008 that is shared. There is a user that I need to restrict access to this folder. They connect over VPN. When I look at the Effective Permissions, this ...
1
vote
0
answers
893
views
Windows Server 2008/2012 DFS won't replicate one folder
I have a problem with Windows 2008 DC replicating to Windows 2012 DC. I've been dealing with this for 6 months.
The replicated folder contains 15 folders and 0 files in the root.
All of the folders ...
1
vote
0
answers
72
views
Server 2008 R2 permissions not working
First of all: i posted this yesterday but put in the wrong email so I can't access it again.
I am configuring a 2008 R2 server for learning experience. The problem I'm having is the following:
...
1
vote
0
answers
489
views
"Deny from all" not working
I have made following configuration on httpd.conf. But, any IP still can access PHPMyAdmin URLs/aliases. What have I missed? Is this related with "Alias" directive?
Alias /phpmyadmin /usr/share/...
1
vote
0
answers
779
views
No input file specified nginx subfolder
I've searched many results in this site has same title as my question, but I can't find a suit for me, this is my problem :
I installed nginx on ubuntu
Everything is ok now, but when I tried to ...
1
vote
1
answer
809
views
Open litespeed and additional engines in subfolders
Last night I spent more time than I should have trying to get a. New VDS up and running with percona and open litespeed. The site I want to run ok there is structured as follows
Webroot
- index.php
- ...
1
vote
0
answers
29
views
Is it possible to create something along the lines of an odbc.d directory?
Many servers such as nginx, Apache httpd, as well as other services and tools like yum, supervisord, cron, etc allow you to place configuration files in a directory and add, remove, and change ...
1
vote
0
answers
1k
views
Directory index full, is this fsck result OK?
I found these in my /var/log/messages:
kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full!
kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full!
...
1
vote
1
answer
9k
views
you must have read permissions to view the properties of this object, administrators group
I think I'm having some difficulty understanding NTFS permissions. My understanding is that when possible you want to avoid assigning a specific user account to NTFS and instead use a group. So I set ...
1
vote
1
answer
70
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:
test.maindomain....
1
vote
0
answers
343
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: ...
1
vote
0
answers
65
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. ...
1
vote
0
answers
5k
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 ...
1
vote
0
answers
162
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 ...
1
vote
0
answers
162
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 ...
1
vote
1
answer
2k
views
Apache 2.2 LDAP Authentication Error 500 - AuthLDAPURL
I have an Apache server on RHEL 6 that uses our active directory for authentication and when we added a new "LocationMatch"
AuthLDAPURL ldap://ad.company.com/DC=ad,DC=company,DC=com?samaccountname?...
1
vote
0
answers
682
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
____index....
1
vote
0
answers
695
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, ...
1
vote
3
answers
260
views
Linux / CentOS - Need to set R/W only permissions for future directories
I have very little background in Linux of any type, so I'm completely firing off the hip to begin with.
I have been asked by the boss to set up an FTP server based on CentOS. So far, things have ...
1
vote
0
answers
141
views
can't assign permission for a folder to a group only one owner works
I'm trying to change permissions on a folder as root on Centos server using:
chgrp -Rv ftpusers /var/www/html
seems like everything is right in verbose. I have two users in ftpusers group however, ...
1
vote
1
answer
2k
views
"Path Not Found" when attempting to write to a sub folder within a mapped drive
We have an interesting issue with one of our server shares, or possibly, our Win 7 desktops.
When our users try to save files in a sub folder, either via copy/paste or through an application, to a ...
1
vote
1
answer
469
views
update tar archive in the relative directory
when I want to create a tar archive in a relative path, I can do this:
tar cf archiveName.tar -C relative/path someDirectory
but when I want to update the archive, this
tar uf archiveName.tar -C ...