Red Hat / Fedora :: Create This Link Between The Two Directories Shown Below?

Feb 7, 2011

I need to create this link between the two directories shown below.... So I assume everything that is put into the outgoing directory is copied to

# pwd
/home/e-smith/files/users/admin/home
ls -l
lrwxrwxrwx 1 root root 29 Jun 25 2008 outgoing -> /var/spool/asterisk/outgoing/

View 5 Replies


ADVERTISEMENT

Programming :: Link Directories - Symlink Not Updated / Hard Link Not Supported?

Sep 6, 2010

In the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?

- is there any utility that updates symlinks when a directory is moved?

- is there any Linux filesystem that supports hard linked directories?

- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?

View 9 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

Server :: Create Soft Link And Hard Link In RHEL5?

Sep 8, 2010

how can we create soft link and hard link in RHEL5 when am using in command it is giving format error

View 6 Replies View Related

Red Hat / Fedora :: Script Will Create Directories For A Specific Datatype?

May 24, 2010

1. This script will create directories for a specific datatype. Example rickk, rik, rikky etc.2. This script will aslo create subdirectories labeled by the duration of an event.For example if an event where to take place for 5 days, May 5 - 10th. Folders will be labled:20100505, 20100506, 20100507, etc will be included in each datatype.Since this exercise will take 6 days there will be 6 subdirectories under each datatype.3. This script will also create cgi scripts for each of the dataype and day of the the exercise.For example dataype "rik" for May 09 will read rik5.cgi, since May 09 is the 5th day of the exercise.This is how it looks so far, it works great but I realized that if and when I plan to add more datatypes that its going to involve alot of repetivie typing. I figure to simplify this whole thing would be best to use loops. Can someone direct me to some good information concerning loops and sample of loops? I have a feeling that what I need to do is going to involve a nest of loops.

#!/bin/ksh
root_dir=/opt/global/webservices/apache/app/test/dynamic/
cd $root_dir

[code]....

View 1 Replies View Related

Fedora :: LVM For BAPCKUPPC - Create A Link To The New Location And What To Mount

Aug 26, 2011

I have read that it is best to have a volume LVM set up to contain the BackupPC data that it generates when backing a machine(s) up. By default BackupPC stores the back up data in /var/lib/BackupPC and there is information on how to create a link to the new location and what to mount on the new dedicated LVM What I do not know is how to create a new LVM for the BackupPC files/data on the machine I have. Currently I have a machine running fedora 15 64 bit. It has BackupPC installed via yum but I have not run it as yet. I believe that I have the necessary dependencies installed The machine has two hard drives, one a 80 GB and the other a 500 GB. Currently Gparted is showing;

/dev/sdb1 ext4 /Boot 500MiB
/dev/sdb2 Lvm2 74.04 GiB (in properties it says it is not mounted)
/dev/sdb1 Lvm2 465.76 GiB (in properties it says it is not mounted)

When the machine was loaded with Fedora it was set up as 1 partition and was just a standard out of the box Fedora install accepting the defaults. how do i go about setting up a LVM that I can expand later if necessary to hold the BackupPC data? I saw in one post some where that person call the group Main. how to" or provide a set by set guide as to how to achieve this. Or provide advise o the best way to set the machine up. I do not intend to run anything else on the machine. It is there to back up a server (Fedora 14), A general use machine machine (Fedora 15) and a windows machine (XP).

View 5 Replies View Related

Fedora Installation :: Rpmdev-setuptree Doesn't Create Any Directories?

Jan 16, 2009

I am trying to apply a patch to my linux kernel. I have FC8 with kernel 2.6. I found the following instructions on how to build a custom kernel (which I am following)My problem is that when I run rpmdev-setuptree,t doesn't create any directories, like it should according to the instructions. I am logged as a normal user (not root)in my home directory. I have no idea what's going on

View 3 Replies View Related

Fedora :: Changing Run Levels - Error - Failed To Create Symbolic Link

Jun 27, 2011

Ok now since f15 does not use inittab file for default runlevel anymore how do you change it.

I have tried ln -s /lib/systemd/system/multi user.target /etc/systemd/system/default.target

