General :: In Ubuntu 9.04 - Mount The Different Folders On The Partition To Different Folders In Home?
May 12, 2010
I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu. How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.
I'm running into problems adding the required schema for automount and ldap on Centos 5.6 (also tried Centos 5.3)In the last few days I was able to setup LDAP server and get client authentication working. I want to be able to automatically mount users home folders on logon and store the configuration in ldap.I've done the following so far
1) added include in /etc/openldap/slapd.conf to /etc/openldap/schema/redhat/autofs.schema
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
# include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/redhat/autofs.schema
I'm using a Linux machine at work, and started using at home in a VM for some home development. I have a vimrc and a bashrc with some configuration, that are useful for both machines. What is the best way to sync them? Create a symlink for each file in my home folder pointing out to a the respectives files in my Dropbox sync folder? Is this possible (delete .bashrc and create a symlink instead)?
I am using rhel5 running as samba PDC.Most of the user save their data on a common folder on the server.Now I want to backup this data to some other location to have redundancy.It could be external USB HDD or other folder on the same server.How to create backup script and automate it using cron.
I am administrating a lab in a university and every semester we need to delete all the home folders of the accounts for the next semester. I would like to make a bash script that does this automatically and having trouble with it. Note that I am writing my very first bash script. What I need to do is make a script to delete the following:
Delete everything in /home/$exp$num/$dir when "exp" could be either "rt", "ic" or "sp". "num" could run from 1(single digit) to 45 and dir is "profile" and "work".
This is what I tried to write:
#!/bin/sh cd /home for exp in "rt ic sp" do
What seems to be the problem is the reading of "$exp$num" as a joint expression.
I created some .tar.gz archives, and later discovered that the archives include their mount points and drives as empty folders. How can I avoid that happening in the future? I suppose I did something wrong when creating the archives. I mean, what is the point of the archives having empty folders that represent the mount points and drives of the archived data?
I am setting up a lubuntu nas with all of my music, movies, etc on it. I want to give my kids access to my mp3 directory, so I can move all of the kid appropiate music into the root of my mp3 dir, in the same order I have all of my music sorted. Under the Music folder, I have them sorted, in folders, by letter. So A, B, C, D, etc... Now, in those folders are the respective artists. So where there may be something approipate in the P folder (say, Paramore), there is something inapproipate (say, Pantera)Now, when the kids go to the P folder, I don't want them to even see the Pantera folder. I just want them to see the Paramore folder. I tried a test using chmod 711 and chmod 700 on a directory with a test user, and the user can't access the directory, but can still see it
The Problem was I wanted to open my /home/Pictures folder and have it display the contents of the My Pictures folder in my windows partition. This way I could have ubuntu and xp using the same set of music files, picture files, etc. I was having a very hard time understanding how to get from here to there because I'm such a newbie. However I have discovered how to do it and I wanted to post it, in hopes it will make things easier for other newbies.This allows me to see every TYPE of document in /dev/sda8/Media (windows My Documents folder) without having to see any of the folders (My Music, My Pictures, etc).
The problem i have is that the folders i create in my home folder (/home/USRNAME/) now appear on my desktop (but not inside the desktop folder... since it no longer exists, u'll see). After a clean install of 11.04, there were a few default folders in my home folder (documents, music, videos, etc) however, i decided to rename them. After doing that, all of them (even the ones i didnt rename, like ubuntu one and templates appeared on my desktop (but not the desktop folder). I thought they were links, so i deleted the ones i saw on my desktop, and to my suprise, all the folders in my home folder have disappeared! Now everytime i create a new folder in my home folder it appears on my desktop, on top of my wallpaper, and if i delete either of them, both go away.
I'm recently switched my work laptop from running winXP to runing karmic. I'm still at the stage of getting my various bits and bobs working correctly. One of these I (may) have a problem with is backup's. I've ran backuppc on a ubuntu 9.04 box in the attic for the last year or so and I've been backing up my laptop to that. But since the switch, since I have an encrypted home dir, what is being backed up is the encrypted files. First, can I recover these if needed (I kept a copy of my passphrase), or can I get backuppc to ssh in as me with my home dir mounted correctly?
Backuppc is using rsync over ssh I've been using linux on and off since about redhat 5.0, so I'm not afraid of the command line or vi
Ever since I had a hard drive that had an unexpected mechanical failure 2 years ago (& had to pay $1400 to have the drive pulled apart in a vacuum & copied), I've been understandably paranoid about ensuring I keep multiple up-to-date copies of my hard drive.Currently, I'm running 3 computers- The TV Computer, my Wife's Computer & my Main Computer. A second hard drive in the Main Computer & an external hard drive both act solely as backups for my Home folder. The TV Computer & my Wife's Computer also keep an identical Home Folder to my Main.I have ssh installed on all computer's & have made bookmarks via the Places Menu's 'Connect to Server', so obviously it's very easy for me to exchange files between computer's...
My problem is this; Every time I save/download/change a file, I have to copy it to 4 other hard drive's. It's kind of annoying.Can anyone suggest some ways for me to save some time with this? It's a wired network with static ip's. All 3 computers are pretty much turned on 24/7.I'm open to middle-of-the-night scheduled type of thing or whatever.
I've set up a dual boot between a few different distros that I use. One of them has a seperate home partition and I'd like to bind folders from that into the other distros' home directories, I would like to share music documents and ideally firefox bookmarks between them.
As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.
This evening I went through the upgrade process to 10.04. The entire process went well until reboot time. At that point fsck was run and stopped after checking the first physical hard drive. After some time I skipped (s). When I tried to log in, warning messages informed me that Nautilus could not access it's folders in our home folder. ls /home/ brings up nothing, nada zilch. Some poking around confirms that the drive is there but Ubuntu seems unaware of it.
The configuration: Physical hd #1 is: sda a 40Gb hard drive with windows and Ubuntu / and swap. Physical hd #2 is: sdb a 120Gb hard drive with our /home partitions. Seems Ubuntu is simply not detecting the drive?
I have never seen anything like this before. Starting up today my usually completely free of clutter desktop is showing all of my home directory folders!If I delete folders from the desktop, they are also deleted from my home directory. If I create a new home directory folder, it also appears on my desktop. In effect my desktop has become my home directory and I don't like it.
I recently used D�j� Dup for the first time. I chose to backup my home folder and most dot folders (do most of you backup all your home dir dot folders?). Even though D�j� Dup uses gpg, is there any sensitive data stored in dot folders within my home directory?
BTW, I did an incremental backup up to an older D�j� Dup backup folder on my NTSF external HDD and got an error. Is this because it is NTFS? I then did an incremental backup to a backup folder on my PC (ext4) and got no error. In the picture attached, would that setting mean the backup will continue to grow to a huge size? Would it be better to keep backups for a week?
I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu.How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.
I mounted a hard drive and its working ok. But I want to expand on it. I'd like to make it accessible via another folder, like make it look like /home/cackles/added as well as simply just /added. Is it just like when you mount the drive and add the line to fstab?
I just sat up an openSSH Server with Samba access and all, but don't think about that.here's my question, and as you read you may understand why I posted this instead of googling it, it's un-google-able.can I mount a regular folder like /media/disk1/random to 2 different places ? and if so here's the tricky part:
1: when I end up in that folder, I don't want the direction path to end up like this: /media/disk1/random IE: so I don't want a link to the other folder, I want the OS to think it's a regular folder (in lames terms)the reason is because I want my openSSH clients to move inside a small space, without jumping all over the place, and be able to use the (...) feature in the SFTP client.(don't think about the permissions their already set.)
2: I don't want it to be a synchronized folder, I want the data to be stored on /media/disk1/randomor else it kind of blows the whole file storage server idea straight out of the window.
I configured my apache2. On my Intrepid I had apache2.0 while on my Karmic I have a apache2.2. Aftere configuring I tested it and got a an error page when I tested it in my web browser. I looked into the log file that showed the following error "[client 127.0.0.1] (13)Permission denied: access to /my_dir/ denied".
It appears apache2.2 can't access directories in my home folder. File system rights for the files and folders are correct. There is no AppArmor profile for Apache. User settings in "/etc/apache2/apache2.conf" file are correct. The inaccessible folder in "/etc/apache2/sites-available/default" looks as follows:
A trick using symbolic links didn't work either. On my previous Intrepid with Apache 2.0 my pages worked like a charm. Now on my current Karmic (before apache2.conf was pre configured, now it's not) with Apache 2.2 my pages are wrecked. how I can make Apache2.2 access folders in my home folder and which settings are needed in default file for that?
If someone manually partitions their home and root drives and overtime they end up with a lot of dot folders (.burgerspace for example) in their home directory. Is there a quick way to get rid of all the dot folders whose program is no longer installed? For example if I completely removed BurgerSpace in Synaptic, the .burgerspace folder would remain.
I'm new to ubuntu (installed 3 days ago). I have two disks in my notebook - one hdd (big, 320GB) and one ssd (very fast, 120GB). Everything is on ssd now, but I want to know how can I split my home directory to make config folders (like .thunderbird, .mozilla, .purple) to use ssd (for very fast response), and put movies, pictures, downloads and other folders to use hdd (a lot of space). Simply mounting hdd as /home is not a good option, becouse config files would be on hdd also. Should I mount (or link) all folders like /home/username/Videos to hdd, or is there a better solution?