[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I delete a file in Mate?



PS: the file should be owned by the user who tries to delete it
if the directory where it is stored has the sticky bit set. This
is generally the case for the /tmp directory.

Didier

Le 06/06/2020 à 21:49, Didier Spaier a écrit :
> Hello John.
> 
> To delete a file in Caja if it has the focus, indeed use the del key.
> 
> But this can fail in two cases:
> 1. This file can't be deleted as it has the "i" (meaning immutable)
>    attribute, as indicated in "man chattr"
> 2. The user running caja does not have the "write" privilege for the
>    directory where the file is located. However, that the file itself be
>    or not owned by the user who tries to delete it doesn't matter.
> 
> 1. Is unlikely, but 2 is likely in your case.
> 
> Yes Mate does have the equivalent of the recycle bin. Its usage can be
> set in the Edit > Preferences menu of Caja. Also, you can display a Help
> window for Caja when it has the focus just pressing F1, if your
> distribution ships mate-help.
> 
> Cheers,
> Didier
> 
> Le 06/06/2020 à 17:11, John J. Boyer a écrit :
>> What I want to know is how I can delete a file within caja. Does Mate have the equivalent of the Recycle Bin?
>>
>> Thanks,
>> John
>>
>> On Sat, Jun 06, 2020 at 09:03:53AM -0400, D.J.J. Ring, Jr. wrote:
>>> Are you the owner of the file? If it's not your file you cannot delete it.
>>>
>>> If that's the case open terminal and ls -l to see who owns the file and
>>> which group. See if the owner had write permission on the file. If not you
>>> have to chmod 644 the file with the root account to give owner read and
>>> write permission.
>>>
>>> sudo chmod 644 "file name"
>>>
>>> Where  "file name" is the actual file name but no quotation marks.
>>>
>>>
>>> Best regards,
>>>
>>> David
>>>
>>> On Sat, Jun 6, 2020, 08:53 John J. Boyer <john.boyer@abilitiessoft.org>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I can select a file in caja, but when I press the delete key nothing
>>>> happens. What works?
>>>>
>>>> Thanks,
>>>> John
>>>>
>>>> --
>>>> John J. Boyer
>>>> Email: john.boyer@abilitiessoft.org
>>>> website: http://www.abilitiessoft.org
>>>> Status: Company dissolved but website and email addresses  live.
>>>> Location: Madison, Wisconsin, USA
>>>> Mission: developing assistive technology software and providing STEM
>>>> services
>>>>         that are available at no cost
>>>>
>>>>
>>>>
>>
> 


Reply to: