SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-28-2006, 05:39 AM
|
#1
|
Member
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39
Rep:
|
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
|
|
|
02-28-2006, 05:50 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Please give an example. The file may be in use or the filesystem may be read-only (e.g. NTFS).
|
|
|
02-28-2006, 01:40 PM
|
#3
|
Member
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39
Original Poster
Rep:
|
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
|
|
|
02-28-2006, 05:05 PM
|
#4
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
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.
|
|
|
03-02-2006, 02:13 PM
|
#5
|
Member
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39
Original Poster
Rep:
|
Some files reside in my home folder/music folder the other is on my desktop...
|
|
|
03-02-2006, 03:19 PM
|
#6
|
Member
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377
Rep:
|
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.
|
|
|
03-02-2006, 04:47 PM
|
#7
|
Member
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39
Original Poster
Rep:
|
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
|
|
|
03-04-2006, 08:34 AM
|
#8
|
Member
Registered: Oct 2005
Location: NYC
Distribution: SUSE 10, but wanna try Fedora Core 4
Posts: 39
Original Poster
Rep:
|
anyone got any insight?
|
|
|
03-04-2006, 10:08 AM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
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 (").
|
|
|
03-04-2006, 05:07 PM
|
#10
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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".
|
|
|
03-05-2006, 11:32 PM
|
#11
|
LQ Newbie
Registered: Feb 2006
Location: Wisconsin
Distribution: SuSE, Ubuntu, Fedora
Posts: 6
Rep:
|
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]$
|
|
|
All times are GMT -5. The time now is 12:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|