Cannot delete readonly directories and files.
Partitioned and added a new usb drive. Applications were writing directories and files that were read-only and could not be deleted. Reformatting worked until applications added files.
Finally, I used Manage Disk Partitions to unmount the drive. I then selected expert mode and options. I changed the options to: NOSUID, USER, NOEXEC, NODEV; saved and remounted. I was then able delete any file or directory.
Original fstab entry:
# Entry for /dev/sdc1 :
UUID=52b0773b-97c4-41f0-ab61-f0a28f41d224 /usb40 ext4 user,noatime,user_xattr 0 0
After fstab entry:
# Entry for /dev/sdc1 :
UUID=52b0773b-97c4-41f0-ab61-f0a28f41d224 /usb40 ext4 user 0 0
I will be a little more careful partitioning and setting options for new drives.
I am sure there are other application/security situations this will not help, but it took care of my problem.
JDCoder
Last edited by JDCoder; 02-23-2011 at 08:53 PM.
|