And get the following error ln: failed to create symbolic link `/etc/systemd/system/default.target': File exists

I have even tried changing the /etc/systemd/system/default.target to my multi-user.target file to no aval.

View 4 Replies View Related

Programming :: Link Objects In Separate Directories Using KDevelop?

Oct 4, 2010

Using: Open SUSE 11.0 64 bit, KDE 3.5.9 (release 49) and KDevelop 3.5.1. Problem: A singleton was created in subproject A, and so an object file is created in subproject A. In subproject B, I want to use that object file. We have not been able to find a way to link that object file created in subproject A with subproject B. Also, the subprojects are in different directories. We created a symbolic link to the ".h" and ".cpp" files in directory A. And the project compiles and links just fine after adding the symbolic link to the header and cpp files in subproject B. My concern is, that two objects of that singleton will be created. The whole idea of making a singleton is so that there is only one instance at a time.

View 8 Replies View Related

CentOS 5 :: Can't Create Directories In Ftp?

Feb 20, 2010

I can log in as root and create directories fine etc But when I ftp or when I try to use the file manager on plesk, I get a permission error when I try to create a directory anyone any ideas why it does this ? Also i have a wordpress blog and when I try to add a new theme the theme wont add, because it is unable to create the folder to put the new theme into so this seems to be teh same issue, ive tryed altering the folder permissions but this doesnt many any difference. is there a way to let my ftp and wordpress be able to create directories ?

View 19 Replies View Related

Ubuntu :: Network Icon Is Not Shown Properly While Me Menu Is Being Shown Twice

Sep 26, 2010

I just reinstalled Ubuntu Lucid Lynx and an old problem has come back. For some reason I couldn't fix it even in my previous installation. The problem is the top gnome panel. See the photo below: As you can see, the network icon is not shown properly while the Me menu is being shown twice. I can't even restart or log out or shut down at this situation without pressing the keystroke to turn the power off.

View 9 Replies View Related

Ubuntu :: Create A Directories That Always Stay On Top?

May 6, 2011

have been working how to do this for a while finally getting around to asking....

as a long time windows user I have used a trick of creating directories that will always be the first ones displayed by using an _foldername model, for ex:

_temp
A dir
B dir
temp

assuming the four above are directories that is how they are sorted by default in windows and I commonly use this technique for special folders.

for my virtual machines folder in windows looks like this:

_base
LX-Ubuntu9.1
LX-Ubuntu11.4
XP-TestVM
...

where I put base virtual machines in _base and it makes it easy to separate them for all the other folders which are virual machines....SO....

in Ubuntu, I cant figure out a character or way to ensure this type of behavior, for example if I create a _base folder it shows up after a dirs and around the bs etc...

any know a way to create a dir with a special char that will ensure it stays on top?

View 3 Replies View Related

Red Hat :: Create And Configure Set-GID Directories For Collaboration?

Feb 21, 2011

I'm studying for the RHCSA certification (Tautology?) and I'm struggling a bit with this objective Quote:Create and configure set-GID directories for collaborationI've followed the instructions on the deployment guide (except that I created a different directory):
http://docs.redhat.com/docs/en-US/Re...ers_and_GroupsYet, whenever I create a file in this new directory (logged in as a member of the owning group), permissions are set to 644, so other group members cannot edit the files.I checked the umask value and it's set to 0022 and the permissions on the directory are set to 2775

View 3 Replies View Related

Ubuntu Servers :: Create Directories From A .txt File?

Feb 8, 2011

quickest way to create directories from a .txt or .csv file. A single command would be great but I can use a script as well.

The windows equivalent would be:

FOR /F %n IN (newfolders.txt) DO MKDIR %n

View 7 Replies View Related

General :: Cannot Create User Home Directories?

Jun 4, 2010

Why when I command "useradd -m barth" do I get the error message: "cannot create directory /home/barth"? It only does this when a partition is mounted to /home.

View 14 Replies View Related

General :: Create Directories From A File List?

Jun 30, 2011

I am trying to write a script to pick the directory name from a list of file. Here is a detailed picture.Have a file name LIST which contains the follwing for example/apps/oracle/product/test1/apps/oracle/product/test2/apps/oracle/product/test3I need a script that reads these line from LIST and creates foldersin /apps/oracle/product/test1/backup/date/test1 after reading the first line
/backup/date/test2 after readin the second line/backup/date/test3 and so on.

View 15 Replies View Related

General :: Create Separate Partitions For Directories AFTER Installing?

Sep 28, 2010

I want to create a separate partition for /home.inuxMint is *already* installed.PartedMagic be used for the same, NOW

View 14 Replies View Related

Programming :: Script To Create Some Directories To Organize Photos ?

Sep 15, 2010

I am trying to write a simple script to create some directories to organize photos.

Next I want to cd to the newly created dir DATE_BANDNAME, how can I do that?

View 4 Replies View Related

Debian Multimedia :: Create Link To Application In Kde

Jul 31, 2015

I installed debian 8.1, network install on a ThinkPad T60. When I right click the Desktop, I don't get "Create New -> link to application" and other links. In mint 17.1, I get a Menu with all links. I want to create a link to seamonkey with an icon on desktop.

View 3 Replies View Related

General :: Create A Symbolic Link In An Other Directory?

Sep 14, 2011

There are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?

View 2 Replies View Related

Ubuntu :: Create A Link To A System Service?

Jan 20, 2011

I want to create a link to start apache2 service:

Code:
sudo /etc/init.d/apache2 start
I tried creating a launcher but it did not work at all

View 3 Replies View Related

General :: Ldconfig Deletes The Link That Create Using Ln -s In /usr/lib?

Nov 9, 2009

I created a link for a library my application needs in /usr/lib/ and then run ldconfig.
The link gets deleted. Should I be creating the link in any other way?

View 1 Replies View Related

General :: To Create A Link For A Directory Across Host?

Mar 11, 2010

i am a oracle DBAI want to crete a link for a directory in production serverto remote host.

View 6 Replies View Related

General :: How To Create A Symbolic Link In An Other Directory

Jan 27, 2010

There are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?

View 8 Replies View Related

OpenSUSE :: Create Saome Variables To Make Shortcut To Some Directories?

May 25, 2010

Here is the issue:I create saome variables to make shortcut to some directories I go frequently (so, I then I type, e.g. cd $P_DIR). Of Course before that I put a valid value into P_DIR variabe.Also, alias, asalias cls=clearSo, I type cls, and is the same as the commando clear (but shorter)What I want to do is that those variables as aliases stay in the computer when I reboot or turn off and turn on.So, I put "somewhere" (this is the place(s) maybe one for variables, and other for aliases, turn of the computer, and when I turn on, the aliases and variables are still there

View 9 Replies View Related

OpenSUSE :: Unable To Upload Images Because It Cannot Create The Directories Required

Jun 1, 2010

I'm running OpenSuse 11.0 in a lamp configuration with Apache 2. I configured Apache with the .conf files instead of YAST because I am running virtual hosts (that's another story).

My problem is that my server will not render the pages unless the permissions are set to 775 which I know is not necessary. This is also causing a problem because I am trying to install WordPress onto the server. WordPress will run, but it unable to upload images because it cannot create the directories required.

Apache2 is running as 755 with root as owner and www as group. I changed the owner of the htdocs sub-directories to myself, and created a group that has permissions to write to the directory. WordPress runs as my user and has the same permissions (775).

View 4 Replies View Related

General :: Virtualbox - Can't Create Directories In Virtual Box Shared Folder?

Jul 28, 2011

I'm mounting a shared folder in an arch linux guest on a windows 7 host in Virtual Box. The shared folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab:

D_DRIVE /home/tony vboxsf rw,gid=1000,uid=1000,auto 0 0

I believe my user in the guest OS has the right uid and gid:

[tony@kiwi ~]$ id uid=1000(tony) gid=1000(tony) groups=1000(tony),1002,(vboxsf)

I can create files and remove them fine, but I can't seem to create directories.

[tony@kiwi ~]$ mkdir foo mkdir: cannot create directory `foo': Protocol error

Its weird because the directory looks like its there, sort of.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Samba - ADS- Automatically Create Home Directories

Mar 22, 2010

At work, using SambaKerberos and ActiveDirectoryWinbindHowto, I joined my machine to our ADS network. Again using ActiveDirectoryWinbindHowto, I modified both common-account and common-auth with these settings.

file: /etc/pam.d/common-account
account sufficient pam_winbind.so
account required pam_unix.so
file: /etc/pam.d/common-auth

[Code]....

According the the doc, when I first log in as a domain user, it should create the home directiroy /home/<whateverdomain>/<theusername>, but it doesn't.

View 2 Replies View Related

Ubuntu :: Script To Create User, Directories And Site In Apache?

May 24, 2011

I've had a recent idea to have PHP take information from a form, save it to a file, which in turn is read from a local script as root (cron) which will create the user account, proper directories, add the website to the Apache sites, and reload Apache. anyone actually accomplished this before? And if so, can I get some links or some ideas to possibly help me on the process of getting started?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved