Ubuntu :: How To Delete A Root-restricted Folder

Sep 9, 2010

I backed up my information from 10.4 to an external hard drive before I switched to pinguy using sbackup. Once I installed pinguy, I made sure to download sbackup and hit restore. So far, all fine and dandy, except when it restored my information, it extracted all the information to a new folder in /home, which is root-restricted, so I can't even access it normally. I got annoyed, and just manually extracted the music and documents (which were the only things I really cared about anyway), and now I'd like to delete the 15 or so gigabytes just sitting on my computer, taking up space. The folder being root, I couldn't just drag it to the wastebasket. so I started terminal, entered root, typed rm /home/tmpuWiQlI (the folder in question), only to be told it's a directory and can't delete it! What gives?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Delete A Folder Owned By Root?

Jul 4, 2011

I copied a folder from /media/memory_stick into a folder /opt/openerp/server/bin/addons.
Trying to open the copied folder I discovered that it is impossible because it is owned by root.I should like to delete the copied folder.To avoid this ownership I copied the folder in /home/cristian/Downloads and I will copy it with:sudo cp -R folder_name /opt/openerp/server/bin/addonsMaybe in this way the folder will be not more owned by root.I tried already but because in the destination folder already exist one owned by root nothing is happening.

View 7 Replies View Related

Fedora :: Unable To Delete Folder From Root

Sep 2, 2010

I have a folder "scratchbox" created by a user "hari" (which is cross-compilation toolkit, and creates soft-links if it might ). Now I deleted the user "hari" by using userdel command. I didn't uninstall scratchbox from "hari" account. Now even when i login by root, i am unable to remove the "scratchbox" folder.

[harsh@ubuntu] lsattr -d /scratchbox/
-----------------e- /scratchbox/

I have created new user (harsh) and want to install the "scratchbox" again, but it won't allow.

harsh@ubuntu:~$ sudo rm -rf /scratchbox/
rm: cannot remove `/scratchbox/users/hari/proc/asound/Intel': Operation not permitted
rm: cannot remove `/scratchbox/users/hari/proc/asound/card0/oss_mixer': Operation not permitted

[code]....

View 4 Replies View Related

Fedora Security :: How To Delete Folder Without Root Permission

Apr 23, 2009

I have a system in which I do not have root access to. On that system, I have my own directory which I share with other users. I am trying to clean it up when I noticed that there was a subdirectory created by another users in my group that I cannot delete. It has all the permissions set besides global write. How can I delete this folder without root permission? I can't even chmod or chown it.

View 3 Replies View Related

Fedora :: Allow User To Save/edit/delete Documents In A Folder But Not Delete That Folder?

Sep 6, 2011

Recently 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 Related

Ubuntu :: Folder Wont Delete \ Whenever Try To Press Delete Noting Happens?

May 9, 2010

SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.

View 4 Replies View Related

Ubuntu Servers :: Samba - Access Folder To Delete Or Restore From The Recycle Bin Folder

Apr 24, 2010

I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)

Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?

[Code]///

View 1 Replies View Related

Debian :: Adding New Users Restricted To Root

May 22, 2010

I am running an updated Lenny. Just discovered that as user I am able to add new users via gui:
System > Administration > Users and Groups.
I was under the impression adding new users was restricted to root. Is this is a bug, and if so who do I report this to?

View 1 Replies View Related

Ubuntu :: Hidden Cache Folder In Home Folder - Safe To Delete?

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

Ubuntu :: Delete Remaster Folder From Home Folder?

Jun 13, 2011

I have Ubuntu Jaunty 9.04 updated to 9.10 and have downloaded Remaster from Remastersys. I followed all of the instructions, which were simple enough. However, there must be some instructions missing as the process failed. Working with Remaster through Synaptic Manager, the iso was downloaded into my "home" folder into its own Remaster folder. It was not the iso, like you get when downloading a distro from the Internet, which downloads just an iso onto the Desktop. Inside the folder were a bunch of empty files (I know, because I opened them) and an iso . At this point the Remaster instruction stop. They do not say what to do with the other files, or what they have to do with the iso of my Ubuntu layout. So, like any other iso (once I knew which one was the iso of my setup), I double clicked on it and it ran me through the process of accessing the DVD to burn it. Which I did. I tested it and it failed with some kind of message to the effect that certain files were missing or it could not read it. So, I thought, I would have to do the 'hunt and peck' method and experiment a few times like I did with the ordinary distro downloads until I get it right. But first, I would have to dump the Remaster folder in the "home" folder since it took up so much space on my hard drive. Wrong! I come to find out it is in something called "root" and that I do not have permission to do anything with it but "copy" it. Great. Just great! Now what do I do. I tried to change permissions, but was not allowed to do that either. The only thing I could think of - and dread - was the idea of having to wipe my hard drive and go through the whole reinstall procedures, which takes me days, just because Remaster has locked itself into my system - and there is no 'back door' to get out of it.

