LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2004, 10:22 AM   #1
nofear
LQ Newbie
 
Registered: Mar 2004
Location: cW
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
Angry problem with trash.. and some files


ok.. i'm new on linux.. i have installed and configured psybnc on my desktop. then i have moved psybnc folder to /home/nofear/psybnc and i wanted to delete the existing on on desktop.. but some files were unable to delete.. it says.. acces to /bla/bla/bla is not permitted.. so i clicked.. jump all.. ("Preskoci Vse" in slovenian language).. and now i wonder how to delete this files? i tryed chmod 707 psybnc .. and second problem.. it's the same.. i can delete the folder.. but.. i can't recycle my trash.. it says.. acces to .. is not permitted.. and so i can delete my files in trash.. can anyone help me?
 
Old 03-15-2004, 11:59 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You probably have a problem with permissions. From console do to one level higher than you have the permission problem, use su to become root and then run
chown -R nofear.nofear directory
It'll change owner of all files in the directory to 'nofear'. Then you should be able t delete them.
 
Old 03-15-2004, 12:06 PM   #3
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
What I do when this happens is the following:
1) Open a konsole and login as root (type su)
2) Goto ~/Desktop/Trash/
3) Once in there type rm -rf *. Which means "remove -recursively forcedly all files and folders
4) Done.
 
Old 03-15-2004, 04:10 PM   #4
nofear
LQ Newbie
 
Registered: Mar 2004
Location: cW
Distribution: Mandrake 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
ok i tryed both.. first..
[root@nofear Smeti]# chrow -R nofear /home/nofear/Desktop
bash: chrow: command not found
[root@nofear Smeti]#
doesn't work.. (i have mandrake linux 9.2)

and second..
[root@nofear Smeti]# rm -rf *.
[root@nofear Smeti]# rm -rf
nothing.. files are stile in trash.. :\
 
Old 03-15-2004, 04:11 PM   #5
nofear
LQ Newbie
 
Registered: Mar 2004
Location: cW
Distribution: Mandrake 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
hehe ups.. i tryed again without . and worked.. thanks a lot but i still need to sole the first problem..
 
Old 03-15-2004, 04:19 PM   #6
nofear
LQ Newbie
 
Registered: Mar 2004
Location: cW
Distribution: Mandrake 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
ok, i figured out the first one to.. i typed "rm -rf psybnc" and it was deleted.. thanks you guys ! ya r0x (the best page for newbies and other peoples..)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Restoring files from the trash (cmd line) mtoneil Linux - General 1 09-02-2005 10:32 PM
making a script that will move a file or files in a trash folder Paxmaster Programming 5 12-12-2004 07:00 PM
How to make deleted files auto go to trash bin? subaruwrx Slackware 1 07-24-2004 11:10 AM
Files still appear after moved to trash~ xhunter Linux - General 3 10-11-2003 10:33 AM
How to make sure deleted files are put into trash can so that I can undelete them. futurist Linux - General 4 03-20-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:42 AM.

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