Fedora :: How To Delete A Root Protected File

Nov 22, 2010

Sorry to sound like a newbie dope but I somehow extracted a folder to the desktop and can't delete it because it says I don't have permission to read it. How can I delete this folder?

View 4 Replies


ADVERTISEMENT

General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies View Related

General :: Delete Protected Directory In Samba?

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

Fedora :: File Gets Password Protected?

Mar 22, 2010

This is sort of a weird question.'m helping an agency develop a Microsoft Access database. They use windows and I use Fedora. I can run Access in Crossover Office if I don't get too fancy.I've sent what I've done to them for their review and comments and somehow it has become password protected. I've checked the Access settings and their is no password set from Access. I've tried a chmod666 on the file and sent it to him again and he says it is still calling for a password

View 2 Replies View Related

General :: Delete Protected Windows Executable Files Via System?

Oct 26, 2009

I use Ubuntu 9.04 exclusively on my own machines, but I have a couple of flash drives that got infected by some corrupt windows executable (*.exe) files, probably by somebody's trojan (they are Cruzer 4GB so came with installed fancy programs that I dont need but didnt remove and Windows keeps installing unwanted ini files and other trash every time I use them in somebody elses machine or in an internet cafe). I deleted quite a few files, but some are stubborn.
$ sudo chmod +w-X doesnt seem to work. How do I unprotect and remove them? The filesystem is vFAT.

I suspect the files were created by some kind of a trojan as my work requires my flash to be pretty promiscuous.
When I 've backed up all the good files I need, I'd be happy to reformat the flash drives as straight vanilla data storage and retrieval, provided I can still use them on a variety of machines running MS windows as well as on my Linux machines. Any guidance on reformatting?

View 2 Replies View Related

General :: Restrict Root User To Delete A File Or Directories?

Jan 20, 2011

is there any way so that we can restrict root to delete a file/directories and What is extended file attributes.

View 12 Replies View Related

Ubuntu :: How To Cut And Paste To Root-protected Folder

Nov 25, 2010

I have some great background wallpapers i have downloaded to my home folder, now i want to place these images in Usr/Share/Background. How do i do that i just cannot cut and paste it there?Do i have to open up a terminal and login as root? I did that but still not working, or do i have to do all this by terminal-commands?

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

Programming :: Displaying The Contents Of Buffers In A Protected And Non-protected Critical Section?

Nov 19, 2010

I have this project for my operating systems class and I have put together the basic flow chart to aid me in writing the program. I know how to use pipes as a buffer to hold info. I know how to create a binary semaphore. But what I dont know is this:

How to "use a delay adjustment parameter K in the critical section to adjust the speed of the display process to show that without semaphore protection the displayed contents of the buffer are randomly interleaved."

First off, I am definitely not asking anyone to give me the solution. But I do need some guidance. So I figure there will be an if statement with two options:

1. If true, use semaphore protection to enter/exit critical section

2. If false, no semaphore protection -- this is where the contents of the buffer should be interleaved.

Now does that mean that as each child process enters the non-protected critical section, it should "sleep" for a randomized time? I mean, will this allow my output to be interleaved?

So lets say my command line looks like this:

what happens to the 100? Is it randomized using rand and srand and passed as a parameter to sleep() inside the critcal section?

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

General :: 'su ' Error "No Such File Or Directory I Cannot Delete That Entry From /etc/passwd As I Cannot Login As Root"

May 15, 2010

[Code]....

Password: su: /bin/bash:/sbin: No such file or directory i cannot delete that entry from /etc/passwd as i cannot login as root.

View 11 Replies View Related

Red Hat / Fedora :: Edit A Text File To Delete All Commas In The File?

Jan 4, 2011

i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.

View 2 Replies View Related

Red Hat / Fedora :: Root Line Passwd File Now Unable To Login As Root?

Jan 26, 2010

I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"

View 3 Replies View Related

Fedora :: Root File Permission Accidentally Changed Root To 700

Mar 24, 2010

the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.

I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible

View 4 Replies View Related

Software :: Unlock Protected Pdf File?

Jun 10, 2010

I was trying to edit a pdf file using software 'pdfedit' but I could not do so because the file was protected .So how could I unlock it

View 9 Replies View Related

General :: Create A Password Protected Tar File?

Jun 8, 2010

how to create password protected tar file ?

View 3 Replies View Related

Ubuntu :: Password Protected .doc File; Only Opens As Read Only?

Nov 30, 2010

