The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
3answers
192 views

Prevent 'cd' remembering symbolic links traversed

Say you have directory ~/mytool that softlinks to /usr/local/mytool. Then cd mytool leaves your current directory as ~/mytool, which may cause scripts to behave incorrectly. Is there a way to avoid ...
1
vote
1answer
445 views

How to rewrite URI from root if file exists in folder?

I have a public folder in my document root. I would like to redirect all the files that are not present in document root, but are present in the public folder. (So if the same file is in two places, ...
0
votes
1answer
1k views

nginx autoindex receiving 403 Forbidden

I'm having trouble with nginx and autoindex. Even though I've put it in the site-host, it's still throwing "403 -Forbidden at me" location /pics { autoindex on; ...
1
vote
1answer
64 views

Starting Apache as a NON-Root User on Localhost

I want to start an Apache 2 server on localhost:8080 on an as-needed basis without superuser permissions, with the root directory for web content being /home/user/example/web/directory. I don't want ...
1
vote
0answers
30 views

Is it possible to call user both by number and by name in Freeswitch?

How should I configure freeswitch directory entry so that it will be possible to call this user both by numeric number and by textual username?
2
votes
2answers
393 views

LSASS - Directory Services could not start - 0xc000006a

LSASS - Directory Services could not start - 0xc000006a This is the error message I am getting after restoring an old registry backup. I read somewhere that this has to do with the backup being more ...
2
votes
1answer
975 views

Cannot read/write FTP directory vsftpd on centos 6.0 (empty folder)

I have Centos 6.0 and installed vsftp with YUM, I added a user with Webmin panel, set its home dir to "/var/www/html" and its shell to "/bin/sh", user id is 500, user group is same as name: ...
4
votes
2answers
122 views

How to compact large directories

Is there a way to compact a very large directory under EXT2/EXT3 without simply remaking the directory? I recall that perlfunc cautions that the OS implementations of seekdir and telldir run the risk ...
2
votes
3answers
224 views

In Ubuntu, how can I give two groups of users root power except for access to one folder?

I just created a Ubuntu development server and I would like to work with two teams on it. I want people from these teams to do anything they want, but I don't want them to be able to see the files ...
0
votes
1answer
77 views

active directory windows 2008 domain logon

I have a system that is configured to logon to a domain say abc.net. I dont have admin access to this system. The AD server is dead. If i can create an active directory server on the same network as ...
2
votes
4answers
270 views

50,000 file in one directory, what is my best option?

I'm forced to have this directory structure /var/www/$WEBSITE/$DIR1/$DIR2/$FILES for each of those $FILES, there is approx 50,000 XHTML pages. I'm running Cherokee, which has new front-end caching ...
0
votes
1answer
199 views

Directory structure on Linux EC2

First, I'm a complete newbie to Linux and Tomcat. I'm not technical either. I get my stuff done by feeling my way around the dark until things work. I do read a lot though. I have a dev machine ...
0
votes
2answers
170 views

How do you reallocate hard drive space between directories in Unix FreeBSD?

I was wondering what it takes to reallocate hard drive space between root directories in Unix FreeBSD? For example, take away space from the /usr directory and add to the /dev. This question was ...
3
votes
1answer
76 views

How To Inherit Parent Directories Group

I have a directory /applications which is owned by root and group git. The problem is when I create a new directory inside /applications, its owned by root and group root, not group git. How do I ...
1
vote
1answer
120 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 ...
1
vote
2answers
98 views

Directory in Linux(ext3) with only 2 files occupies 32000 blocks(16Mbytes)

IIRC my Operating Systems classes, the size of a directory in Linux is given by the number of files it contains([wikipedia link])1 So, why a directory with only 2 files occupies 32000 blocks? # stat ...
6
votes
2answers
813 views

Where to put www directory on Ubuntu?

I'm a bit scared to ask this because I got so many negative votes for simply asking a question last time, but here goes; Where in the Linux (Ubuntu) directory structure is it 'normal' to put public ...
0
votes
1answer
349 views

Returning first match only with OpenLDAP slapd-meta backend?

I have OpenLDAP configured to act as a metadirectory in front of three different backends: database meta uri "ldap://ldap1.example.com/ou=domain1,o=combined" uri ...
1
vote
3answers
373 views

How to synchronize local directory with another local directory on another partition or disk

I would like to synchronize my local directory content with another local directory on another partition or disk (or e.g. a pendrive). I can synchronize my local directory content with a remote one ...
1
vote
4answers
65 views

Directory name for non-generic Proprietary stuff

Is there a common or standard directory name for the company-specific stuff that exists in a server? This would include any crons, scripts, webserver docroots, programs, non-database storage areas, ...
2
votes
1answer
919 views

Apache proxypass trailing slash / directory issue

I have a legacy site for a charity running on an old Apache 1.3 instance, behind Apache 2 running proxypass. When a request comes to example.com, Apache 2 sends it internally to localhost:8080 which ...
1
vote
3answers
146 views

/var and /home folders clogged up on cPanel (Linux)

Recently the /var and /home folders have been clogging up on my server and I received a 'critical error' email saying that the /home folder was 100% full. I managed to fix it using the LVExtend ...
0
votes
2answers
91 views

Domain authentication used for kerberos based authentication of users on my server

Suppose a user process has authenticated itself against domain's directory server via kerberos, and then attempts opens a network socket to my server application. My server application has a ...
1
vote
1answer
42 views

common directory for all hosts in a shared hosting

I have many many many domains in a single machine. (redhat apache php mysql) and all have own admin pages. but when I update admin code it is very difficult to update all folders. then ı decided to ...
1
vote
2answers
242 views

linux: share directory between different users

i need to have this directory, which is created under FTP User1: /home/User1/public_html/jobs_html readable by a different FTP user, call them User2 ... ie, when logged in thru SSH under User2, ...
0
votes
2answers
313 views

IIS 7 404 redirect for virtual directories

we are in the middle of setting up a website and one of the developers has asked me a question im a little but stuck on. basically we have a website that a user can visit and create there own ...
3
votes
2answers
145 views

Linux Directory Structure for non-root users

I am new to the world of Linux and am about to make a complete transition from Windows to Linux so I can really get into it. I understand that Linux has a hierarchical structure however am unclear ...
-1
votes
1answer
55 views

A protected by password directory started to redirect to the home!

Everything was working perfectly a few hours ago, but now, when I try to access one protected directory in one of my websites hosted on my dedicated server that runs Cent OS and apache, it just ...
1
vote
2answers
131 views

Move content of one folder to another

I Have a directory say abc in var/www/ on my server Now i want to move all the content of abc/ directory to var/www/ What will the linux command for this. New bie in linux
2
votes
1answer
276 views

Storing user profile in a corporate environment. Where, how and why?

I'm a programmer and don't know much about Active Directory, LDAP, etc. What I'm trying to build is some kind of profile web page for each employee where I work. Something similar to this : ...
3
votes
2answers
71 views

Should http and https requests access the same files

Is it ok to have http and https requests point to the same directory such as var/www/? It seems like it would be alright since when you're say authenticating a user you can just make sure to call ...
4
votes
2answers
451 views

Account management tools supporting self-service registration and email verification?

I work in a university environment that has in the past offered services almost exclusively to university affiliates who already have "formal" accounts in central user database. We are increasingly ...
1
vote
1answer
162 views

Directory inside or outside VirtualHosts?

Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
5
votes
3answers
113 views

directories with two one dot (.) entries

I'm trying to clean up my lost and found, and I've managed to remove most things, but I'm left with "almost" empty directories, like: lost+found/#14042862: total 1324 dr---wx--- 2 76040 43010 ...
2
votes
1answer
312 views

Shrink/reset directory size?

Is there a way to shrink a directory entry? My dovecot maildir directories have increased in size from the default 4096 to several megs, and it is messing with disk quotas. The only way that I have ...
0
votes
2answers
481 views

Debian add user permission

I'm giving my friend a host on my dedicated server. I created a new user for him: Debian server. adduser friend Adding user `friend' ... Adding new group `friend' (1000) ... Adding new user ...
1
vote
1answer
211 views

Active Directory Merge - Merging User accounts

I need to merge two active directories, OLD and NEW. However, many users already exist in both OLD and NEW with the same userid. I want to preserve the sid of Bill@new, while merging in the sid ...
1
vote
1answer
374 views

“The local device name is already in use” error when connecting to active directory shared folders

We have a Windows Server 2003 running active directory - the users login with their AD accounts from their PCs. We have setup a file server where each AD user has a shared network folder hosted on the ...
2
votes
6answers
1k views

Free tool/script for directory size calculation

Does anyone know of a free command-line tool or script that calculates the size of a directory including all subdirectories? It needs to be compatible with Windows 7, work with hard links and ...
1
vote
3answers
1k views

Apache will not display index in web root, subfolders are fine

I have an Apache 2.2.3 server running on CentOS 5.5. In the root of my web directory, there is an index.html file. Going to something like, say, www.exampledomain.egg/index.html works, but going to ...
1
vote
1answer
110 views

PHP scripts run only in webroot directory,and return 500 error in other dirs

I have uploaded a folder with php scripts and they run only when they are in the webroot directory,Everytime i try to execute php script in some internal dir,i get internal server error,even if it ...
2
votes
2answers
719 views

How do I get the last part of directory from a command line

How do I store the last part of directory in a variable? For example I have the following path: A\B\C\D, I want to store D in variable like file_name=D.
4
votes
3answers
2k views

Why can't I cd into a directory?

I am running Ubuntu 10.04.2 LTS. Why I can't I cd into the /var/www directory? david@ubuntu:/var$ pwd /var david@ubuntu:/var$ ls -l drwxrwxr-- 13 root root 4096 2011-02-26 21:53 www ...
0
votes
1answer
81 views

How to set a PHP ini config setting for a specific (virtual) URL path in the apache conf?

I want to set a specific upload_max_filesize setting for a specific URL on my webserver. The URL path is not a real path since it is a apache rewritten seo friendly path. This does seems not to ...
0
votes
1answer
35 views

short script to read and create matching directories

I need to do a z:\music\: dir *flac* to get a listing of directories... (they are named Artist - Album [flac]) and from that list of directors, create new matching directories, but replace the ...
0
votes
2answers
736 views

How to allow only specific directories to use htaccess?

Currently in apache2.conf I have AllowOverride all set for /var/www which simply allows htaccess for all the sites on the server (which is Ubuntu, 9.04). However, I'd rather only allow overrides in ...
0
votes
2answers
327 views

can anyone tell me how to create a directory in freenas /mnt/test for example

can anyone tell me how to create a directory in freenas /mnt/test for example
0
votes
1answer
129 views

VPS multiple sites help

I have a VPS which has a single website associated with a single IP, This website is in wordpress and it is directly placed or installed into the /html directory, which means inside /www/html/ my ...
2
votes
2answers
72 views

delete dirs in a specified period of time

I have a list of +30.000 directory and I have to delete all the directories and their content from 2005 to 2006, via terminal. Thanks for help
4
votes
3answers
1k views

On linux, what does it mean when a directory has size 0 instead of 4096?

Here's a strange thing I haven't seen before -- a directory whose size is reported by ls as 0 instead of 4096, and I can't create any files within it. # ls -ld lib home drwxr-xr-x. 2 root root 0 ...