LinuxQuestions.org
Visit Jeremy's Blog.
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 02-28-2006, 05:39 AM   #1
xsithlordx
Member
 
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39

Rep: Reputation: 15
Question Can't delete certain files or folders...how do I change this?


I have a few files and folders that are simply taking up space on my machine. I have tried to delelte them but I'm getting an access denied error. I even logged in as root but still nothing happened. Can some kind soul explain whats happening,why and how I can remedy this problem?

thanks in advance
 
Old 02-28-2006, 05:50 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Please give an example. The file may be in use or the filesystem may be read-only (e.g. NTFS).
 
Old 02-28-2006, 01:40 PM   #3
xsithlordx
Member
 
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
An example? When I go into Konqueor to locate a file or folder, right click it to send it to the the trash and get an access denied! The files ARE NOT in use, they are music and movie folders. though they are currently being shared on my network, I suggges this could be he problem, but all of the properties are greyed out with no options to unshare them or even change the permissions. Some of these are DVD ISO images and they are taking up gigs of space. i hope this information was useful
 
Old 02-28-2006, 05:05 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I think he was asking where the files reside and we also need to know whether the user that is trying to delete them has full read/write/modify rights to the folder.
 
Old 03-02-2006, 02:13 PM   #5
xsithlordx
Member
 
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
Some files reside in my home folder/music folder the other is on my desktop...
 
Old 03-02-2006, 03:19 PM   #6
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
I think it would make it clearer for everyone if you went to your Konsole and pasted the following here:

mount

ls -l <your path>
example: ls -l /home/name or /windows/d or whatever. This shows us your permissions on files in the folder you put.
 
Old 03-02-2006, 04:47 PM   #7
xsithlordx
Member
 
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
cam@linux:~> ls -l /home/cam/MUSIC
total 246655
-r-xr-xr-x 1 cam users 3684856 2004-09-12 06:47 02+Aaliyah+-+Loose+Rap.mp3
-rw-r--r-- 1 cam users 3453031 2006-01-26 16:52 [02] - [adventures in the land of music].mp3
-rw-r--r-- 1 cam users 7101141 2006-01-19 14:15 02 - T.H.U.G. feat. Tragedy Khadafi.mp3
-rw-r--r-- 1 cam users 7925760 2006-01-19 10:30 [09] boogie down productions - super hoe.mp3
-rw-r--r-- 1 cam users 8455318 2006-01-19 13:05 09 - super-hoe.mp3
-rw-r--r-- 1 cam users 98391058 2006-02-18 01:21 36mafia_MKUK.rar
drwxr-xr-x 2 cam users 1016 2005-09-28 06:12 6 Feet Deep
drwxr-xr-x 2 cam users 864 2006-02-06 18:28 against all odds
-rwxrw-rw- 1 nobody nobody 3758764 2006-02-20 12:14 A Lil Story.mp3
-rw-r--r-- 1 cam users 6465664 2006-01-26 06:50 Angela Winbush - You Don't Have to Cry.mp3
drwxr-xr-x 4 nobody nobody 96 2006-01-25 18:29 Banned From The Bible
drwxr-xr-x 3 cam users 128 2006-02-22 16:22 Beneth the surface
-rw-r--r-- 1 cam users 3899014 2006-01-26 06:41 Billy Ocean - Carribean Queen.mp3
-rw-r--r-- 1 cam users 75649966 2006-02-20 22:46 blue raspberry-out of the blue.rar
drwxr-xr-x 45 cam users 2136 2006-02-15 13:58 cam
-rw-r--r-- 1 cam users 12117163 2006-01-18 22:52 camron-jay-z-i_m_not_a_writer.mp3
drwxr-xr-x 2 cam users 1136 2006-01-19 03:04 Cormega_-_Hustler_Rapper_Mixtape
-rw-r--r-- 1 cam users 3732594 2006-02-20 23:44 deck.rar
drwxr-xr-x 2 cam users 776 2006-01-08 03:52 DJ MUGGS VS GZAGENIUS GRANDMASTERS
drwxr-xr-x 2 cam users 960 2006-01-06 17:38 GZA - Liquid Swords
drwxr-xr-x 3 cam users 136 2006-02-21 18:00 IRONMAN
drwxr-xr-x 2 cam users 1696 2005-10-18 18:03 Method Man - Tical 2000 Judgement Day (1998)
-rw-r--r-- 1 cam users 6394652 2006-02-04 06:52 Norman Connors - You Are My Starship.mp3
drwxr-xr-x 2 nobody nobody 544 2006-01-26 08:29 Notorious B.I.G. - Ready to Die (Instrumental)
drwxr-xr-x 9 nobody nobody 608 2006-01-29 02:56 OFFICE XP SUITE
drwxr-xr-x 2 cam users 1320 2006-02-03 12:14 Ol_Dirty_Bastard-A_Son_Unique-Advance-2006-FTD_INT
-rw-r--r-- 1 cam users 4605855 2006-01-19 03:32 patrice rushenl - 05. where there is love.mp3
drwxr-xr-x 2 cam users 688 2006-01-19 03:10 PORTISHEAD
drwxr-xr-x 3 nobody nobody 128 2006-01-26 08:28 rza presents harlem 6-
drwxr-xr-x 3 cam users 96 2006-02-16 23:17 Sean Price
drwxr-xr-x 2 nobody nobody 640 2006-02-17 19:34 Streetlife
-rw-r--r-- 1 cam users 427442 2006-02-16 21:48 strike a match on a dollar trick_.wmv
-rw-r--r-- 1 cam users 6221824 2006-01-27 22:58 trag_trueconfessions.mp3
drwxr-xr-x 2 cam users 272 2006-01-28 13:34 Unbreakable-Bruce_Willis-Xvid-ENG
drwxr-xr-x 2 nobody nobody 1048 2006-01-26 08:28 Undadogz_INS_CARLTON FISK
drwxr-xr-x 2 cam users 2400 2006-02-28 05:35 XP 9in1
cam@linux:~> /home/cam/MUSIC
 
