Can't delete certain files or folders...how do I change this?
SUSE / openSUSEThis 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.
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.
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?
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
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.
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 (").
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".
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]$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.