SUSE / Novell :: Delete Temp Folder On Shutdown?
Mar 29, 2010I found this Example how to delete Temp files on shutdown automagically.
View 6 RepliesI found this Example how to delete Temp files on shutdown automagically.
View 6 RepliesI have tried to empty the root /tmp folder but instead to empty it I , as it seems, deleted it with rm -rf /tmp as su. Now SUSE does not start anymore.
1. how to repair that and
2. how to empty the tmp fplder.
I want to schedule my computer daily at 08:00:01 AM.
Describe the method with Kcron or any other software
Got directories dated of 2009 2008, What is the best way to ls the directories, sort them by date, redirect the output to a file and then delete them?
View 14 Replies View RelatedI have a dual boot comp with wins 7 and suse 11.3. There are 3 ntfs drives installed. I can read and write on 2 of them but I on one I cant. I can see the drive bute when I open it, there are no folders showing.The fstab is ok.
View 5 Replies View RelatedJust recently upgraded from SuSE 11.0 to 11.3 and one of the first things I did was to close/deleted the Desktop Folder...!!!
Just a simple slip of my mouse did it! After several days of searching my system and the internet I need your help. Can I restore this folder? If so, how?
im linux newbie and im trying to build a small cluster using suse 11 and run in parallel fortran by using MPI. I ve made all the preperation (network communication, ssh, sharing using samba etc). I can access the pc's through network, either with their IP's or their hostnames.Now i have to define in one pc (master node) a path to a shared folder where all other clusters will have full access. Usually in windows we can do this by using something like \hostnamesharefolder_name. This haven't work in linuxWhen i access the folder from another pc i.e through nautilus the path is smp:/hostname/sharefolder but i can't use such a path because i think don't recognize the smp:/ . Is there any way to define universal paths where the clusters will look for them in the network
View 4 Replies View RelatedToday I try to shared a folder for Windows XP using GUI in OpenSUSE 11.1. I created a folder --> right click and click on Share --> Check on "Share with Samba(Microsoft Windows)", "Public" and "Writable". Then connect from Windows using //192.168.100.1/sharefolder. It open up but I can only read (no write access as I check on "Writable"). Did I miss something?
View 1 Replies View RelatedIt seems to me that the /tmp folder is currently crowded with old stuff. How can I tell CentOS to always automatically delete all /tmp folder content just before shutdown?
View 4 Replies View RelatedIs it possible to have a folder on user A's GroupWise mailbox that user B can access with as much permisions as user A but user B cannot access the rest of user A's mail?
View 2 Replies View RelatedRecently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
View 14 Replies View RelatedI just realized that my /tmp directory is not being cleared at shutdown time. How to enable this? I'm running -current.
View 8 Replies View Relatedi am trying to delete temp files using rm -rf but i am getting this error "bash: /usr/bin/rm: Arg list too long"
View 11 Replies View RelatedI intend to re-install open suse 11.2, 32-bit. On a previous install,suse did not provide a grub entry for ubuntu.My current setup has
ubuntu/root on /dev/sda6
ubuntu/home on /dev/sda7
ubuntu/usr/local on /dev/sda8
[code]...
I've got several language multimedia CD-Rom's, made for Windows 95/98/98 SE and 2000, that I'm using by means of my daughter's old PC (Win 98 SE O.S.). However I noticed, also, that you can perfectly use them even with Windows Vista. What I'd like to know is if you can use them even with Suse/Novell and (why not?) OpenSuse Linux.
View 4 Replies View RelatedOK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is
mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx
please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks
When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory.
View 1 Replies View Relatedhow to install a D-Link Access Point on Suse 11.0 or steer me toward documentation that will do that? I configured the device on XP following instruction from this forum and the AP configured perfectly.The AP is plugged directly into the network port on the computer. It *should* function correctly without a router. I tried a restart and Suse has no idea it's there. The computer is currently configured for a wired connection which needs to be changed. The computer itself is going to be used as a small home storage server.
View 3 Replies View RelatedI have a disturbing problem with my monitor which goes to sleep (or ??) after few minutes if my comp is not used and most of the time I have to restart my comp.I disabled everything in Powersave , but nothing. I did have that problem in previous versions of SUSE, but somehow, I solved that. I cant remember what I did then.
View 4 Replies View RelatedI've pre-partitioned my HDD and want to install 11.2 on the second primary partition.However, when using the installer, I can't get Suse to install on the prepared 20gb partition - it keeps insisting it wants to install on the large unallocated section of the drive.
I find the partitioner somewhat hard to use and the answer may be staring me in the face but I can't see it.
we have 2 linux desktop m/c as server and we use amc n windows as clients....we get more temp files like .AppleDoueble, ":2edstore".i need to remove these temp files periodically with the script. how to write a script to remove these temp files.....
View 8 Replies View RelatedI tried to use different version of Python, and followed the Readme like this
./configure
make
make test
[code]...
PackageKit Error repo-not-available: File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2/' My 11.2 won't update and gives this error. Anyone know how to fix it?
View 2 Replies View RelatedNew Suse 11.3 installation with Gnome desktop. Added K3B using Yast2, and after completing the install of K3B, there is no icon for K3B! Instead there is an "X" and the text for K3B in it.From the main menu -> more applications -> multimedia, is where the K3B icon is.Yast2 is supposed to install any dependencies needed or warn if it can not find any missing dependencies. What is missing, or is it a permission problem? All the other application icons seem fine.
View 4 Replies View RelatedI have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them.Is there some way to make Apache2 delete them after 5 minutes or so?
View 3 Replies View RelatedI have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them. Is there some way to make Apache2 delete them after 5 minutes or so?
View 1 Replies View RelatedThe software use to work well here, but now I got this when I try to run it
sparky: error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory
But I can not find it.
I also tried
cd /usr/lib
ln -s libtk8.4.so libtk.so.0
ln -s libtcl8.4.so libtcl.so.0
but this does not work neither.
I have a shell script that need to create some files:
1) backup files of user passed in file ( that will be written by this shell ).
2) temp files that the shell will create and later delete/remove.
This shell script will be used from my local dir ( I am not a super or a sysadmin ). Users of this shell will call this script to run on their local files in their respective directories. When my script runs, it errors with the following:
cp: cannot create regular file `./listfile.txt.backup': Permission denied
/home/myUser/tools/myShellScript: line 12: listfile.txt: Permission denied
for the temp I was able to avoid this error by creating the temp file in the /tmp directory. All I want is for this shell script to run, create/modify/backup files in user's local dirs.
The user dir has the following permission:
drwxr-xr-x testDir
the file that needs to be backed-up has:
-rw-r--r-- listfile.txt.
I have no idea where the firefox temp files are being downloaded to, but I would like to change the directory to a folder in my home directory.
View 4 Replies View RelatedI am new to Linux and wow, it did not take me long to run into a huge snag. I am running Suse Linux Enterprise 10 on a laptop and by some strange reason the computer froze from overheating and I was forced to shutdown improperly. Once I restarted it booted right to the command prompt when it usually instead boots to the default user. I managed to get gnome running using the "startx gnome" command. But when gnome loads, none of my normal extentions load like my wireless driver, the sound driver, etc. how to restore gnome to automatically load the default user on start up or fix any other damage I might have done? lol
View 3 Replies View Related