Ubuntu Installation :: Changing Software Install Directories ?

Jan 6, 2010

If it was possible to move the software install directory from the main drive to a secondary drive

I am using a ubuntu fork (mint linux) with a eee pc the primary drive is very small at around 3GB I've added my second drive to the fstab file in etc so it mounts on start up is there anyway I can make programs install to that second drive or to move my current applications to that drive?

View 3 Replies


ADVERTISEMENT

Programming :: Print Message When Changing Directories

Jul 21, 2010

I need some direction on a small scripting question. I've been doing some development and storing the code on a network drive with multiple user access. My development is getting complex enough that it is time to set up a svn repo for it. I would like to set up a little script (if possible) that prints a message/reminder to whomever is accessing the code directory stating that the code is ultimately stored in svn and any changes need to be checked in, etc. Is there a way to have linux print a message to the screen based on a 'cd /specific_dir/' command? So far google is mum on the topic. Using Debian and bash shell.

View 5 Replies View Related

General :: Commands For Changing Directories In Fedora

Jan 19, 2011

What are the commands for changing directories in fedora linux i wanted to install something so i put it in my desktop and documents folder but i couldn't install becuase i couldn't change directories.

View 4 Replies View Related

General :: Minimize Typing When Frequently Changing Directories?

Aug 4, 2010

What are some good Linux commands to make switching between different directories on the command line easier?

I often have to switch between different directories with long names, e.g.

Typically, I use tab completion, so it's something like this:

But it's annoying because all these names are so similar, so tab completion doesn't really save much work.

What tricks do you use to minimize typing in such situations?

I do use pushd and popd sometimes, but here it won't help much because I don't visit the directories in a given order.

For a nice solution, see the accepted answer to my other, related question. Basically, just create an alternative cd command:

function cd2 { select a in $1*; do cd $a; break; done }

It will list all possible completions at once:

And you can pick one by typing its number.

View 6 Replies View Related

Security :: Group Write Access For Newly Created Files / Directories Without Changing Umask

Apr 3, 2009

I have several directories, each owned by root and a group of the same name,By setting the sgid bit, I made sure that newly created files and directories are owned by the correct group, and that directories have the sgid bit set too.On each newly created directory or file, the permissions are set to 755. This is because this is the default umask, and I cannot change a users umask. I actually only want files created below a particular directory to have group write access, inheriting this behaviour to newly created directories properly.I'm not on samba or NFS, I have to do this for SSH users.The filesystem is ext3.I started to fool around with ACLs, but couldn't find what I was looking for.

View 3 Replies View Related

OpenSUSE Network :: SAMBA - Changing Default Permissions On Files And Directories Created From Windows Clients

Mar 9, 2010

I have a fileserver running openSUSE 11.2 and samba services for file access from MS Windows based workstations. My question relates to changing default permissions on files and directories created from the windows clients.

Following are extracts of the /etc/samba/smb.conf file :

Even with the above entries, sometimes there are files and directories created by the windows clients having permission

Probably my lack of understanding in ACLS.

View 9 Replies View Related

Ubuntu Installation :: Install W/o Changing Grub Settings?

May 13, 2010

Is there a way to do an install from the iso image to a new disk (USB or whatever), without changing the grub settings on the systems existing hard drive? Every time I try to do a full install to a USB stick, it hoses grub on my hard disk, even though I specify the partitioning during the install, and leave /dev/sda untouched. This has happened now with both Karmic and Lucid.

View 4 Replies View Related

Ubuntu Installation :: Changing Partition Broke Install?

Jul 8, 2011

I changed partitions (partition X is now partition X+1) and can no longer boot. I get thrown into grub rescue. But even if I get past that, it still doesn't boot. (I can't see why because it's using an unsupported graphics mode by default, but that's another gripe). I would prefer an installation which is not fragile to changes in partition numbers or drive numbers. It's not 1975 any more, can't we use meaningful names instead of 0, 1, 2?

View 2 Replies View Related

Fedora Installation :: F11 Won't Install After Changing Video Card?

Aug 1, 2009

I was using F11 when my Nvidia 6500 broke. I got a 9400GT but now F11 won't work.When I try the default option: after the media test, the mouse cursor appears and then nothing happens.If I try the second option "using generic video drive" anaconda crashes after I choose my keyboard layout.The Live CD and preupgrade didn't work either.F10 installs perfectly.

View 1 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

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

Ubuntu Installation :: Back Up Directories ?

Jan 19, 2010

Is it possible to just tar /home, /opt, and a couple other directories, and then save them on some medium, so that when doing a fresh install, I could just extract the folders from the tar file and keep my information?

I don't plan on doing daily/weekly backups, but I want a copy of some folders so that I can keep as many of my settings as possible in case I need to do a fresh install.

I also don't have the ability to create another partition on my hard drive to be able to put /home on it.. but yes, I looked into that route, as well.

View 8 Replies View Related

Ubuntu Installation :: What Directories Can Be Shared

Mar 22, 2010

I have a shared /home between windows, Ubuntu and a couple of alternative Gnu/Linux installs.

Are there any other directories that can safely/easily share a partition?

Can I have my installed programs available to me in any distro if, for example, I share lib and usr and etc ?

View 1 Replies View Related

OpenSUSE Install :: /home And / Directories

Sep 14, 2010

In system info my ext4 /home directory shows total space of 51.7 gigs with 51.5 gigs available.

My ext4 / directory shows total space 19.7 gig and 7.7 gig free. Whenever I install anything it goes to the / (as guess root directory) In Dolphin it shows my /home directory but anything installed under that seems like it installs on the / directory.

If I have 51 gigs free where is it and how do I gain access?

View 9 Replies View Related

OpenSUSE Install :: Deleting File/directories Via CL

Mar 27, 2010

