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
-2 votes
1 answer
114 views

Update Application on Shared Folder [closed]

I am trying to find a good way to implement updating an application on a shared folder. If there is an update to the program I need to uninstall and reinstall the program on the shared folder. What ...
user254745's user avatar
0 votes
1 answer
184 views

Bash shell copy files on the hidden directory [closed]

Need help with Unix script. how do you use /bin/cp to copy files from /somepath/somedir/somewhere/.temp_folder to /somepath/somedir/somewhere/ my line /bin/cp -r somepath/somedir/somewhere/.[!.]* ...
evilspowa's user avatar
0 votes
1 answer
2k views

Nginx configuration doesn't work with wordpress in subdirectory

I have a nginx installation which I need for hosting web sites in development so that other people can test them out. Right now I've set up a virtual host for a single sub-domain and in that ...
Niklas's user avatar
  • 113
1 vote
1 answer
779 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 - ...
Dan's user avatar
  • 11
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 ...
Jordan Reiter's user avatar
5 votes
3 answers
482 views

What is the name for sorting a directory with lots of files into subdirectories? [closed]

One way to make manageable a directory with a huge number of files into it is to sort the files into subdirectories named after progressive characters in the files' names. E.g.: - ...
user avatar
0 votes
1 answer
532 views

389 Directory Server - Multiple Domains

I have multiple business that i would like to authenticate to a single server for SSO. I am using 389 directory server and have already split each domain into it's own respective OU. I would like to ...
TriadicTech's user avatar
1 vote
1 answer
136 views

DropBox style folder storage

I would like to set up a storage for people to access. So like I have a network set up with 1 domain controller and a back up server as well and I have user accounts set up in AD and basically I want ...
Computeristic's user avatar
0 votes
3 answers
4k views

How do I gather OS information about all users in AD?

I'm looking to make a script or something along those lines which will allow me to check the OS version of all users within the AD, without interrupting daily operations. So far i've found this script ...
user2670669's user avatar
-1 votes
1 answer
540 views

nginx special directory whitelist extension

How can i set white list extension for special directory for my virtual host. I have bower installation of my webapp and i install many bower component into bower_components directiry of root of ...
Mohammad Hossein Fattahizadeh's user avatar
-1 votes
1 answer
2k views

Directory deleted after server reboot [closed]

I created a directory on the dev with the command mkdir /dev/hddbackup on CentOs powered server. After rebooting the server the directory is gone. I use the command ls to see it but it's not there. ...
Soheil Mirzaei's user avatar
1 vote
1 answer
3k views

Nginx Password Protect Entire Port Number 8081

I'm trying to password protect an entire port on my website--https://domain.com:8081 and http://domain.com:8081 I have tried editing /etc/nginx/sites-enabled/domain.com.vhost by adding the following ...
Pamela's user avatar
  • 187
0 votes
0 answers
732 views

How to optimize Nginx config to serve Laravel from subdirectory

I have multiple applications setup on one domain, each in its own folder like this: example.com/app1 example.com/app2 ... example.com/appX My directory tree is like this: /usr/share/www/ ...
Lukasz Wozniak's user avatar
2 votes
1 answer
347 views

Where to place my server, configuration and (big) data? /srv? /etc? /usr/local/bin? /home/me/.whatever?

