Ubuntu :: Check If And Ensure That /tmp Folder Is Always Deleted At Shutdown?

Feb 10, 2010

How can I check if Ubuntu deletes all the content in /tmp folder at each shutdown
(without trial and error)?

How can I tell Ubuntu to delete it?

What about the deletion of other tracks like swapfile at shutdown?

View 6 Replies


ADVERTISEMENT

Ubuntu Installation :: Partition To Ensure Home Isn't Deleted By Next Reinstall?

Jun 9, 2010

How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?

View 3 Replies View Related

General :: Pcfg_openfile - Unable To Check Htaccess File - Ensure It Is Readable

Jul 8, 2010

After moving a website folder on my local development machine to another drive, then moving it back, I got a 403 error. Most of this problem had probably to do with rights that got messed up. After deleting the code and restoring it from SVN, the rights seemed allright. The error stayed however.

The setup is a bit complex, as follows:

I have Ubuntu 10.4 as development machine, trying to mimic the server as much as possible We use Eclipse + SVN and I create all projects in a local folder under my user account In /var/www-vhosts I create folders for each vhost, like this one: test.localhost test.local/index.php: includes the index file of the project
test.local/.htaccess is a dynamic link to the htaccess file in a project subfolder

I get the following error in the apache error log:

The problem seems to be the .htaccess file, or the link to it. When I empty the htaccess, nothing changes When I remove the link, the index-include produces some output (in the apache error log) When I remove the link and replace it with the actual file, I get another error:

View 1 Replies View Related

Programming :: C++ Check If Pointer Is Deleted?

Apr 24, 2011

Is it possible to check if a pointer is deleted in C++ (using GDB)? For example:

Code:
a = new Thing();
b = a;
delete a;

// If all I have is the variable "b", how can I tell if it was deleted?

View 14 Replies View Related

Ubuntu :: Deleted Home Folder Won't Go Away / Get Rid Of It?

Jan 15, 2011

Two month ago I accidentally deleted my home folder (yes, very stupid idea but it wasn't on purpose).

I managed to recover the home folder from /home/.Trash-0/tobias by copying it back to where it belongs and changing the file ownership from "root" to my user (tobias).

After this recovery I tried to delete /home/.Trash-0/tobias but it wouldn't work. Whenever I tried, a new folder appeared in /home/.Trash-0/ (root home) named tobias.2, tobias.2.2 and so on. (see first screenshot). This means I had two copies of my home folder on my hard disk (2 x 156.1 GB at that time).

At that time I didn't care since I had enough disk space left (33.8 GB, see second screenshot) and thought Ubuntu would take care of this some time by removing the files in /home/.Trash-0/.

Fast forward to today, I get warnings of low disk space. My home folder today is around 160 GB but together with the deleted one in /.Trash-0/ I only have 1.3 GB disk space left in my home folder.

Any ideas how to delete the unused second home folder copy? Or is there some other way to free the disk space occupied by .Trash-0/ ?

(Ubuntu 10.04. LTS on vaio VPCEB1S1E btw)

View 1 Replies View Related

Ubuntu :: How To Recover Deleted Folder

Jun 26, 2011

I accidentally cut and paste two folders into my flash disk. then i deleted the folders from my flash. How can I recover the folders? They are not in my PC trash.

View 6 Replies View Related

Ubuntu :: Music Folder Is Deleted?

Jul 11, 2011

I deleted my music folder suddenlyIt was empty so I am not worry about data losingbut after that recreate a folder with same name its default icon wont come backwhat should I do?I am aware that I can set icon manually but I am looking for a method that ubuntu recognize that by itself.

View 8 Replies View Related

Ubuntu Servers :: How PID Folder Deleted Automatically

May 25, 2010

I'm new to Ubuntu (at least on server distributions). I used debian versions for a long time and thought, to try ubuntu LTS 10.0.4, because of the long time support cycle. I had problems, to install this distribution on a x86 platform (used with ASUS P4B533-v), because of kernel panic after installation. So I used a trick to get it running. I installed Ubuntu LTS 8.04 and compiled a kernel 2.6.34 and made a distupgrade. All went o.k. and is now running as a productive system.

My question now belongs to the used pid folder /var/run. I'm using some self compiled programs and had to create a separatly folder (e.g. /var/run/stunnel). My problem is, after rebooting the system, the folder is deleted automatically! Never saw this issue on other distributions. Is there any reason why? Of course, I can write a section in my init script, searching for existing folder and if not, creating it ...

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 :: Deleted A Php File Under My Public_html Folder / Get It Back?

Mar 5, 2010

I accidentally deleted a php file under my public_html folder. Is there a way I can get it back?

I typed: sudo rm contacts.php

View 2 Replies View Related

Ubuntu :: Deleted Resolv.Conf Folder - How To Write New One

May 1, 2010

Unfortunately I have deleted with sudo the resolv.conf folder in /etc/. How can I write a new one? What files contains your resolv.conf folder?

View 3 Replies View Related

Ubuntu :: Bin Folder Deleted - Wrong FS Type Errors

May 29, 2010

I made the unfortunate mistake of doing this (sudo rm -r /bin) instead of (sudo rm -r bin) in the folder I was in..I'm trying to copy my data over from my Karmic system using mount, but I'm unable to mount. When I try to mount I get errors of an wrong fs type..

I've done fdisk -l & I get this:
/dev/sda1 * 1 37599 302013936 83 Linux

What the heck filesystem is Linux? Is that like ext3 or something? I don't know. Here is what I'm trying to run:
mount -t ??? /dev/sda1 /media/disk -o force

Also, besides that. If there a way I can fix my OS without having to do a reinstall? Or at least is there a way can backup my files? I have a 1tb external so that's not the issue.

View 5 Replies View Related

Ubuntu :: Desktop Folder Gets Deleted On Logout Or Login

Mar 18, 2011

Ubuntu 10.04. Also have Kubuntu desktop installed. Usually use Ubuntu. Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"

So, created the ~/Desktop folder. Changed the line in user-dirs.dir to read XDG_DESKTOP_DIR="$HOME/Desktop". Log out. Log back in. Result:

Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"

Logged into the KDE desktop. It complains that the ~/Desktop folder does not exist. Shows nothing on the desktop. Create the ~/Desktop folder. Set KDE to use the ~/Desktop folder. Check .config/user-dirs.dir and make sure that the Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/Desktop" line is in. Everything is set. Log out.

Log in to Ubuntu. Result:
Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"

This problem showed up on two computers after a clean install of Ubuntu 10.04 followed by an install of the Kubuntu desktop. Might as well install Kubuntu desktop because some of the utilities I like to use (Kate, Krusader, etc) require that major parts of it be installed anyway. What appears to be happening is that the user-dirs.dir folder is getting ignored and is overwritten either on logout or login and the ~/Desktop folder is being deleted.

View 6 Replies View Related

Ubuntu :: How To Restore File Deleted From Home Folder

Jun 25, 2011

By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.

View 2 Replies View Related

General :: How To Retrieve MV Deleted Folder

Jun 22, 2010

I lost my folder name "....hemanth" while moving the folder "....hemanth" to "Documents" using mv command in the terminal. As there is already a folder named Documents in that destination folder I lost folder. How to retrieve the folder as that folder is very important for me.

View 2 Replies View Related

General :: Ubuntu - File Was Deleted And Then Reappeared When Folder Was Zipped

May 11, 2010

I am using Backtrack 4 Final, which is a Linux distro that is Ubuntu based. I had a directory that contained around 5 files. I deleted one of the files, which sent it to the trash. I then zipped the directory up (now containing 4 files), using this command:

zip -r directory.zip directory/

When I then unzipped directory.zip, the file I deleted was in there again. I couldn't believe this, so I zipped up the directory again, and the file reappeared again but this time could not be opened because the operating system said it didn't exist or something. I don't remember the exact error, and I cannot make this happen again. why a file that was deleted from a directory would reappear in that directory after it was zipped up?

View 1 Replies View Related

Ubuntu :: Deleted Dowload File / Get The Download Folder Back?

Jan 10, 2011

I had been uploading pictures from camera to download fold. Had a lot in there. Thought right click delete would just delete the pictures. Deleted folder too.

How can I get the download folder back?

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

Fedora :: Deleted /Boot Folder On F14 Installations

Dec 4, 2010

As the title states, I deleted my /boot folder on one of my F14 installations. I'll have to fix it later. I have F14 under VirtualBox on the same computer. I'd bet I can copy from there and be OK.

View 14 Replies View Related

General :: Folder Deleted - How To Figure Out Which User Did That

Feb 4, 2011

Somebody deleted a folder from /opt, now how I to know who did it? should I login to every user from root and check the history? or there is better and easy solution?

View 11 Replies View Related

General :: Deleted File / Folder Recovery

Feb 19, 2011

I have just accidentally deleted some files and a folder.Is there anyway I can recover them.

View 1 Replies View Related

General :: Hard Drive - Does Check Disks During Boot Instead Of Shutdown?

Dec 3, 2010

I'm just curious - why do all linux distros (all I've seen) run their periodic disk checks during boot? I mean, I understand that a disk should be checked now and then, but why does the system do it during boot, when I'm waiting for it to load, instead of checking them during shutdown, when (most probably) user doesn't need the computer anymore.