rm [non-empty directory's name] -r

....and not....

rmdir [non-empty directory's name]-i

..or..

rmdir [non-empty directory's name} -ir

backround:

I just downloaded and innstalled 11.2 about 6 weeks ago, and Have updated several times since... I was very frustrated and found that I did in fact have the proper pernissions to delete this directory. I checked multiple forums for much longer than I would like to admit, and they kept telling me to use (in the end) the same commands.....I finally stumbled upon a forum that again told me to use rm [nonempty directory's name] ...and viola

my /bash can't be outdated can it

View 2 Replies View Related

OpenSUSE Install :: Using Cd ~/ Results In / And // Entries For All Directories

May 5, 2011

Since I updated from 11.2 to 11.4 an annoying bug seems to have crept into the shell.

If I type the following and hit tab I get:

cd ~/.kde
.kde/ .kde// .kde4/ .kde4//

i.e. each directory has a / and // version for some reason. I have to enter a / and hit tab again to proceed.

If however I type the following and hit tab I get:

cd /home/tux/.kde
.kde/ .kde4/

i.e. correct as expected.

The ls command does not do this.

This seems like a bug.

GNU bash, version 4.1.10(1)-release (x86_64-suse-linux-gnu)
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
Linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

View 2 Replies View Related

Ubuntu Installation :: Directories Requires To Mount Drives?

Feb 23, 2010

Since I never got an answer to my last question:I'll ask something simpler. When Ubuntu is booting up, what directories are used for the boot process up until it mounts other drives (such as an SD card).hink that question makes sense,don't hesitate to ask forclarification, though.

View 6 Replies View Related

Ubuntu Installation :: Creating Directories Owned By A Specified User On SSD?

Jul 15, 2010

I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive) Im very new to linux, Could someone inform me how I would go about creating a directory on the SSD that is owned by the user 'Test user'

Im sorry if this is a daft question, im just moving from windows to linux and struggling a lot.

View 3 Replies View Related

OpenSUSE Install :: Mounting /sys Directories With Nosuid Option?

May 19, 2010

I'm trying to mount some file systems in the /sys directory with the nosuid option. Upon executing the command:

mount -o remount,nosuid /sys/kernel/security
or
remount nosuid /sys/kernel/security

/etc/mtab will show that they have been applied, but upon restart of the machine, the nosuid option is removed.

Soooo, the question is why are they being removed? Can /sys files carry the nosuid option?

View 7 Replies View Related

Ubuntu Installation :: Changing From Windows Version To Complete Installation

May 25, 2010

I have Ubuntu 10.04 installed in my laptop through a windows installation and I want to make a new, complete, install so I can boot directly in Ubuntu (and change some configuration choices I didn't get right in the first place). Is there any (as simple as posible) way to save my actual data (users, software installed, personal files...) as a whole so I can "install" all that back to the "new" Ubuntu installation?

View 4 Replies View Related

OpenSUSE Install :: Retain Contents Of Other System Related Directories

Mar 1, 2011

My current system ==>openSUSE 11.3 / GNOME 2.30.2

When openSUSE 11.4 comes out i want to
==>Download "Live GNOME"
==>When installing it need to retain contents of "/home/.."

Is this possible?

NOTE:-I don't need to retain contents of other system related directories

View 9 Replies View Related

OpenSUSE Install :: Moving /usr Directory / Partition With All The Other Running Directories?

Mar 16, 2011

I just installed the 11.4 version after using numerous previous versions. During this install the /usr directory was placed in a separate partition. How would I go about placing it in the partition with all the other running directories?

View 7 Replies View Related

Ubuntu Installation :: System Directories On Separate Partitions - Redo All From Scratch

Feb 23, 2010

I have a netbook with limited storage. 8GB internal and a 16GB SD card. Right now I have Ubuntu installed on the 8GB internal storage with a few directories mounted on the 16GB SD card. (/usr and /usr/local). This has worked out fairly well for me as having the entire installation on just the 8GB drive was too limiting. When I tried this I didn't know how big to make the partitions I was mounting in. These partitions are 7.06GB for the root (on internal storage) 2.8GB for /usr/local and another 2.8GB for /usr (both 2.8GB partitions are on the 16GB SD with the extra space being media storage for me). It seems I didn't make these partitions big enough because I can no longer perform updates. I'd like to redo all of this from scratch. how would you recommend I partition this next time around? Do I need individual partitions for the separate mount points that aren't root? Are those the directories I should be mounting on the SD card?

View 1 Replies View Related

OpenSUSE Install :: Call To Lnusertemp Faild (temporary Directories Full?)

Feb 5, 2009

opensuse 11.1 64 bit NVIDIA 180.22
yesterday i update my kde from 4.13 to 4.2.
Before i install kde 4.2 ,i disable all repo about 4.13

and remove kde 4.13 .using one-click installer,i install kde 4.2 successfully.but i can not login my account in kde session .it says

"call to lnusertemp faild (temporary directories full?)..."
use command
df /tmp
df -i /tmp
df /var/tmp
df -i /var/tmp

i found my disk have enough space,about 70% free space.i try to lonin use root account .it failed too ,with same error.any one know what is the matter about my kde 4.2?

View 9 Replies View Related

OpenSUSE Install :: Hard Drive To Replace Old One That Contained The /var And /home Directories?

Apr 25, 2010

I am installing a new hard drive to replace my old one that contained the /var and /home directories. I don't want to copy the whole directories, especially from home because there is a lot I don't need in it.What I need to do is set the mount points for the two partitions I have made on the new drive to /var and /home, but it will not let me do this with the other drive still running. I can't unmount /var and /home while the computer is running, and I would guess that having two drives with /var and /home on them would not work.

So, how can I set the mount points on the new drive and copy the files I need from the old to the new one? It would seem that would require two /home partitions to be mounted at the same time, but I don't think that is possible. I am sure there is some way, probably many ways knowing Linux so please,

View 9 Replies View Related

OpenSUSE Install :: Mount Multiple Directories From Two Archive Drives In One Folder?

Jan 21, 2011

I have two non-system drives with archive files. Each drive is formatted with one primary partition only, occupying all the drive space. In each drive there will be a number of directories with files in them, like this:

Drive 1:
/directory1/directoryXXX/files
/directory2/directoryXXX/files
/directory3/directoryXXX/files
Drive 2:
/directory4/directoryXXX/files

[Code]...

View 2 Replies View Related

OpenSUSE Install :: Call To Lnusertemp Failed - Temporary Directories Full?

Sep 22, 2010

opensuse 11.1 64 bit NVIDIA 180.22 yesterday i update my kde from 4.13 to 4.2. Before i install kde 4.2 ,i disable all repo about 4.13 and remove kde 4.13 .using one-click installer,i install kde 4.2 successfully.but i can not login my account in kde session. it says "call to lnusertemp faild (temporary directories full?)..."

use command
df /tmp
df -i /tmp
df /var/tmp
df -i /var/tmp

i found my disk have enough space,about 70% free space. i try to lonin use root account .it failed too ,with same error. any one know what is the matter about my kde 4.2?

View 5 Replies View Related

Red Hat / Fedora :: Restrict Users To Their Home Directories And Allow Admins To Have Different Home Directories?

Jan 20, 2010

Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.

So far I have created:
chroot_list
user_list

[code]....

View 1 Replies View Related

Ubuntu :: Keyboard Settings Always Changing / EMESENE Always Changing

Sep 1, 2011

is everytime i reboot , my keyboard is reset to USA. im in canada & it pisses me off each time i need to change it also.all my options on EMESENE is the same issue always RESET.it's like if nothing keeps the changes once rebooted.

View 1 Replies View Related







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