LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-21-2007, 06:44 PM   #1
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 303

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Can locked files be deleted or removed?


I have a suse 10 os and I have a couple of files that I wish to delete. These files have locks on them. Is there any way to remove them? Thanks!!
 
Old 06-21-2007, 07:59 PM   #2
3point2
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 11.0
Posts: 23

Rep: Reputation: 15
What exactly do you mean when you say they have locks on them? The icon of the file has a lock drawn on it? If so, that means that you (i.e. your regular username) doesn't have permission to delete the files. You need to become the root user, then delete the file. root can do whatever he or she pleases.
 
Old 06-21-2007, 08:29 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The files could have locks on them because you do not own them. If you want to delete them, then you can do so as root. As mentioned above, root can more or less do as he/she pleases, so always be careful when you are logged in as root.

Last edited by reddazz; 06-21-2007 at 08:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! accidently removed files RobHill Linux - General 2 06-01-2007 01:04 PM
removed files from /etc Spartan552 *BSD 8 11-08-2005 07:16 PM
Kernel files removed Zi5 Red Hat 44 05-06-2004 09:56 PM
kernel files removed cbarbot Linux - Newbie 1 04-14-2004 01:05 PM
Removed files-where have they gone!!!???? the_rydster Linux - General 2 11-13-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration