General :: Zip De Home Directory To A Location?

Apr 25, 2010

I have to zip de home directory to a location but i can't seem to get it done.

I have succeeded to zip a folder within the home folder (Music folder) but when i try to zip the entire home folder i get an error. I have tried different ways but no success so far.

This is what i tried so far:

1) tar cf backup_homedir.tgz ../

2) tar cf backup_homedir.tgz /home/indur

Error message: ( i hope i translate it well because my language isn't english, so the message isn't as well) tar: backup_homedir.tgz: Function open () failed: access denied tar: unrecoverable error -- tar is closing

Extra info

I am in GUI mode and i'm not logged in as root

View 3 Replies


ADVERTISEMENT

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

Apr 20, 2010

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.

The easiest way to do this would seem to be to just change & export $HOME, eg

cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions

However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?

View 1 Replies View Related

General :: Change My Home Directory Location To Something Else?

Aug 5, 2010

I have noticed that on a Mac which is Unix based too there is a different home directory which is NOT /home/user/ but /Users/user. How can I change my home directory in linux to something else? Even as an experiment? Is it possible? and how?

I'm using Ubuntu 10.04 GNOME

View 6 Replies View Related

Ubuntu :: Move The /home Directory To A Different Location?

Jun 29, 2010

I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.

I have a drive (/dev/sda5) mounted as /media/data

I would like to move /home to /media/data/home?

I have tried usermod but get the following error:

Code:
test@TestServer:/media/data$ sudo mkdir /media/data/home
test@TestServer:/media/data$ ls
home lost+found
test@TestServer:/media/data$ sudo usermod -dm /media/data/home
usermod: user '/media/data/home' does not exist

View 2 Replies View Related

Ubuntu :: Changing Home Directory Location

Apr 7, 2011

I have a dual-boot win7 and Ubuntu 10.10 and I want Ubuntu to use my windows user folder as home. I edited fstab to give me ownership and mount it to /mnt/Windows at startup but whenever I change the location of home in the Users and Groups it acts like it is changing it but it never does. I close the settings and when I re-open it, it is set back to /home/me.

View 5 Replies View Related

Ubuntu Servers :: Samba Home Directory Sharing In Different Location?

Sep 29, 2010

I have 10.04 and have samba running.

Samba is remotely administered with webmin and aim to setup home directory sharing. I am however having some trouble getting this to work.

I was of the understanding that home directory sharing allows me to create a user in ubuntu, which samba will then pickup and offer it up as a share.

My smb.conf looks like this..

Code:
#======================= Global Settings =======================
[global]
unix extensions = no
share modes = no
security = user

[Code]....

Essentially I've found this works providing I give the samba user a password after it is automatically created using the 'Configure automatic Unix and Samba user synchronisation' option in webmin.

However if I move the location of this home folder off the main drive i.e. /home/username I get turned away at attempted login.

I've tried specifying the path in [homes] using the path = /media/discarray, but this seems to break authentication somehow.

View 2 Replies View Related

Debian :: Changing File Download Location To Home Directory

Feb 1, 2009

I tried to download Knoppix 6.0 iso, but it ran out of storage space. It was placing it into /tmp. Is there a way that I could have it placed in my /home directory, which is plenty big?

edhe@hebrews:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 935M 256M 632M 29% /
tmpfs 470M 0 470M 0% /lib/init/rw
udev 10M 96K 10M 1% /dev
tmpfs 470M 0 470M 0% /dev/shm
/dev/sda9 356G 1.5G 337G 1% /home
/dev/sda8 373M 11M 343M 3% /tmp
/dev/sda5 4.6G 4.0G 383M 92% /usr
/dev/sda6 2.8G 341M 2.3G 13% /var

View 4 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.

Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?

View 10 Replies View Related

General :: How To Automount NIS Account's Home Dir To Different Location?

Jan 17, 2010

proposed mountpoint for NIS client home dir for 'user': /shared/home/user

auto mounting to /home/user works fine BUT if i want to automount to different location; it still looks for /home/user directory to mount to. So I get an error and i get directed to the '/' dir.
Is there someway for me to edit the passwd file that is being exported by the NIS server? because if I change the local passwd of the user in the NIS server then he wont be able to see his home dir when logging in locally. (although this does seem to be a good idea; since he wont need to login directly into the NIS server....)

View 3 Replies View Related

General :: Access Directory Outside Of Home Directory?

Apr 13, 2010

I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?

View 7 Replies View Related

General :: How To Let Others Access Home Directory

Jan 20, 2010

I grant read privilege to all the users to my .vimrc file . But my colleague still can't read my .vimrc file . I guess in addiction to give the read privilege to the .vimrc file, in some way I should give the person who want to read it the "access right" to my home directory first---which I don't know how to do it.

View 3 Replies View Related

General :: What Should Be Permissions Of Home Directory?

Oct 20, 2009

I am confused that what should be the permssions of home directory because currenlty my users when they log into their home directory , they can see all the contents of /home directory as well..However if i take read all permissions then my sites are not accessible , what should i do The current permissions are 755

View 4 Replies View Related

General :: Need To Backup / Home Directory

Sep 10, 2010

I need to backup my /home directory because I want to switch from Fedora to OpenSUSE but I didn't put /home as a separate partition so I need to back it up. Problem is, I can't figure out how.I've tried tar and gzip through every google hit I can possibly find but not one has worked.

View 7 Replies View Related

General :: Cannot Write On Someone's Else /home Directory?

Sep 26, 2010

This might see a dump question but I will make it anyway .Here is the scenario:I have two users on my Linux Mint installation:

User A
User B

I want User A to be able to write on User B home directory, say /home/B.For this I have changed users's B home directory to look like this:ls -ld drwxrwxr-x 36 B music 4096 2010-09-26 10:31 /home/BI have created a "music" group and assigned to /home/B, so all users that are member of "music" are going to be able to write on User B home directory, right?The answer is No! Not here in my box Can you tell me why?Why users under group music can't write on /home/B if B directory is owned by group music and group music has write permissions?

View 5 Replies View Related

General :: Cannot Log In, Home Directory Not Recognized?

Aug 10, 2010

I have tried googling many times for answers, but haven't yet found a solution to my problem (maybe its my selection of search terms).I screwed up my debian system by trying to setup an ftp server with vsftpd very quickly withouteading much documentation (very stupid) as root. I must have screwed up the something to do with the home directory for my user because now cannot even log in with my usual username and password when the computer starts up. All the computer says when I try to log in is:

Unable to cd to 'homemyusername'I can log in as root with Debian single user mode, so I am hoping I can reset my home directory so it works again. Also, I cannot seem to ever get the gnome login screen just a terminal login screen.

View 7 Replies View Related

General :: Can Use / Home Directory From One Distro In Another?

Oct 28, 2009

I installed the beta of Ubuntu 9.10 Karmic, and I am now stuck with a barely usable system, so I am going to remove it. I've already backed up the home directory, and what I was wondering is this:If I were to install a completely different distro, like, say, OpenSUSE, would I be able to copy back my home directory without problems and have things still work, or would I have to reinstall Karmic? I had always believed that Linux distros were more or less the same except for cosmetic differences, but this seems like it'd be a different case somehow..

View 3 Replies View Related

General :: User Without Home Directory

Feb 28, 2011

I was just exploring if i could create a normal user without a home directory. So i edited the file /etc/defaults/useradd and it now shows

[code]...

Why is this so? why isnt the change in useradd reflected here?

View 1 Replies View Related

Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied

Jul 21, 2009

I have a strange problem when I do SSH to a FEDORA9 based Linux Server.

[Code]....

When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied

View 7 Replies View Related

Ubuntu :: Home Folder Icons Don't Update When Change The Home Directory

Sep 22, 2010

I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?

View 2 Replies View Related

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

May 24, 2011

I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).

I'm assuming it's something I could probably set in pam configurations?

View 1 Replies View Related

General :: Ubuntu - Home Directory Be Symlinked?

Feb 10, 2010

I have a second large storage hdd mounted in Ubuntu in /media/storage. I would like my home directories for me and all future users of the system to be located on this storage drive as well.

I was thinking that the easiest way to accomplish this was to move /home to /media/storage/home and then create a symlink so that /home points to /media/storage/home. Would this work okay?

The only reason I ask, is because I know that a users home directory has a lot of special configuration information stored in it, so I didn't know if this would screw up anything on the system.

Are there any better alternative methods to relocating the home directory?

View 1 Replies View Related

General :: When Using Gt5 In Home Directory Get A Blank Page

Mar 11, 2010

When using gt5 in various directories on my system (including my home directory) I get blank results.

If I limit the max-depth enough, I get results. For example, in my home directory 'gt5 --max-depth 2' produces a listing, while 'gt5 --max-depth 3' produces a blank page.

I've noticed that the temporary html file that gets created in tmp (such as '/tmp/gt5.9035.kJVM08Y9/gt5.html' is a zero-byte file.

I can successfully do a du in the same directory (which is what I thought gt5 was using), so I'm not sure what to check?

View 1 Replies View Related

General :: Move The Home Directory To Another Partition?

May 25, 2010

I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.

View 1 Replies View Related

General :: Creating User Home Directory?

Sep 14, 2010

I've a user account in a remote machine. but it doesn't have a home directory in that machine.Is it possible to create a home directory without having root account details. If yes, how it can be done.

View 1 Replies View Related

General :: Server - Can't Access Home Directory Over SMB

Feb 26, 2011

I have a server running Ubuntu server edition with SMB server all set up and running. I've set up the main root of the drive to be shared and I've set up a user in /etc/samba/smbusers to say root = "joeflood" so I can sign in as root using the username "joeflood". This works and I have read/write access to the filesystem (yay!). However, if I browse to /home/javawag (my main user home directory), I no longer have write permissions! I can see all the files in there and read them no problem, but writing is a no-go. I'm logged in as root though?! Btw, I can login via SSH and create folders/etc as root in the /home/javawag folder, and they showed up in the SMB mount on my mac too.

View 1 Replies View Related

General :: Why Is Home Directory Encrypted And Inaccessible

Jul 7, 2011

I installed Ubuntu Server because I want to learn Linux and I want to learn about servers. I did a newbie tutorial and then shut down. When I booted up today, the files in my home directory were replaced by Access-your-private-data.desktop and readme.txt, but I have no idea why. I followed the instructions in readme.txt and typed ecryptfs-mount-private. It told me

INFO: Your private directory has been mounted.
INFO: To see this change in your current shell:
cd /home/rmob

But if I do ls /home/rmob, it still shows me Access-your-private-data.desktop and readme.txt instead of the files I created there yesterday. Every time I reboot, it tells me

keyctl_search: Required key not available
Perhaps try the interactive 'ecryptfs-mount-private'

If I try ecryptfs-mount-private again, it still tells me it has mounted it, but still just shows me those same two files. Googling about this tells me this means the directory got encrypted somehow. I tried typing touch ~/.ecryptfs/auto-mount which I found in this tutorial, but it didn't make a difference and I can't find any other solution anywhere.

View 2 Replies View Related

General :: Migrate User Home Directory?

Sep 29, 2010

Ubuntu 10.04 64 bit I ran following command to change username; # usermod -c "Real name" -l new_username old_username but forgot adding -m option to move the contents of the old home directory to the new home directory. Therefore; # ls /home old_user_directory

View 4 Replies View Related

General :: Lock Ssh User On Own Home Directory?

Jun 21, 2011

I must to give ssh connection to own customer. So I want to lock ssh user on own home directory. It is not necessery to reach other folders. I know that ftp user can lock on own folder but I don't know how to lock ssh user.

View 1 Replies View Related

General :: Possible To Put Home Directory On NTFS Volume?

May 25, 2011

I'm setting up a dual-boot system, and want users to be able to access their stuff regardless of what OS is currently loaded. Ideally, I'd like to set it up so that the same Firefox profile is used in both Windows 7 and Linux, as well as the same "home" directories, but I don't think that is possible. At best, I plan to use shortcuts and symbolic links to make it easy to navigate. In any case, is there any major problem with setting up both Windows and Linux to use the same partition for storing user's directories? The primary shared things will be Open Office/Microsoft Office documents and Firefox setups.

I haven't decided if I'm putting Ubuntu or Fedora on this system. I'm more familiar with Fedora, but need to increase my familiarity with Ubuntu. I'm going to go with whatever will give me the least hassles with the setup I just described. On the other hand, I'm unsure if I even need to make a dual boot. I have VMWare, and I'm not sure what advantages there are to making a dual boot over VMware in my case. The only advantage I can see is:

1. Having Linux as a boot option kinda forces me to actually use it once I choose Linux. Thus, I become more familiar with it, and need to reboot the computer in order to use Widows.
2. Linux gives me an emergency boot option is the Windows section gets corrupted beyond what chkdsk and the other emergency recovery options can fix. Counterbalanced by the ability to boot the old Vista OS that came with the computer.
3. The full resources of the computer are available to Linux. Not so much an issue today, but maybe in a few years. This is counterbalanced by the fact that all my games are in Windows, and I can't think of anything else I'd do with Linux that would put such demands on the system. Yeah, I might use it as a server, but that is more to LEARN how to set up and configure servers. I believe it is against Comcast Cable's TOS to run an permanent server with the necessary dynamic DNS registration.

I have no need for a permanent DNS server. If I need name resolution, I'd just put it in my hosts file. I already use that to block ads, so sharing it with all my systems is no problem. I don't have that many. So, the only reason I can really think of is to force myself to use Linux by booting Linux, rather than take the lazy way with Windows.

View 8 Replies View Related







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