View 9 Replies View Related

OpenSUSE :: Setup Private Git Repository With Restricted Rights On Server Without Root Access?

May 15, 2011

a friend of mine is doing a small website-project in school (group of ~6 people). They want to use git as VCS and need acces to a server. I have an account on the server from university, but - of course - no root access.

I could create private/public keys for them, to SSH into my account, but I don't want them to have this power I found 'git-shell', which seems to be used for restricted access with git (although I'm not sure whether I understood the functionality).

My question is: Is it possible to configure SSH keys in that way, that the server runs them (and only them) in git-shell in a specified directory (using ~/.ssh/{config,authorized_keys})?

So that they can
- log in with their SSH key
- use git, execute scripts etc.
- use git push/pull from their private+school PC
- work only in a specific directory (like chroot) eg. ~/web-project/

[Code]...

View 2 Replies View Related

Ubuntu :: Unable To Delete The Folder

Jan 8, 2010

I have a Windows Network folder in my places under Network and it will not delete. How can i delete this?

View 1 Replies View Related

Ubuntu One :: Delete A Top Level Folder?

Jun 19, 2010

I'm using my free 2Gb of Ubuntu One space to back up some stuff and synch files between a laptop and desktop.

I synched a folder ok to try it out. Then I used the FAQ at

[URL]

to manually unsynchronise the folder as the right click option was greyed out.

But now I want to delete that folder from Ubuntu One using the Web site. The 'top level' folder does not have a 'delete' option. I've deleted everything under it but just want to get rid of the husk.

View 1 Replies View Related

Ubuntu :: Cannot Delete Folder - Not Found?

Aug 19, 2010

I've got a folder on my disk that I simply cannot interact with at all. It was created while extracting an archive. It has a special character in its name: "�". But all those other characters work fine. Can anyone give me a hint on how to delete the folder?Tried in terminal with rm -r which gives me an error:Code:rm: cannot remove `03 - Und die unertr_glichen Schmuggler/': No such file or directory

View 1 Replies View Related

Ubuntu :: Can't Delete A Folder - Permissions ?

Sep 24, 2010

I have a 500GB iomega portable HD. I used Gparted to split the drive into two partitions, a fat32 of roughly 400GB and an EXT4 partition of roughly 100GB.

On my EXT4 partition, there is a folder called lost+found. I can't delete it because I need to be root, yet my account has administrator priviliges (but I CAN rename the folder). I can't create other folders on this partition, nor can I copy-paste and files on there either.

Basically, that partition is unuseable. In the properties of the folder, it says that I am not the owner so I cannot change the permissions. (It is definitely MY hard drive)
All options are greyed out.

How do I give myself permission to use this EXT4 partition?

View 8 Replies View Related

Ubuntu One :: Can't Delete Folder - Does Not Exist?

Nov 14, 2010

I accidently selected the wrong folder to sync with ubuntu one. It has now added .u1conflict to all my files (around 8000 of them ) and now I can't stop the folder syncing. I've followed these instructions This just returns an error:

Code:
FolderDeleteError: DOES_NOT_EXIST (subscribed=, suggested_path=~/Music, generation=,
node_id=dc8be355-c4dc-4111-9650-b4744aeae2a4, volume_id=1897e926-212b-424e-87ee-

[code]....

View 4 Replies View Related

Ubuntu Installation :: Delete Folder Under C?

Feb 28, 2011

I am a newbie to ubuntu. I just have a simple question: I used wubi to install ubuntu and the installation procedure was perfect. One problem arose after installation, the c:/ubuntu becomes almost 30G! Can I delete it?

View 7 Replies View Related

Ubuntu :: Delete Folder From Windows?

May 19, 2011

I installed a program in /usr/share on Ubuntu 10.04, but the program was actually bigger than there was room on that partition. It gave me some trouble, because when I tried to delete the folder, it said it couldn't move it to the Trash. When I restarted, it won't let me log in Ubuntu again...

Is it possible to delete this folder (/usr/share/IDE_SE) from Windows? or some other workaround to delete this folder in Ubuntu?

View 5 Replies View Related

Ubuntu :: Delete Files That Aren't On Another Folder

Feb 5, 2010

I've been organizing my pictures (i.e. deleting the bad ones). However, I've recently got hold of those same pictures on a higher resolution and I'd like to delete the same pictures of the higher resolutions.This means that I'll have two folders, High Res and Low Res. I'd go through all files in the High Res folder and I'll check if there's a file with the same name in the Low Res folder. If there is, the file in the High Res folder will be kept. Otherwise, I'll delete it.So I wanted some quick way to delete PIC1.JPG, PIC3.JPG and PIC4.JPG from the High Res folder.

View 9 Replies View Related

Ubuntu :: Can't Delete Templates - Sent Folder In Evolution

Jul 29, 2010

A friend running Evolution on Ubuntu 9.10 lost her "Sent" folder. I soon discovered that she must have accidentally dragged it to "Templates", because inside that folder was another "Sent" folder containing all her sent e-mails. The main "Sent" folder was still there, but empty.

I moved all her sent e-mails back to the main "Sent" folder, and then tried to delete Templates-Sent, but Evolution just says it can't do that.

View 4 Replies View Related

Ubuntu :: Cannot Delete Or Empty .Trash-1000 Folder?

May 5, 2010

Straight to the problem on my [Ubuntu 9.10].I cannot delete or empty my .Trash-1000 folder on my flash drive. I tried changing permission with chmod but no way, I cannot empty the folder via the Ubuntu main trash option 'Empty Trash'. I read a bunch of threads but no way.Do you know a solution that works to this problem?Even further. Do you know a way to tell nautilus to avoid using that folder in my USB devices and use instead the normal trash folder on my system?

View 5 Replies View Related

Ubuntu :: Delete Desktop Folder Without Deleting Contents

Oct 7, 2010

Im assuming there is a simple answer for this but I have yet to find it in forums. I have 2 partitions mounted on my ubuntu desktop, one is Windows C: drive labeled "Core" and the other is D: drive labeled "Reserve" but for some reason I have a second Windows folder on my desktop, when I attempted to delete it it began to delete the Windows files as well, one forum said to right click and "remove from desktop" but this option isnt in the menu. How can I just delete the folder?

View 2 Replies View Related

Ubuntu :: Create A Folder Where You Can Copy Files To But You Can't Delete Them After?

Nov 24, 2010

i'm confronting atm. I need to create a folder where ppl can copy files and i need to be sure that those files cannot be deleted after they are copied there. The folder will be accessed over network, and i need to be sure no one will delete somebody else's files.Also i need to tell you that i'm working with regular users, so creating a folder for each user and chown/chmod-ing it won't do the trick(allready tried and ended up with a whole lot of files in the parent directory).I also tried chattr +a but that doesn't allow them to write new files in the folder.

View 2 Replies View Related

Ubuntu Multimedia :: Delete Duplicate Photos From A Folder?

Apr 22, 2011

Is there any way to delete duplicate photos from a folder? Not the names are duplicated , but de photos inside.

View 1 Replies View Related

Ubuntu :: Unable To Delete Folder (.fuse_hidden* File)?

May 30, 2011

I am running the latest version of Ubuntu (Ubuntu 11.04) which i setup as a dual boot OS with Windows XP SP3. I was listening to my MP3s using the Banshee music player on Ubuntu. My MP3s reside on an NTFS drive (which I mounted in Ubuntu to hear the MP3s). Via the Banshee player I deleted all songs from a particular folder and thought nothing of it until I later booted into Windows.

I saw the folder that had the songs I had deleted the songs and and thought I'd delete the folder as well except that I couldn't. It said the file might be corrupted. I logged backed into Ubuntu (Windows XP was shutdown not hibernated as I remember hearing that on Hibernating, you can't properly delete/copy files on Windows partitions). In Ubuntu too, I wasn't able to delete this folder - either via the Folder explorer or via terminal. I see a file named ".fuse_hidden0000041b00000017" along with some other files I had deleted (in Turquoise colour). I didn't see any posts in this forum with a help on resolving this issue

View 2 Replies View Related

Ubuntu :: Protect A File Or Folder From Unauthorized Delete?

Aug 13, 2011

How can I protect a file or folder from unauthorized delete.

View 9 Replies View Related

General :: Cannot Delete A Very Large Folder?

Oct 3, 2009

I have accidentally created a very large folder that contains probably more than a million files. I have tried to delete it using all of these methods:(1) rm -rf myfolder/(2) Using midnight commander trying to delete the folder(3) find myfolder/ -type f | while read -r; do rm -v "$REPLY"; sleep 0.2; done(4) find myfolder/ -type f -print0 | xargs -0 rm -fThe find command would give an out of memory error, and other methods would just freeze the computer. I knew a few of the file names, but even if I tried to do ls myfolder/filename0, it hangs.

View 4 Replies View Related

General :: Function To Delete A Folder?

Dec 23, 2010

Is there any function to delete a folder which has few files in it ?I tried rimdir() bit it can only delete empty folders; unlink() can not delete directory entries. any other function ?

View 7 Replies View Related

Programming :: Delete Folder Not Empty C++?

Dec 5, 2009

I'm using rmdir(), and everything goes ok if the directory is empty, ?how can I remove the entire tree when i have other files or directories in the folder that I want to delete?I've read about using "system(rm....)" but i REALLY want to do this without it, is it possible?

View 4 Replies View Related

General :: Ubuntu Server - Restrict User To Delete One Folder

Jun 24, 2011

I want to limit delete of a particular folder in the user's home folder and to restrict any add/change/delete on files in that restricted directory.
/home/myuser
/home/myuser/_protected //no delete
/home/myuser/_protected/1.txt //only read
How can I do that on Ubuntu server?

View 1 Replies View Related







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