LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-14-2012, 01:06 AM   #1
ALWAYZBLESS
LQ Newbie
 
Registered: Jun 2012
Posts: 19

Rep: Reputation: Disabled
Cant delete new folders


Hey all, anytime I download something new or create a new folder it only gives it root access, under my username even logged in as root I am unable to delete it. I have tried everything I can think of but the only thing that will allow me to delete it is "chown username file name" and im sick of typing it in every time I want to delete something, so how can I make all new folders and downloads be able to be deleted while logged in under my username? Thx guys

Last edited by ALWAYZBLESS; 06-14-2012 at 01:08 AM.
 
Old 06-14-2012, 01:19 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Which OS are you using? What command/s you tried? What error/s are you getting?
 
Old 06-14-2012, 01:33 AM   #3
ALWAYZBLESS
LQ Newbie
 
Registered: Jun 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Which OS are you using? What command/s you tried? What error/s are you getting?
Ubuntu 12.04, and im trying to delete it using the GUI and mostly chmod and chown commands with different permissions settings.... the weird thing is all of this workng just fine yesterday and magically now my permissions are all over the place.. any idea on why any new download in terminal has a lock on it and wont let me delete?

ERROR: Unable to trash files, permission denied.

ls-l shows my username as owner of everything except the new directores that are created when I download they are owned by root, so this is only happening when new things are being downloaded through terminal

Last edited by ALWAYZBLESS; 06-14-2012 at 01:42 AM.
 
Old 06-14-2012, 03:40 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Open a terminal and login through 'root' user and then go to the Downloads directory where you have downloaded the data. Then try "rm -rf <file/directory_name>"
 
  


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
How do I delete unwanted folders gael33 Linux - Newbie 4 07-23-2010 01:36 AM
find -exec command to recursively delete files and folders in folders with X name Joan Murt Linux - Newbie 2 07-08-2009 04:35 PM
find -delete folders Meson Linux - General 7 04-16-2008 01:30 PM
Can't delete Folders. duffmckagan SUSE / openSUSE 1 09-19-2005 11:09 AM
Can you delete folders after ./configure ? iLLuSionZ Linux - Newbie 2 11-19-2003 07:39 PM


All times are GMT -5. The time now is 06:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration