Fedora :: Deleted Downloads Directory Or Moved It

Nov 12, 2009

I was trying to install a program and then I tried to mv comman (which I probably did wrong) but to make it short I am pretty sure I deleted the directory. I made another Downloads directory using mkdir but whenever I download anything now I have no idea where it goes.

View 4 Replies


ADVERTISEMENT

Fedora :: Moved Home Directory And Cannot Login

Oct 26, 2009

I've made a LAMP install and used it as a test server connected to my Mac. Good. I managed to get Dreamweaver to work with the server and had access to the home folder from my Mac. The bad part is when I was setting up the permissions for my Mac to connect, I gave it too many rights and set /etc/exports with "no_root_squash" option. This allowed me to change permissions in my home folder from the Mac! That was really cool. The trouble started when I tried to get too clever about managing my F11 test server.

The permission change on the F11 box from the Mac created a new user 501. All the home files had this new user, 501, and a new group 501. I manually edited the /etc/passwd file giving this new PID a meaningful name, rXtian, and set its group to Xtian from the original user. Just to make myself feel really clever, I read in my "F11 Bible" that a "portable desktop" would make it easier to manage log in from different machines. I created a new home directory and CP'n the content from:

/home/Xtian
to
/home/xtiansimonsibm/Xtian (with -rw-r--r-- rXtian Xtian)

What I mean to say is I deleted the old /home/Xtian directory for reasons I do not know. Thats when all the trouble started. I can't login to either user, rXtian or Xtian. I can only get on as root. I tried to start over by creating a third user with ADDUSER including the base set of user files. I renamed home/xtiansimonsibm/rXtian. I can't log in to either. I used PASSWD command changing Xtian and rXtian's loginpass, but neither password has taken. I still have the test server working, but I can't login to the home folder anymore. What can I do? Any tutorial or checklist for repairinig the user permissions, passwords?

View 2 Replies View Related

Ubuntu :: Files Moved To Trash Then Deleted Completely

Apr 19, 2011

If I move a file to the trash,I can restore it later.But if I empty the trash,I'll be warned that I cannot recover the files if I proceed.Is this really true or are there Linux applications for recovering files deleted from the trash?Uhm...are the files deleted completely and unrecoverably or are there any traces left behind?

View 6 Replies View Related

Server :: Samba Permissions - Files & Directories Can't Be Renamed / Moved / Deleted

Feb 10, 2010

After what feels like weeks have tinkering around trying to get a Samba file server set up, I've finally given up! I have 4 drives and 2 groups:

1) Dev - Available to all users in both groups (normal and admin)
2) Misc - Available to users in admin group only
3) Admin - Available to users in admin group only
4) Accounts - Available to users in admin group only

Drives 1 and 2 are working fine, with the correct access rights. Drives 3 and 4 can be browsed by admins only, but no changes can be made at all - files & directories can't be renamed/moved/deleted. What is most confusing is that Drive 2 is set up exactly the same as Drives 3 and 4. The process I went through to get them working:

[Code]...

View 2 Replies View Related

Ubuntu :: Restore Deleted 'Downloads' Folder?

Nov 22, 2010

I made one of those silly mistakes and stupidly deleted my 'Downloads' folder. how one could restore it?

View 3 Replies View Related

Ubuntu Installation :: Linuxdc++ Deleted All Files From The Downloads Folder

Sep 1, 2011

There is some issue with the latest version of LinuxDC++ (version: 1.2.0~pre1~bzr Core version: 0.75). I have upgraded to the latest version a few days back from launchpad repos due to the frequent crashes and system hang-ups. My complete and incomplete downloads folder are same. While my download was going on, LinuxDC++ deleted all the files from the downloads folder.

After about half an hour of tweaking, I updated my database using updatedb, and found my files in ~/.dc++/Filelists/anantwqqwe.BMIU2NFCFXB7ERTSG62PRSQPRJIN63A56EEGO6Q . What does that supposed to mean and why its doing this way? This is the second time this has happened to me, the last time I was unable to locate the deleted files on my system and I suppose they were not there. I use 64-bit Ubuntu 10.10(maverick).

View 2 Replies View Related

Red Hat / Fedora :: Deleted /usr/lib/nvidia Directory?

Feb 24, 2010

I deleted the usr/lib/nvidia directory by accident.Is there a way to get it back?The nvidia driver version I have is 190.53.

View 5 Replies View Related

Ubuntu Installation :: Home Directory Moved After Reinstall

Mar 5, 2010

I have been out of the Linux loop for a while. Prior to the holidays I did something 'stupid' within Wine and ended up taking out my Ubuntu partition to the point where it wouldn't boot. Being that I have a triple boot system and I had plans for the holidays, I didn't want to risk a reinstall in the event that if something went wrong with Grub, it would render my whole system useless. So I waited until now to reinstall Ubuntu. I performed the reinstall this past weekend and for the most part I thought everything went fine, but I noticed something was different with the file system.

When I attempted to load a 3.5gig program into Ubuntu yesterday, I got an error message saying that I don't have enough disk space. I said to my self, "That is impossible as I have a 106gig partition for programs". I have a separated system in which Ubuntu /root has an 8gig partition and the Home partition supposed to be the 106gig drive. I did this in the event I had to reinstall, I wouldn't loose my information. Well apparently something went wrong with the install and it appears that I have two Home folders...one is on the 106gig drive and the other is in the root directory.

Making note of that explained why my program wouldn't load because the root partition is only 8gig. So, my question is this: Can I set Ubuntu back to the old Home directory, or do I have to reinstall once again? As what under my avatar says, I am on Ubuntu Studio 8.04 (Hardy Heron). I stuck with this older version because it has long term support. I have a triple boot system with Windows XP, Puppy Linux, and Ubuntu Studio. I have two SATA 500gig drives with the first drive being home to all the operating systems and programs. The second drive is just for data.

Here is my fdisk -l I put the partitions usage in parenthesis:
geo@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cf364 .....

View 7 Replies View Related

General :: Set Default Permissions For Files Moved Or Copied To A Directory?

Jan 25, 2011

How to set the default file permissions on ALL newly created files in linux - but differs in important ways:

I want all files created in (or copied to or moved to) a certain directory to inherit a set of default permissions that is different from the system default.

Rationale: The directory in question is the "intake hopper" for an application. Users in a group place files in the directory, and the app (running under another user id in the same group) takes them and processes them. The problem is that the owner of each file placed in the directory is the user that placed it there, and the permissions are defaulting to "rw-r--r--"; I want to change that to "rw-rw----". The app doing the intake can't do that explicitly, because the user id the app is running under doesn't own the file in question, and the default permissions don't allow the app to chmod on the file! Obviously, the user could do a chmod after putting the file there - but I want to keep the "drop" by the user as simple as possible. (These folks are not linux-literate, they just drag and drop the files from their windows desktop to a (Samba) network share - i.e. they don't even know they are interacting with a linux system.)

umask seems too powerful: I don't want to set default permissions for every file created anywhere by these users - just those created in (or placed in) this directory.

View 3 Replies View Related

General :: Moved To Ssd - Booting - Won't Make The Root Directory On The Right Disk

May 8, 2011

I have successfully migrated my linux install to a new /, /home, /boot partition on my ssd. Everything works fine, except that it won't make the root directory on the right disk. When I change the root=uuid=<drive id> to my new drive everything is fine, but I can't automate that... in other words I have manually typed the uuid of my root-partition for about 100 times now and I am fed up with that how I can save the uuid of my new drive in the startup parameters?

View 2 Replies View Related

General :: How To Install JDK Manually From Downloads Directory

Apr 7, 2011

I have downloaded the jdk-6u24-linux-i586.bin and gone through following steps.
nuwan@nuwan-laptop:~/Downloads$ sudo chmod +x jdk-6u24-linux-i586.bin
nuwan@nuwan-laptop:~/Downloads$ ./jdk-6u24-linux-i586.bin
It works fine on me. These commands create a folder jdk1.6.0_24 in Downloads directory.

My Question is this. If I want to install packages manually.What is the best way to do it. Where should I put artifacts which generates after executing above commands. Another question, If I use sudo apt-get install sun-java6-jdk where does these downloaded packages are installed. I mean location. I have been using Ubuntu 9.10

View 2 Replies View Related

Ubuntu :: Cannot Find Zipfile Directory In One Of Dzoni Downloads

Nov 4, 2010

I download cs 1.6 and when i click double on it it says:

Archive: /home/dzoni/Downloads/cstrike_16_1.2_v42_nonsteam_ZCP.exe.exe
[/home/dzoni/Downloads/cstrike_16_1.2_v42_nonsteam_ZCP.exe.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /home/dzoni/Downloads/cstrike_16_1.2_v42_nonsteam_ZCP.exe.exe or
/home/dzoni/Downloads/cstrike_16_1.2_v42_nonsteam_ZCP.exe.exe.zip, and cannot find
/home/dzoni/Downloads/cstrike_16_1.2_v42_nonsteam_ZCP.exe.exe.ZIP, period.

I can't believe I am trying to make my computer better with this o.s. and I cant install anything I can't unrar files I'm down.

View 5 Replies View Related

Ubuntu :: Have Both Os's To Use The Same Directory For Documents, Musics, Downloads, Etc On Home Partition?

Jul 9, 2010

I would like to have both os's to use the same directory for documents, musics, downloads, etc on my home partition.I have a dual boot of moonos and xp.home folder patitionwindows sys partitionmoonos sys partitionbackup data partitionI would like to point both os's to either the home partition or data partition.

View 2 Replies View Related

General :: Deleted /opt Directory From Machine ?

Jun 8, 2010

I deleted /opt directory from my Linux machine , will there be any reboot problem for machine?

View 2 Replies View Related

Programming :: Deleted Files In Directory With So Many Files Without Deleting Directory Itself

Nov 14, 2010

There are millions of files in many directories. Wherenver i try rm * or find or use xargs, they say 'argument list too long' and exit. How can i deleted files in a directory with so many files without deleting the directory itself.

View 3 Replies View Related

Debian :: Recovering Deleted Directory In Terminal

Feb 21, 2015

I deleted by mistake my /www/ directory in terminal with rm -rf command. Is there a chance to get it back? I tried with TestDisk but I can't find it.

View 7 Replies View Related

Ubuntu :: Deleted All The Files In /boot Directory

Dec 13, 2010

I have accidentally deleted all the files in my /boot directory of my Lynx 10.04 64bits installation.

Is there any way I can manually reinstall them ? I need just to reinstall a kernel so I can reboot

Can I manually copy them from somewhere (CD, etc.)

View 4 Replies View Related

General :: Recover Deleted Directory In EXT3?

Jul 19, 2011

recover deleted files using "debugfs" & "extundelete" by running:Code:sudo debugfs /dev/sda3
and find inode number of deleted file using "ls -d" command and then running:Code:sudo extundelete /dev/sda3 --restore-file <inode#>but when my desired file was in a deleted folder I can't find my desired file inode number using debugfs

View 1 Replies View Related

General :: /bin Directory Is Deleted After Killed Yum Update Command

Jan 7, 2010

I have a serious problem on my VPS. I ran "yum update" and then hit the Ctrl+C to cancel when I realized that I need to specify a package to update, not all of them, but when the console returned suddenly I lost the connection, when I try to reconnect to the machine, it says /bin/bash not found !! even when I try to issue commands from the VPS control panel, it reports that the commands are not there

I can issue a ticket for the ISP to resolve this, but I need to know the risks before I do this, I have no backup on MySQL and 2 live web applications, although they are still running, I am afraid if I restarted the VPS everything will be gone.

View 7 Replies View Related

Ubuntu Multimedia :: Got A Bunch Of "ogg" Files In Downloads Directory?

Apr 6, 2011

I just Dled Cleanus 1 system sounds. I've got a bunch of "ogg" files in my Downloads directory. Where should these files live to be system-wide?

View 2 Replies View Related

Ubuntu Security :: Cannot Restore Deleted Directory Using Rdiff-backup

May 17, 2011

I have carefully made daily backups using rdiff-backup, so in the case of needing to restore I can do so.

But I deleted a directory yesterday, and made a backup in the evening. Therefore, the directory is not in the latest mirror, but in the incremental backup from yesterday.

Now I need to restore the directory. But I cannot figure out how to!

I can see the directory in yesterday's incremental backup; i.e., the following works:

Code:

Where [backupdir] is the backup (mirror) directory, and [nameofdir] is the name of the directory I'm trying to restore.

So, I have tried to restore. This is the type of thing I have tried:

Code:

Where to-restore.lst holds the name of the directory to restore (in rdiff-backup's format) and [restoredir]is where I want the restored directory to go to.

But, I get errors like:

Code:

Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory. Well, obviously the file specification doesn't exist in the [restoredir]. That's because I'm trying to restore it! If I try to create an empty directory first, it complains:

Code:

How do I restore a deleted directory from a previous day's backup to a designated destination?

View 2 Replies View Related

General :: Deleted Root Directory - How To Recover System Data

Feb 27, 2010

I have accidentally ended up in deleting my root directory while I blindly fired command while watching movie.

I fired following command
#rm -rf ~/<SPACE>*.out
instead of this command
#rm -rf ~/*.out

Things already done:
1) Created /root directory relogged to get some of basic settings of gnome and Desktop.
2) Things went well now when I login my desktop ,gnome environment and other things looks to be working well only prompt on my terminal has changed. I can fix it any ways.

Things I want to ask:
1) I haven't studied much about contents of /root directory to best of my knowledge is it like other user's home directory with some basic configuration files for mostly required applications. SO my question is have I lost any thing important system file or something?
2) If I have lost any important configuration or system data how can I recover it without reinstalling whole system? (My opinion about this is, It is quite possible but to do so, as far as I know capabilities of linux. But I still want comments from experts before I try any things on it because I don't want to backup my whole HDD and reinstall the whole stuff again for me and also my sister's stuff in MS.)

View 4 Replies View Related

Fedora :: Moved Desktop (physically) And Now Gnome 3 Won't Start

May 24, 2011

Our office moved yesterday. I shut down the computer cleanly and physically moved it to the new location. On startup, the wallpaper shows on both monitors, and the login screen. But, when I log in, I get failed to load session "gnome"

I am using Fedora Core 15. The only hardware that changed is I swapped out my cordless usb mouse for a corded one because I left the dongle at home. How I can I troubleshoot the problem and get my computer up and running again?

View 3 Replies View Related

Fedora :: Moved /home To A Seperate Partition, Now Terminal Logs In At?

Oct 4, 2009

I recently moved /home to a seperate partition. Everything works fine except that when I open a terminal it starts me off in / instead of /home/user

View 4 Replies View Related

Fedora Security :: Moved /var/log To New Disk - Selinux Relabel Now Incorrect

Apr 27, 2011

I've moved my /var/log directory to another disk (/mnt/serverlogs) and created a symlink for the original directory:

Code:

[root@fileserver2 var]# ls -aldZ /var/log
lrwxrwxrwx. root root unconfined_u:object_r:var_t:s0 /var/log -> /data/serverlogs
[root@fileserver2 var]# ls -aldZ /data/serverlogs
drwxr-xr-x. root root system_u:object_r:var_log_t /data/serverlogs

I have SELinux set to permissive and am getting lots of errors because the contexts are incorrect after a filesystem relabel. e.g.

Code:

[root@fileserver2 var]# ls -alZ /data/serverlogs/messages
-rw-------. root root system_u:object_r:default_t:s0 /data/serverlogs/messages

I believe that this file should be var_log_t.How can I restore the correct context to all of the files in /var/log?I've tried running:

Code:

restorecon -vR /var/log/

But this does not change the contexts, I guess because the files are now in the 'incorrect' location. I've looked through the file: /etc/selinux/targeted/contexts/files/file_contexts which I believe contains the original/default settings - maybe I need to alter this file to fix the problem? I've also tried modifying /data/serverlogs using:

Code:

semanage fcontext -a -t var_log_t /data/serverlogs

which fixes the directory itself, but not the contents,

View 8 Replies View Related

Fedora :: Caching Yum Downloads Across A LAN?

Aug 8, 2011

I am currently working on a project at work to do caching across a windows network (web traffic thorugh squid and windows updates with WSUS). It is proving to be an interesting learning project.This got me thinking about my home network. Currently I am running 8 Fedora Computers (with the very real possiblity of more in the forseeable future).

Oviously running "yum update" on every computer and having them download these updates directly on each computer eats a lot of bandwidth on the external link. I would like to know if there is a way to set up a proxy server (or something else for that matter) to cache yum downloads. This way when I deploy a new machine, or run updates, I can save time and bandwidth by only downloading the packages too my LAN once, instead of nearly a dozen times.

View 4 Replies View Related

Fedora Security :: Get The SELINUX Authors To Consider Re-labeling Files When They Are Moved From One Place To Another?

Feb 17, 2010

I have a Fedora 12 box with a fresh install. I use ktorrent to download something, eg a series, into my home folder. Now, as root, I move (not copy) the folder with the downloaded files to /var/www/html/bob so that when someone opens http://myserver/bob/ they see the list of folders and files I have placed there. I also chmod the whole folder to 755 and chown to root.root. The folder I have just moved there is not displayed. So to work around it (before I realised it was SELINUX) I created a new folder. Now the folder is visible. Good. So now I move the files into the new folder and delete the old one. The files are displayed ... good. But wait, there's more: you cannot access (download) the files, even though they are visible.

1. How do I VIEW what context is assigned to these files?

2. How do I correct the context so that http server can allow people to access them?

3. How do we get the SELINUX authors to consider re-labeling files when they are moved from one place to another so as not to cause this fault?

View 6 Replies View Related

Fedora :: GThumb Image Viewer Delete - Files Moved To Trash

Mar 4, 2010

When I am deleting pictures using gThumb image viewer it asks "The selected images will be moved to Trash, are you sure?" And if I press "yes" button - it moves message to ~/.Trash, can it be configured to move them into "real" trash? I have created symbolic link and it solved part of my problems, but files "restore" option is unavailable to files which were moved in to trash by this method.

View 3 Replies View Related

Red Hat / Fedora :: Adjust Campiz - Windows Wobble When Moved - Workspaces On A Cube

Jun 21, 2010

i install fedora 13 in virtual box. i enable campiz feature. but it have two choice:

1-windows wobble when moved
2-workspaces on a cube.

does campiz have only two option ?or does it have settings window?

View 2 Replies View Related

Fedora Networking :: Is There Some Way To Speed Downloads?

Feb 15, 2009

I just switched from XUBUNTU to fedora 10 and have to say I will most likely change back. Unless someone can tell me how to speed up the internet connection in fedora. I have tried wireless and wired and it doesn't matter which I use the download rate is painfully slow. With wired I get a meg every minute. It really hurts to watch the monitor.Downloads for three seconds then takes a break for eight seconds then downloads for three more seconds and this goes on and on. I have a very fast connection and am used to getting amazing unbroken streams of data at no less than 1 meg every 2 seconds. I hope this is a rectifiable situation.

View 4 Replies View Related







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