Ubuntu :: Safe To Delete Directory With The Source?
Oct 8, 2010
I downloaded the tar file and extract it in my downloads directory. After that I did the compiling and installing as per ReadMe file. Now, is it safe to delete that directory with the source?
View 1 Replies
ADVERTISEMENT
Jun 2, 2009
It is safe to delete /cgi-bin? Will it affect when we serving via the browser?
View 5 Replies
View Related
Nov 8, 2010
i'm running out of partitions, i was thinking if i could get rid of the windows system reserved partition without messing any of my windows 7 OS & the recovering partition. I'm currently using grub2 to boot ubuntu & win 7.
View 6 Replies
View Related
Mar 8, 2011
i read somewhere (I think an article by AlienBob) that you needed to make sure .tgz packages where located in a safe place as opposed to the home directory so as to prevent accidental deletion.
I have a number of .tgz packages that I have already installed and moved to the /bin/ directory for safe keeping, but its not very orderly, ya' know?
Is it safe to delete/rm these .tgz files? Im assuming that the installpkg command extracts the creamy nougat inside and puts it somewhere useful.
Also, even if it is safe to delete, what is best practice in this case? keep them forever in some isolated directory?
View 5 Replies
View Related
Mar 12, 2011
I formatted an old pen drive and noticed that when I deleted files, the free space was not going down. Then I hit Ctrl+h and saw a folder named .Trash-1000. Is this only needed if someone if using Windows or can it be safely deleted?
View 4 Replies
View Related
Jun 25, 2010
I have got him to use ubuntu 10 which he loves but he is skeptical about the software in ubuntu software centre.How can I appease his concerns?Presumably all open source software in the download centre is safe?
View 4 Replies
View Related
Jul 9, 2011
Ubuntu server recently had issues with a disk. fsck seemed to correct everything, but I have one directory that I can't delete, chown, chgrp, chmod, etc.
Here's the listing for the directory
dr-x-wxrwt 2 16709 25134 8192 2020-08-23 22:34 UDLEDATB.DBF
Note the sticky bit is set and the uid is a number that does not appear in /etc/passwd.
Even as root, any attempt to delete, chmod, chown, etc. gives "Operation not permitted".
Since sticky bit on a directory restricts delete to the owner and the owner is invalid, I am stuck. I need to delete this directory.
How can I fix this?
View 4 Replies
View Related
Apr 9, 2010
I'm running CentOS 5.4 in combination with DirectAdmin, and I'm wondering: Is it safe to remove /media and /opt directory?Because those directories /media and /opt are empty.
View 3 Replies
View Related
Jun 8, 2011
upon browsing the home folder in my ubuntu system, i came across a hidden cache folder..
it occupied around 700 mb of space..and im falling short of space..
can i delete the contents in the folder? are they safe to delete?
View 5 Replies
View Related
Apr 4, 2010
I am planning to build a server in future. That will be a computer with GNU. It will be a router and file server. It will get the VPN-Internet and share it with all the PCs connected to LAN. There will be Samba for file sharing. And I'm thinking that if I just share some directory on that server with Samba, it will be possible to get access to that dir from VPN. So it's not very safe to do that. Is it possible to prevent access to Samba dir from VPN connection?
View 7 Replies
View Related
Jun 11, 2011
I have 2 folders that are synced using rsync. Right now if I delete a file in the source folder, the destination folder still retains that file. Is there a way to get rsync to delete files if they were deleting at the source?I could not find anything in the man page.not sure if I'm missing something or if that feature just doesn't exist.
View 4 Replies
View Related
Jan 24, 2010
I'm trying to delete the mythtv directory in my /Home directory. I tried rm and rmdir with sudo but that didn't work and I got an error message that said the directory wasn't empty. Then I tried 'sudo -Rf rmdir mythtv', but I keep getting an invalid option error. -R was for recursive right? Is there someway to remove this directory?
View 7 Replies
View Related
Mar 16, 2010
I removed a user account from my installation of 9.10 however that does not remove the users home directory, which I also want to do. I emptied the directory as as best I can tell, that is ls returns nothing in the directory. However when I run sudo rmdir josephI getrmdir: failed to remove `joseph': Directory not empty
View 8 Replies
View Related
Jun 25, 2011
I have a couple of beginner questions;I have checked out some source code in a directory, not inside the home directory, using: Code:git clone git://git.videolan.org/ffmpeg.git ffmpeg-gitI moved the folder around (was not originally in the right directory), and now would like to delete it and start from scratch. How can I do it without creating issues with git? (I don't see ffmpeg-git in Synaptic)More generally, what is the best way to delete old folders related to obsolete or malfunctioning software, or even unsuccessful attempts at installing software ? Can I do 'delete' in the file manager? or just sudo rm <folder name> ? Or is there hidden issues?Another related question: When manually installing packages not available in Synaptic, for example, from downloaded tar.gz, what is the recommended directory structure. For example, is it better to use, for example: /home/<program name>/source to unpack the source code/home/<program name>/build to build the software?as opposed to using folders in the root directory? Is there a tutorial on the subject of best practice for directory structure?
View 2 Replies
View Related
Mar 7, 2011
I run a server where multiple people can access it via SSH and have access to the same folder. Someone recently decided to stop using my server so I deleted their login account inside the User and Group GUI inside gnome. I accidentally selected delete files owned by this user. I didn't think much of it because the user didn't actually own any of the files since it was shared among all of them. Anyway, ALL the files in that shared home directory vanished, including the home directory. How can I recover this? It didn't move all the files to the root trash or my local user's trash folder. Are the permanently deleted?
View 6 Replies
View Related
Sep 1, 2011
Ubuntu 10.04 lts Desktop suddenly started to delete the mountpoint directory after umount:
mkdir dirsudo mount -t ntfs /dev/sda1 dir... works well ...sudo umount dirdir is gone Another similar unanswered post.
View 4 Replies
View Related
May 15, 2011
I have a FAT32 SD card with a file on it, that, viewed in Windows the filename consists of a long string of nonsense. Viewed in my Android phone's Linux terminal, ls -a shows nothing in the directory. When I try to delete the parent directory with rm -rf deleteme, it fails with "Directory not empty". When I try to delete/move in Windows 7, it says the filename would be too long and/or Explorer crashes. Windows disk check doesn't find anything wrong. How can I delete this?
View 2 Replies
View Related
Jun 17, 2010
I have a USB drive that I boot using SysLinux. I think select one of several options to complete a task. I do not have access to edit those Kernels. I need to add a option from the Syslinux menu where I can delete all the files from a specific directory.
View 3 Replies
View Related
Jun 6, 2010
I have downloaded torrent from some chinese tracker. It has ???? and some other symbol charaters in directory name. How to delete that file and directory?
View 5 Replies
View Related
Jul 23, 2010
I created a directory somewhere with permissions rwxrwxr-x so that other users in my group can create files and directories in it.
I do need to be able to delete the contents in this "public" directory, but it seems that while I am able to remove any files in this directory I cannot remove and subdirectories under it.
Is there a way to remove such subdirectories owned by others under a directory owned by me?
View 3 Replies
View Related
Dec 20, 2010
How to create a directory in samba share in which user can write read files but neither can create more directories tree nor delete any directory.
suppose
[Share]
comment = NRshare
path = /home/share
browseable = yes
[Code].....
I know user cannot delete share directory here. But user can create any number of directories of files in share.
I would like to create directories in share which cannot be added or deleted.
View 2 Replies
View Related
Feb 9, 2010
I know that rm -i will prompt wether you want to delete each file.But rm -i -r will prompt for each file in each subdirectory recursively. How to make it prompt just for the directory itself, and then delete its contents without asking?How to delete all the files in a directory without deleting . and ..?How to recursively delete all tilde files in a directory?How to GUI file managers delete files to Trash? Where is this "Trash" located? Can you delete to trash in the command line?
View 14 Replies
View Related
Dec 4, 2010
Here is how i am isolating the 7 latest files
Code:
ls -ltr | tail -7
is there a way to give that negated list to the rm command? or should i be using the find command with an exec {}?
View 14 Replies
View Related
May 24, 2011
I want to delete a directory '/mnt/me' but got error message like:
Code:
rm: cannot remove `/mnt/me//ASendke/Listen/Status_Mtext.xls': Text file busy
I know this is because this directory is mounted.
How can I unmount this dir so I can delete it?
View 4 Replies
View Related
Jan 17, 2009
I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why.
Now when I try to delete the files from the server so I can start again I get the following error message
Code:
rm -r Single_injections/
rm: cannot remove directory `Single_injections/195320/400mA/010': File exists
rm: cannot remove directory `Single_injections/195320/400mA': File exists
rm: cannot remove directory `Single_injections/195320': File exists
rm: cannot remove directory `Single_injections': File exists
[Code].....
View 6 Replies
View Related
Sep 28, 2010
I wanna delete a directory with its files and I wanna do that as follows: rm -r dirToDelete Unfortunately, I always get asked for EACH single file if I wanna delete this because it is write protected.... Is there a way to suppress this feedback message so that just the whole directory with its contents disappears?
View 5 Replies
View Related
Sep 21, 2010
I need a PHP script to delete a line with certain pattern from all filesin a directory. The Directory contain files with extensions .js,.html and.php. Do any body give a working code snippet to Read all files in a directory with above extension and delete that line from the files.
View 1 Replies
View Related
Apr 9, 2011
Which one is the best open source Directory server ?
View 1 Replies
View Related
Jun 11, 2010
I have a user account on a server that runs debian. I do not have the root or superuser password b/c i am not the local system admin, but I want to install a program (djvu2pdf and djvulibre-tools). I did some searching on the internet and found some useful information, but nothing to really tell me what to do.My question, if it compiled succesfully, did it install? Where am I at in the install process? I want it to put the executable files in my /home/usr_acnt/bin/ folder, how do I do that?
View 2 Replies
View Related
Feb 9, 2010
I want to modify the source of cd (the 'change directory' command) to do a little extra for me, but I can't seem to find the source code anywhere.. maybe I didn't look for it well enough, and googling "source code cd" and variants of that doesn't exactly help... I was wondering if anyone knew where I could find the src?
View 14 Replies
View Related