View 5 Replies View Related

General :: Unclean Shutdown / Reboots - Check Forced On Start-up

May 23, 2011

unclean shutdowns/reboots. Whenever I boot/restart, I notice the message "/dev/hdb1 (and hdb2) was not cleanly unmounted, check forced." Then fsck(?) scans them without errors, and everything continues normally. FWIW, hdb1 @ hdb2 are ext2, /boot & /tmp respectively, whereas all other partitions are ext3. Could that (ext2) be why? I checked halt, reboot, umountfs, umountnfs.sh, and umountroot in /etc/init.d, and nothing jumped out at me, though I'm not exactly sure what I'm looking at/for.

View 8 Replies View Related

Ubuntu :: Deleted User Main Folder - How To Restore Using Root Shell

Apr 14, 2011

I have system that was cloned from another system hence the user was same in both computer. I changed the computer name - to TANU. Then I added another user - BANU. I gave admin rights to second user. Logged out the first user DON- who is now only the desktop user. Before deleting the account through users and groups - I deleted the folder DON from home folder. I restarted the comp. unable to login. I had created automatic login for both users. How to restore the folder DON while using root shell.

View 2 Replies View Related

Fedora :: /Boot Folder Deleted - Any Way To Restore Without Reinstall

Dec 1, 2010

My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?

View 1 Replies View Related

General :: Recover /opt/local/bin Folder That Accidentally Deleted?

Apr 2, 2010

I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?

View 2 Replies View Related

General :: Remove Virtual Machine And Deleted VM Folder From Hd?

Sep 21, 2011

I want to remove Virtual Machine and I have deleted VM folder from hd. It's still shown in the VirtualBox GUI but the settings are grayed out.

View 2 Replies View Related

Red Hat / Fedora :: Boot Folder Contents Missing / Deleted

Nov 28, 2008

I was playing with my linux machine for RHEL preparation. I dont know where i left it last time before going to leave . Now the system is up and I cant take risk to reboot the machine.

That make sense that it wasnt mounted properly in last bootup. but I am not sure.I have to recover it without reboot. Can any one help and sort it out?Please do let me know if you need more outputs.

View 1 Replies View Related

Software :: MySQL Configuration Folder Deleted - Any Way To Recover

Dec 25, 2008

I was trying to delete mysql server and client and accidentally I deleted the configuration folder /etc/mysql. Is there a way to recover this folder??? I thought that only reinstalling it would solve the issue, but it didn't.

View 2 Replies View Related

SUSE / Novell :: Delete Temp Folder On Shutdown?

Mar 29, 2010

I found this Example how to delete Temp files on shutdown automagically.

View 6 Replies View Related







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