I created a password-protected .doc file in Windows yesterday using the latest version of OpenOffice (3.2.1)Opening the file worked perfectly; double-clicked the file, OpenOffice popped up and prompted me for the password, then it let me edit the document as usual.Tried it on another computer with Microsoft Word; worked perfectly as wellFor some reason though, it won't work in Ubuntu (10.10). I'll double-click the file, it'll open with OpenOffice and prompt me for the password, but once it opens it's in "Read Only" mode.I tried it on another Windows computer, just to see if it would work, and it did.I right-clicked the .doc file and looked at the permissions: (picture edited for privacy)Every time I tried changing it from "Read-only" to "Read and write" it automatically (and immediately) switched back to "Read-only"

View 6 Replies View Related

Ubuntu :: Open Rar File Which Has Password Protected Files In It

Jun 12, 2011

i have a rar file. it has a file with password. when i tried to extract it failed because it has a password protected file. how to do it

View 2 Replies View Related

Ubuntu :: Delete File - No Right Click Delete Option?

Feb 18, 2010

Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?

View 6 Replies View Related

Fedora :: Unable To Delete File

Aug 12, 2010

I am not able to delete any file. I am seeing following error when i am trying to delete. "The trash has reached its maximum size! Cleanup the trash manually.".

But Trash is already empty and the file i am trying to delete is only 28bytes.
the folders '~/.local/share/Trash/files' and '~/.local/share/Trash/info' are also empty and there permissions are also correct. file manager is dolphin.

i saw this problem happening after firefox crashed.

I found a file ~/.local/share/Trash/metadata with following content- [Cached] Size=18446744068999530549

After setting SIze=0, i am able to delete files.

View 3 Replies View Related

Red Hat / Fedora :: Delete The First Line Of Log File ?

Mar 3, 2010

I have a log file /var/log/messages. Now all i want is to delete the first line through script without disturbing provisioning the file.

View 1 Replies View Related

Ubuntu :: File-Sync With Unison To A Password-protected Share?

May 11, 2011

Been thinking about a new backup-strategy for my family and me. In our house is an Ubuntu Server (10.10) and NAS (Zyxel NSA210). Now I thought I'd create a Cron Tab entry on all machines which will sync specific folders automatically to either the NAS or a specific backup drive in the server. So now the question is: "How do I do that without seriously compromising each family members privacy by making their backed up files available to everyone in the house?" So in essence I'd like to sync/back up the files to a password protected share for each family member. But this process should still be done automatically every few minutes or so without them having to enter any password at all as their specific password is stored locally.

View 1 Replies View Related

Red Hat / Fedora :: Unable To Delete Nippy File

Mar 26, 2009

Somehow I managed to create a file in /some/dir/ called "-v". How can I remove it? I've tried various and many methods... rm, rm *v, moving all files except that one and then issuing rm -rf but the problem is the -v file is being taken for a switch.

View 4 Replies View Related

General :: Change What Windows XP Considers To Be A 'protected Operating System File'?

Apr 1, 2011

At work I'm using a windows box with local and network drives. One of drives I have mapped is my Linux home directory (We have separate windows and linux accounts and home directories here). When I view it from windows, all of the files and folders beginning with . are shown, as would be expected. (Although . and .. aren't in any folder)

Just wondering if there is a way to tell windows to not show anything starting with a dot. I was hoping there's a registry entry or something that defines what a 'protected operating system file' is, so I could put dot files in the same category as thumbs.db etc.

View 1 Replies View Related

Fedora Servers :: Cannot Delete Directory 'foo': File Exists

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

Fedora :: Xfce Icon - Delete / Remove File System?

Mar 17, 2011

I am using F14 Xfce and i have installed awn so i do not need my desktop icons anymore, ie home,bin and file system, is there any way to delete/remove them? i have installed gconf-editor and unchecked them in apps-->nautilus-->desktop, but they are still there?

View 2 Replies View Related

Red Hat / Fedora :: Delete The KVM Created Hard Disk Image File?

Feb 22, 2011

I want to delete the KVM created hard disk image file, so I would like to know where it is located .

View 6 Replies View Related

Red Hat / Fedora :: Edit /etc/sysconfig/iptables And Create/delete Rules Inside That File?

Sep 9, 2010

can i actually edit /etc/sysconfig/iptables and create/delete rules inside that file?will it work? i just find using the IPTABLES -A or -D command a hassle

View 3 Replies View Related

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

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







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