Questions tagged [directory]
A directory, also commonly called a folder, is a filesystem object used for organizing files and other directories.
685
questions
0
votes
1
answer
121
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 ...
2
votes
1
answer
1k
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 ...
0
votes
4
answers
558
views
Scan windows file system for directories containing certain words
Is there a command that I can run on a windows Server 2008 r2 that will only show directories that contain a certain word.
For Example I want to find all directories that contain "logs"
That means ...
1
vote
2
answers
5k
views
Mount folder automatically in home directory for every old&new user
I want to allow access to /var/www/dev/ to every user in my system (+50) via their home directory
For one particular user I can do:
mkdir /home/user_name/www_dev mount --bind /var/www/dev/
/...
0
votes
0
answers
52
views
Nginx with software installed in subdirectories
I'd like to create a directory/website structure like this:
/
/index.php
/tac
/tac/1app1/index.php
/tac/1app2/
/tac/1app3/
So there is one CMS in the root.
In subdirectories there should be other ...
0
votes
1
answer
2k
views
Could not evaluate: Could not retrieve information from environment bootmaster source(s)
Feeling like a complete newbie to puppet (I admit I am very rusty :-)
So my manifest/site.pp file contains.
file {"/tmp/findme.txt":
source => "puppet:///modules/concat/concatfragments.rb"
...
0
votes
1
answer
964
views
Find the latest modified *.csv file and copy it into a different folder
My goal is to copy the latest file (based on modified date) in Windows to a different folder, and then rename the file to something different. My last line that is commented out was just a test to ...
0
votes
1
answer
63
views
Directory vs Files for efficient search and retrieval of files
I am working on a website where users have ability to store all kinds of media on the server and there can be any number of users.
I thought I would store all the media which users upload like this:
...
-1
votes
1
answer
47
views
can I centralize SQL and AD users via LDAP? [closed]
I have to mention that I am talking about 60 - 100 users.
We are having SQL database for specific internal use, where contain all the users in the company. Now we are deploying Windows Active ...
1
vote
2
answers
590
views
raising forest level from 2000 to 2003, any forseen issues?
We are out to migrate from a Windows 2003 domain server including Exchange 2003 to a Windows 2012R2 server with a 2013 Exchange.
Our Windows 2003 domain has about twenty client machines one XP Pro, a ...
1
vote
1
answer
52
views
SFTP script gets different destination response when run from different directories
I'm baffled by an SFTP shell script and any help would be greatly appreciated. I wrote an sftp script to connect to and upload ACH information to a banking site. The script uses 'expect' to wait for ...
0
votes
0
answers
46
views
Nested Active Directory Groups causes user unable to authenticate against application
User is placed in a global group called site.gg1
site.gg1 is a member of a global group called region.gg1
region1 has been added to the server local group, which is mapped to the application role. ...
-2
votes
2
answers
2k
views
What is best directory for storing uploaded images from my website in linux [closed]
i am building a webpage where a the user can upload images. i am going to use the file-system to store my images. i was wondering what is the best directory to hold such data? is it "var" directory? "...
0
votes
1
answer
39
views
List all folders, with size but only in regexp path - LINUX
I have this structure
Folder/A
Folder/A_SomeoneBefore/
Folder/B
Folder/B_SomeoneBefore/
....
Folder/T/TA/TAC/TAC_SomeoneAfter
Folder/T/TA/TAF/TAF_SomeoneAfter
Folder/T/TD/TDC/...
1
vote
1
answer
131
views
Serving additional directory content under root in Nginx
Using Nginx with Django, I have the following location entry in my server config:
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:1234;
}
Thus, all root URL requests are passed to ...
1
vote
0
answers
888
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
70
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:
...
0
votes
1
answer
659
views
DirectoryIndex in Subfolder/New project with virtualhosts and SSL, same domain
I have som problems with setting up a new project in apache. I have an old project in sub.domain.com/api/something.php, but am trying to add a new project (symfony) that requires a DirectoryIndex, sub....
0
votes
1
answer
45
views
Protect a directory if remote host is/is not
How can I protect a directory within .htaccess only if the remote host is not 192.168.1.11 ?
Below is how I actually protect directories:
AuthUserFile /home/personal/.htpasswd
AuthName "Auth Area"
...
0
votes
1
answer
2k
views
Copy folder structure template to current folder
When our users create a new Project folder, I would like it to automatically copy a template folder structure and the template's permissions. So far the only thing I've come up with is a batch script ...
0
votes
1
answer
45
views
Large file synchronisation
I have a big directory that takes about 600GB with tens of thousands files. I need to synchronize it with my Qnap NAS. I tries BitTorrent Sync, but speed is very slow and it will take about a month ...
0
votes
2
answers
38
views
Does LDAP work within just one directory or diferent directories can comunicate each other using LDAP?
I started to learn about directories just a month ago and this question came to my midn. I know that LDAP is an open protocol that defines services within a directory. But I asked myself if there is ...
3
votes
1
answer
179
views
In the context of Active Directory, what does "single schema" mean and why is this an advantage?
in my learning of AD DS Ecosystem I came across with this definition [link]:
By using the Windows Server® 2008 Active Directory® Lightweight Directory Services (AD LDS) role, formerly known as ...
0
votes
1
answer
960
views
App_Data is not hidden in IIS 7.5
Got an interesting little issue. On one of our servers in particular, IIS 7.5 is not hiding the App_Data folder; it's serving it directly. Other servers don't have this problem, even if they're set ...
-2
votes
3
answers
2k
views
In Linux what is the difference between a data partition and a folder? [closed]
I believe that examples of data partitions are /usr/ and /bin/. But these are just folders in the root directory, right? So is a data partition a folder in the root directory.
0
votes
1
answer
10k
views
HAProxy - backend with subdirectory
I have simple haproxy configuration: two servers, one is frontend, two is backend with jboss application. Here is config:
defaults
mode http
log global
...
0
votes
1
answer
713
views
Server 2012 - how to make files in a folder readonly to everyone but creator/owner
I'd like to setup a shared folder on my Windows Server 2012 box where all the managers can put files that they can edit, and other users can open, read and print, but can't change or delete.
It ...
1
vote
0
answers
487
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/...
0
votes
1
answer
43
views
Issue with Nginx configuration : location and directory
I have the following simple server block :
server {
listen 80;
server_name _;
location / {
*****root test/a/;*****
index index.htm;
...
0
votes
1
answer
407
views
group permissions on directory being ignored for user
It seems that there is a Linux user (on an Ubuntu 12.04.4 server) who is unable to access a shared directory, even though that user belongs to the group which owns the directory. Here is an example ...
4
votes
2
answers
5k
views
How to Grant Apache Access to Directory
I am currently getting a locally hosted website up and running, but have encountered problems in accessing it from the host computer and other computers, as well. I have already created exceptions in ...
1
vote
1
answer
742
views
Apache Redirecting All Sub directory Sub Folders Back to Root Directory [closed]
I have a website stored in a root folder. example.com correctly brings me to the website stored in /var/www/mainsite. I want to put multiple websites in sub folders. so example.com/website1, ..2, ..3 ...
2
votes
2
answers
6k
views
create second samba4 active directory domain controller for backup
I built up a samba4 active directory domain controller on ubuntu 14.04 and everything is working fine. The Windows clients can log in and do stuff. So far so good.
However, in case of emergency, I ...
2
votes
1
answer
3k
views
Rsync over ssh folder depth limit?
i'm working on a server migration and run into the following problem:
I'm running rsync to migrate all the data but for some reason there is a folder depth limit...
This is done via rsync over ssh ...
0
votes
1
answer
421
views
Nested groups in active directory and permissions?
I created the image so you could understand what I'm asking:
These are simple groups created in Active directory. Which permission will be apply on ALI. Full Control or Read Only
-2
votes
2
answers
3k
views
How to make rsync delete destination directories no longer existing at source? [closed]
I have hard drive that I back up with rsync to a network-attached storage. There are some non-empty directories at the destination (the nas) that do not exist on the source anymore. It is not a ...
0
votes
2
answers
628
views
Active Directory Users Delegated Permissions
This is probably a dumb question, but how does the delegated user access ad to make these changes? I have set this up but a user cannot launch the active directory users and groups tool. Only admins ...
0
votes
1
answer
119
views
Windows 2008 R2 folder prompt for credentials
I cannot find an answer to this question, so I am hoping someone here can help.
We have a couple folders on our NAS that only our Help Desk techs can get into for install and troubleshooting purposes....
0
votes
1
answer
3k
views
chef remote_directory permissions
I have checked https://docs.chef.io/resource_remote_directory.html and http://joerussbowman.tumblr.com/post/58241535331/chef-remote-directory-is-basically first of all.
chef-client version 12.2.1
...
1
vote
2
answers
174
views
Windows network folder directory list inconsistent when viewed from two different client machines
I am on a corporate network using Windows. There is a network share provided by a NetApp appliance. When I log on to two different machines and view the network drive, I see inconsistent directory ...
-2
votes
1
answer
2k
views
Migrate local user to LDAP server and keep the old user directory
I have an existing Debian server with a lot of local user (these user account are used for application authentication and keeps files in each home directory), and I want to migrate all the local user ...
1
vote
1
answer
203
views
Specify which directores to look for .htaccess file
I'd read that enabling .htaccess for all directories causes a performance overhead, because all subfolders are also scanned for .htaccess files.
I'd like to only have the .htaccess file read in:
/var/...
3
votes
2
answers
5k
views
Dovecot: Email clients and duplicated folders
So in my server I'm usually going against a problem, different emails clients call some special folders like Sent and Trash different names like Sent Items and Deleted Items.
My question is, can I in ...
0
votes
0
answers
117
views
Deleting sub-directories from multiple parent folders in Windows
I'm looking for a script in Windows that will delete subdirectories older than 7 days but for multiple parent folders, I don't want to list them one by one in my batch file.
My folders are structured ...
0
votes
1
answer
2k
views
Powershell script to display all groups and the users they contain [duplicate]
I'm currently trying to write a script that displays each group and user in the domain.
Import-Module ActiveDirectory
$Groups = (Get-AdGroup -filter * | Where {$_.name -like "**"} | select ...
0
votes
2
answers
653
views
Powershell script to display all groups and their users
I'm currently trying to write a script that displays each group and user in the domain.
Import-Module ActiveDirectory
$Groups = (Get-AdGroup -filter * | Where {$_.name -like "**"} | select ...
6
votes
1
answer
6k
views
Rename Junk folder in dovecot IMAP server
Being English, I find the terms "Trash" and "Junk" confusing because they mean essentially the same thing. I want to rename these folders on my Dovecot IMAP server to "Deleted" and "Spam" respectively ...
1
vote
0
answers
777
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 ...
0
votes
0
answers
346
views
osx server folders being deleted/removed
I am running a Mac mini as a server for our office.
Files and folders start disappearing from our work folder at random intervals but specifically from one folder.
The work is all stored on an ...
0
votes
1
answer
100
views
Limiting write access of same folder in 25 clients to windows server 2008 [closed]
we have 25 clients in our shop, all running win 7
Each of them has D:/Samples which is updated periodically by syncing from the win server machine..
The sync process can be done by pushing the ...