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
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 ~* \....
Glen Solsberry's user avatar
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 ...
Chris Vesper's user avatar
1 vote
1 answer
77 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 ...
Ko32mo's user avatar
  • 13
1 vote
1 answer
100 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 ...
Brent's user avatar
  • 107
1 vote
1 answer
706 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 %{...
George Tsatsis's user avatar
-1 votes
1 answer
410 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 ...
user231410's user avatar
0 votes
1 answer
128 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/...
Wyatt Gillette's user avatar
0 votes
2 answers
193 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 ...
αԋɱҽԃ αмєяιcαη's user avatar
0 votes
2 answers
422 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....
BowPark's user avatar
  • 103
-2 votes
1 answer
88 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 ...
Serhii Nuzhnyi's user avatar
5 votes
1 answer
884 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 ...
Jos van den Oever's user avatar
2 votes
2 answers
5k 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 ...
ziggy's user avatar
  • 121
2 votes
1 answer
251 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 ...
Kent Allard's user avatar
1 vote
1 answer
698 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; ...
PitaJ's user avatar
  • 113
1 vote
1 answer
5k 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 ...
Shlomi's user avatar
  • 331
-1 votes
2 answers
1k 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 ...
Organic67's user avatar
2 votes
1 answer
984 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-...
Jdoe's user avatar
  • 21
-1 votes
4 answers
20k 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 ...
Tobias's user avatar
  • 11
0 votes
1 answer
107 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 ...
Arne Banck's user avatar
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 ...
user avatar
5 votes
1 answer
2k views

How can a file moved to a directory with GID-bit set inherit the group ownership

Problem I know that a file that is created in a directory with the GID-bit set it will inherit the diretory's group ownership. This however doesn't work for files that are moved to that directory as ...
Jdz's user avatar
  • 53
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....
SP-Brown's user avatar
2 votes
1 answer
348 views

Make subdomain files only accessible via subdomain

On a shared hosting I have a public_html directory where the site is located. There are multiple subdomains created and they are located in the public_html like public_html/subdomain1, public_html/...
Domas's user avatar
  • 161
0 votes
0 answers
136 views

Allow a user to read some other users' home directories - Windows

I have an user - reception with a home directory ("\nas\home") which I want to share it with another user only i.e.: john I'm looking for a way around of it as we the way SMB home shares are treated ...
Vini's user avatar
  • 1
0 votes
0 answers
2k views

Getting "No such file or directory" But it exists

I'm trying to cd into this directory /lib/modules/2.6.32-573.18.1.el6.x86_64/build However, it is saying this directory doesn't exist when it clearly does. When I enter the command ls -l /lib/...
bmarkham's user avatar
  • 111
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 ...
DSKyo's user avatar
  • 153
0 votes
0 answers
111 views

What is SEO friendly: blog.brandname.com or www.brandname.com/blog?

www.brandname.com is a Rails app hosted at Heroku. brandname.wpengine.com is a Wordpress blog hosted at WPEngine. I know I can't use the DNS (CNAME) to map www.brandname.com/blog to brandname....
fro_oo's user avatar
  • 111
-2 votes
1 answer
46 views

Tried to move folder but files were in use - folder has now disappeared entirely?

We currently use MozyPro for our online backups but in order to save on the amount of storage space we need to purchase with them we opted to move a large number of images over the SharePoint storage ...
Manno's user avatar
  • 97
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 ...
Psyfun's user avatar
  • 111
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 ...
Allenph's user avatar
  • 135
-2 votes
1 answer
783 views

Folders starting with a dot

I'm a little curious about something, I'm running Windows 7 and I had a folder called .Net Framework which I wanted to rename to remove the space. So I tried to call it .Net_framework but Windows ...
GogLlundain's user avatar
114 votes
1 answer
149k views

What is the purpose of the ".well-known"-folder?

If've found a new error message in our log files and would like to know, for what this .well_known folder is used for. Which application/client would need to access such a folder and which ...
Sascha's user avatar
  • 1,264
0 votes
1 answer
66 views

Idiomatic way to serve an internal server and a php directory under the same domain name with apache

I tried many things since yesterday with no good result. Here is the situation I have an internal server listening on port 4000 and a wordpress directory located in /var/www/html/wordpress. I use ...
Guestounet's user avatar
0 votes
0 answers
52 views

How to "stage" file movements before performing them on Windows?

I have a disk with terabytes of data. I would like to reorganize the disk. The problem on Windows is that if I move one of the directories to the new place, I have to wait hours for that relocation ...
rhombidodecahedron's user avatar
0 votes
2 answers
338 views

CentOS server - where should I store my scripts? [closed]

I have CentOS server with WHM and few cPanel accounts. I connect to it using ssh. All cPanel accounts are stored in /home directory. centos-release-7-2.1511.el7.centos.2.10.x86_64 I also have ...
Kunok's user avatar
  • 153
0 votes
0 answers
237 views

mounted network disk with cifs doesn't allow to move created folders

I can create, delete and rename folder (as long, as it is stays on the same level) on an cifs connected network disk, but I cannot move them. When I try to move one dir inside of another dir, it gives ...
igoryonya's user avatar
  • 315
-1 votes
1 answer
173 views

Windows Server on domain, log on with domain user or local server account?

I have two servers set up, one is as active directory, and the other I am still configuring. On the server that is connected to the domain controller, should I be logging in as the local Administrator ...
Auborey's user avatar
1 vote
0 answers
11 views

Laravel project in subfolder of public_html gives trouble with .htaccess redirect [duplicate]

I've set up my VPS server and am trying to set up a Laravel project. I have a /public_html/ folder with an index.html that's shown when visiting the website URL. I have a laravel project in: /...
mesqueeb's user avatar
  • 111
3 votes
2 answers
7k views

nginx sub directory wildcard rewrite

I have set up a server block on my nginx server, e.g. with domain testsite.com. I want to be able to install separate WordPress installations into direct child folders of the root folders, e.g. /var/...
physalis's user avatar
  • 145
0 votes
1 answer
2k views

Apache Aliased Directory doesn't work for child directories of alias

I'm trying to run two different applications under user. Application 1: /home/user/public_html/app/public/ Application 2: /home/user/public_html/forum/ VirtualHost has the Server set to the ...
acupofjose's user avatar
0 votes
1 answer
492 views

Can I hide time and date and size in Nginx webserver directory listings?

By default Nginx webserver shows the date , time and the size of all uploaded files when you browse each directory . It's something like " 21-Apr-2016 07:38 719858135 " . Is there a way to ...
Ali Mastermovie's user avatar
1 vote
2 answers
2k views

Configure Azure AD Connect

I'm trying to set up an domain in Azure AD Connect on a Workgroup computer. The challenge that we have is, we have a dedicated domain controller for the purpose of Azure AD Connect and the other ...
mutukrp's user avatar
  • 31
2 votes
1 answer
3k views

Confused on BigFix relevance - x64 files

I am using BigFix in an Enterprise Environment and noticed a recent round of Microsoft patches for 2016 have failed on a small group of assets. I was able to work around this by creating Custom Copy ...
Sawta's user avatar
  • 345
-3 votes
3 answers
77 views

What should the owner of `.` and `..` directories be? [closed]

A few questions about the . and .. directories: ls -la drwxr-xr-x 3 root root 4096 Mar 21 12:47 . drwxr-xr-x 60 root root 4096 Mar 15 14:36 .. Are . and .. actually directories or are they like ...
BadHorsie's user avatar
  • 137
0 votes
1 answer
5k views

cronjob error "/bin/sh: /path/to/file: No such file or directory" [duplicate]

i've installed a python software that allows to run javascript on the server i've put the binary file (jsrunner) in this address /usr/local/bin/jsrunner so in the ssh when i try it it works fine ...
hretic's user avatar
  • 111
6 votes
1 answer
9k views

Nginx point subdirectory to root

How can I point www.domain.com/ru/ to open the content of www.domain.com/ ? Not a redirect. I have tried alias and root but can't figure how to make it work. Thank you.
dima_mak's user avatar
  • 135
0 votes
2 answers
3k views

Serving images from two different directories with Nginx

This should be basic... I'm brand new, and no amount of googling and searching stack exchange is helping. I have a website that I want to be able to serve images from, from different directories. I ...
farfie's user avatar
  • 3
2 votes
4 answers
4k views

How can I ensure only salt-managed files remain in directory and keep the diff clean?

Assume a directory like this: - etc/nginx/sites-available/ - hostA - hostB - hostC Where hostA and hostB are created by salt. hostC was created earlier by salt as well, but since than it ...
Tomáš Fejfar's user avatar
0 votes
1 answer
125 views

Linux CLI Make a Tar.Gz with Tar.Gz First-level Directories

Currently, I use this command to make tar.gz archives: sudo tar -zcpvf archive.tar.gz directory1 directory2 directory3 Is there a way to compress multiple archives like above, but instead of ...
GTS Joe's user avatar
  • 199
2 votes
1 answer
2k views

Prevent deletion of folder but let access to everything inside of it

I know there is the +i flag for files and directories, but i have a deeper Problem. Is there a way to prevent a folder from being deleted by an User which should be able to create / access / remove ...
fechnert's user avatar
  • 133

1 2
3
4 5
14