I was searching this site for good answer to my question, the best I could find was this. (I'd guess to put my config in /etc, application in /usr/local/bin and data in either /home/firda/.tunnel or ...
firda's user avatar
  • 123
1 vote
1 answer
307 views

How to prevent hotlinking for subdirectories only?

I want to prevent hotlinking to all subfolders in /var/www/store but at the same time allow linking to its index page. I tried doing this: <Directory "/var/www/store"> DirectoryIndex index....
Question Overflow's user avatar
0 votes
2 answers
1k views

Reverse proxy domain subdirectory to another host serving the same domain name

I have a Debian 6.0 webserver correctly running with the following setup: Nginx as front-server listening on the WAN facing interface port 80 Serving the domain HTTP mydomainame dot org (via ...
bashintosh's user avatar
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! ...
adrianTNT's user avatar
  • 1,139
0 votes
1 answer
12k views

How to Protect a Folder from Browser access but allow PHP scripts to acess it

So I currently have a folder located at /var/www/pictures, with /var/www being the document root for my web server. I want to have the pictures folder to throw a 403 forbidden error if a user tries to ...
Allfer2's user avatar
  • 23
1 vote
1 answer
8k 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 ...
skinneejoe's user avatar
-1 votes
1 answer
2k views

Hidden Directory Detected

My company web application had a penetration testing done and there's a risk found is regarding the hidden directory: http://example.com/aux/ http://example.com/cgi-bin/ http://example.com/com1/ http:...
John's user avatar
  • 91
0 votes
2 answers
329 views

How to restrict access to root to daemon user?

I have Apache 2.4 with PHP 5.5.14 installed on latest Debian. According to Apache security tips&tricks I've set my httpd.conf to this: <Directory /> AllowOverride none Require all ...
Kevin Kopf's user avatar
0 votes
1 answer
1k views

Mounted Gluster volume keeps reverting to "root" permissions

Ive got GlusterFS running on an AWS server and its mounted to another AWS server. The folder that is mounted though keeps reverting to "root" ownership, when this happens uploads fail from the web ...
linux-user1111's user avatar
2 votes
3 answers
1k 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/...
Pavel's user avatar
  • 417
0 votes
1 answer
3k views

How do I allow access to a directory in apache that is actually a RewriteRule match?

We have a server with a lot of domains. Each domain will have one or more of the following admin areas that we wish to secure by IP: domain.tld/admin (admin area) domain.tld/blog/wp-admin (wordpress ...
Leonard Challis's user avatar
0 votes
0 answers
491 views

How to approach SSL encryption with file uploads

I added SSL to a site I'm putting together, and it caused a huge error that I have no idea how to approach. The user logs into the site, which allows them to upload files to the server into a ...
donutsorelse's user avatar
0 votes
2 answers
794 views

Delete oldest directory, skipping two of them

I have to delete oldest directory. But, two of directories does not have to be "included" in this action. So, directory content looks like this: [root@myserver backup]# ls -la total 84 drwxr-xr-x 21 ...
user48058's user avatar
  • 863
0 votes
1 answer
2k views

nginx points the sub-directory of an alias folder to the base directory

I am new to Nginx. Now I have a confusion on nginx configurations: My web site contains folders in different locations: location / { root /Path1; } location ^~ /download { alias /Path2; } When ...
Starry's user avatar
  • 1
1 vote
1 answer
1k views

Apache Server - Subdirectory on different server [closed]

You have 2 different servers with different IP Addresses. Both servers are Apache based. Server A: already hosts a website (http://example.com) Server B: would host a WordPress website to be in a ...
Danny Boy's user avatar
0 votes
1 answer
100 views

How to access original files from before a symlink gets updated, which have since been moved to another dir

We have a website and our deployment process goes somewhat like the following (with lots of irrelevant steps excluded) echo "Remove previous, if it exists, we don't need that anymore" rm -rf /home/[...
Luke Cousins's user avatar
0 votes
1 answer
679 views

Change permission for home directory on debian [duplicate]

My Debian machine is running DirectAdmin and we have build our own CMS. By now, when we create a new website a new folder and user will created down the /home/ directory. As an developer to setup ...
user968898's user avatar
2 votes
3 answers
442 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\...
John Smith's user avatar
2 votes
1 answer
4k views

/bin/sh: /bin/cp: Argument list too long

I have problem with this command: 'cp' -fr /www/*-aws/* /www/mainhost/aws/awstatstotals/tmp/ Error is Argument list too long - I know many /www/-aws/ folders. I know that I can use FIND command, ...
Pavel's user avatar
  • 417
2 votes
1 answer
365 views

Apache Location and Directory access

I have Apache 2.2 running on CentOS 6.4 There is application in / directory and folder where are some files, lets say it is /public. I need to allow access to / directory to ip1, ip2, ip3 and allow ...
erizo's user avatar
  • 157
-1 votes
2 answers
525 views

A linux program/script for keeping certain folders below fixed size, removing oldest files if neccessary? [closed]

E.g. the autotrash would do perfectly if it wasn't bound to monitor trash folders only.
Alexander Gonchiy's user avatar
-1 votes
1 answer
270 views

Should images be stored on a subdomain or subdirectory?

I'm working on a sharing app where images get stored for 24 hours. Does it bring any advantages to store them on a subdomain http://imgs.example.com instead of a subdirectory http://www.example.com/...
Uli's user avatar
  • 3
0 votes
1 answer
298 views

MySql - Lost /var/lib/mysql directory [closed]

So, the thing is that I was messing around with directories to backup and I delete the folder /var/lib/mysql and now i cant connect to my database gettin this error (I'm using plesk panel): **...
Dani Cuesta's user avatar
1 vote
1 answer
638 views

Does a Windows Server 2012 FRSM auto-applied quota at a root folder mean the root folder has a cumulative quota equal to all subfolder quotas?

I've done some reading on TechNet and run a few searches for this answer, but so far haven't found anything. I have a root folder with 9 subfolders, and I assigned an auto apply template to the root ...
Jeff_Lucas's user avatar
0 votes
1 answer
109 views

Nginx and multiple applications

I am new to nginx, and here what I am trying to achieve : I have only one domain name. I want to have several applications, accessible with something like : mydomain.com/app1 mydomain.com/app2 etc ...
Lovau's user avatar
  • 103
14 votes
2 answers
18k views

Apache2 - 301 Redirect when missing "/" at the end of directory in the url

I haven't really noticed this Redirect(301) when requesting a url like this without slash("/") at the end: http://server/directory The server will respone with a 301 Redirect Permanent header with a ...
Jonathan Gurebo's user avatar
3 votes
2 answers
5k views

How to change default duplicity archive directory?

How can I change the duplicity default archive directory (~/.cache/)? The following option seems to be ignored. Option --archive-dir=/volume4/duplicity/cache/ --name backup duplicity 0.6.21 (...
Ben Asmussen's user avatar
2 votes
1 answer
16k views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
humungs's user avatar
  • 265
0 votes
1 answer
66 views

Why a given user can access a folder and another one does not?

I have two servers: Server one: deploy@server:/home/vftp$ ls -la total 24 drwxr-xr-x 6 ftp ftp 4096 May 7 2013 . drwxr-xr-x 7 root root 4096 Jul 19 2013 .. dr-xr-xr-- 3 ftp ftp 4096 Feb 18 ...
Pablo Torrecilla's user avatar
5 votes
1 answer
14k views

How can i manipulate the find command to "find" the directories the "found" file is in?

So i'm trying to use the find command to find all files in my system with mtime -x. It does this but it does not "find" the directories of the file. find . -mtime -2 -exec rsync -av {} /destination/ ...
user768352's user avatar
0 votes
1 answer
51 views

Python code location on debian [closed]

Simple question, which of these is a better directory setup for locating my project and why, as I have seen both recommended on different tutorial sites: Option 1: /var/www/<projectname>/...
Jimmy's user avatar
  • 269
1 vote
1 answer
817 views

apache override authentication in a specific folder

How do I change/override the authentication in apache to a different one in a subfolder? I tried this one but it didn't work. How can I fix it? <Directory "/"> AuthName "Front End Access" ...
user avatar
12 votes
2 answers
24k views

What Are The Best Practices For Business Folder Structure?

We've tended in the past towards having departmental folders (Sales, Marketing, etc) on a single share and then adding folders below these ad-hoc as and when they're needed. It's gotten a bit messy - ...
jidl's user avatar
  • 151
0 votes
1 answer
4k views

User folder not showing up in Windows Explorer

I have a user that logs into the domain receiving an error message regarding their "my documents" folder being inaccessible. Browsing the D:\Users directory using Windows Explorer on the server, the ...
HighTechGeek's user avatar
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....
2scope's user avatar
  • 11
0 votes
1 answer
1k views

Using named groups in a DirectoryMatch directive

I have the following directive in my httpd.conf: <DirectoryMatch ^/path/(?P<SI>[^/]+)/logs/bibi> php_admin_value open_basedir /path/?P=<SI>/ </DirectoryMatch> The pattern ...
Sebas's user avatar
  • 545
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: ...
Jen Zhang's user avatar
  • 111

1
3 4
5
6 7
14