Old 03-04-2006, 08:34 AM   #8
xsithlordx
Member
 
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
anyone got any insight?
 
Old 03-04-2006, 10:08 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
From you listing above, I could imagine that there is a problem with the codetable. Maybe some characters are not recognised. You could try to set the filename in quotation marks (").
 
Old 03-04-2006, 05:07 PM   #10
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
So what files are you trying to delete? And what commands are you using to delete them? Can you show us the error it outputs? Also, show us "ls -dl /home/cam/MUSIC".
 
Old 03-05-2006, 11:32 PM   #11
kenwoodman
LQ Newbie
 
Registered: Feb 2006
Location: Wisconsin
Distribution: SuSE, Ubuntu, Fedora
Posts: 6

Rep: Reputation: 0
I have a similar problem trying to delete and or change a file that I can't, although I don't have a problem doing it as root...

I am using Fedora 4. I have only 2 users on my system so far, root, and wolf. I do not like to log in as root unless I have to, so I always log in as wolf, and either use a root console, or SU to perform tasks needing root access. I am doing a lot of work on a Samba server right now, and the smb.conf file needs root permission to be modified. I made a copy that I stored in my home directory to edit, but each time I need to copy it over the working file, I have to do this as root.

I added a group to my system called admin with the intent of using this for system administrators other than root. Wolf is currently the only member. I then went to the /etc/samba directory and changed the group ownership of the smb.conf files to admin as shown below. I also set user wolf's primary group to admin. The permissions look right to me, but user wolf can not edit or delete the smb.conf files... I tried to delete the backup file and edit the working smb.conf file and was denied both.

I am not sure what I am doing wrong. I thought that security changes took effect immediately, but when it did not work properly, I rebooted just in case. Still won't go. Please let me know what I might be missing here. I am still pretty new to Linux. Any help you could provide would be greatly appreciated.

Thanks.

ls -l listing for /etc/samba directory:
drwxr-xr-x 2 root root 4096 Mar 5 17:10 samba

[wolf@fedora samba]$ pwd
/etc/samba
[wolf@fedora samba]$ ls -l
total 52
-rw-r--r-- 1 root root 20 May 2 2005 lmhosts
-rw------- 1 root root 8192 Feb 12 18:20 secrets.tdb
-rw-rw---- 1 root admin 784 Mar 5 17:13 smb.conf
-rw-rw---- 1 root admin 2008 Feb 23 19:43 smb.conf~
-rw------- 1 root root 308 Mar 5 16:04 smbpasswd
-rw-r--r-- 1 root root 109 Feb 12 23:38 smbusers
[wolf@fedora samba]$
 
  


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
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 07:14 AM
Can't delete Folders. duffmckagan SUSE / openSUSE 1 09-19-2005 12:09 PM
HELP: can't delete files/folders :( kevingpo General 1 12-07-2004 08:51 PM
Delete old files and folders Script? AsteX Linux - General 4 11-11-2004 07:26 PM
Am I able to delete folders after install? SuSE_Surfer Linux - General 6 10-18-2003 12:41 AM

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

All times are GMT -5. The time now is 12:22 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