How can I delete a file on my Flash Drive that has permissions "You have custom access"

I have a file on my flash drive in Mac OS Ventura that has permissions listed as "You have custom access". I can't change the permissions and I can't delete the file.


Posted on Nov 10, 2022 1:57 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 11, 2022 6:08 AM

Maybe because it is an app it is not letting you delete it, but that really doesn't make much sense.

Can you remove it in Terminal:

sudo rm -R "/Volumes/FLASH DRIVE/junk/Timi's Files/Downloads/LogMeIn Client.app"

Be careful with trying to type the remove command as it will delete what you pass to it. If you hit return too early, you might delete something else. You can just copy and paste that command.

If it works, just arrow up in Terminal, the command will reappear. Arrow left to add the -1, and -2.

There is likely a way to do them all at once.

14 replies
Sort By: 
Question marked as Top-ranking reply

Nov 11, 2022 6:08 AM in response to Sikh

Maybe because it is an app it is not letting you delete it, but that really doesn't make much sense.

Can you remove it in Terminal:

sudo rm -R "/Volumes/FLASH DRIVE/junk/Timi's Files/Downloads/LogMeIn Client.app"

Be careful with trying to type the remove command as it will delete what you pass to it. If you hit return too early, you might delete something else. You can just copy and paste that command.

If it works, just arrow up in Terminal, the command will reappear. Arrow left to add the -1, and -2.

There is likely a way to do them all at once.

Reply

Nov 10, 2022 3:48 PM in response to Sikh

Custom access means there is an Access Control List attached to the item.

The group:everyone deny delete may have been propagated to that app from Get Info if you Applied to Enclosed.

You can remove the ACLs with this command in Terminal:

sudo chmod -RN "/Volumes/FLASH DRIVE/junk/Timi's Files/Downloads"
Reply

Nov 11, 2022 5:13 AM in response to Barney-15E

I have tried the Terminal command listed as is. There was not effect on the file and I still can't delete it. I tried the path without the quotes and with the quotes. I also tried adding the file name to the path. Am I missing something?


Reply

Nov 11, 2022 5:33 AM in response to Barney-15E

After I typed in the command, I was prompted for my administrator password. After I entered it, I got a whole bunch of errors.


Here are some of them:

chmod: Failed to clear ACL on file /Volumes/FLASH DRIVE/junk/Timi's Files/Downloads: Operation not supported


chmod: Failed to clear ACL on file LogMeIn Client.app: Operation not supported


chmod: Failed to clear ACL on file Contents: Operation not supported


chmod: Failed to clear ACL on file PlugIns: Operation not supported


chmod: Failed to clear ACL on file LogMeInSafari32.plugin: Operation not supported


chmod: Failed to clear ACL on file Contents: Operation not supported


chmod: Failed to clear ACL on file Resources: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_BGR20.png: Operation not supported


chmod: Failed to clear ACL on file ._ConnectFlow_BGR20.png: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_BGR21.png: Operation not supported


chmod: Failed to clear ACL on file ._ConnectFlow_BGR21.png: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_BGR22.png: Operation not supported


chmod: Failed to clear ACL on file ._ConnectFlow_BGR22.png: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_Cancel.png: Operation not supported


chmod: Failed to clear ACL on file ._ConnectFlow_Cancel.png: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_Connecting0.png: Operation not supported


chmod: Failed to clear ACL on file ._ConnectFlow_Connecting0.png: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_Connecting1.png: Operation not supported


chmod: Failed to clear ACL on file ._ConnectFlow_Connecting1.png: Operation not supported


chmod: Failed to clear ACL on file ConnectFlow_Connecting2.png: Operation not supported

Reply

Nov 11, 2022 5:58 AM in response to Barney-15E

I am able to copy other files to and from the drive. I can also delete files from the drive. All other files show up as Read and Write Permissions. I cannot erase the drive as FAT32 though. I thought that this solution would rid me of the file. It is actually the file LogMeIn Client and 13 additional copies (LogMeIn Client-2 etc.).

Reply

Nov 11, 2022 6:11 AM in response to Barney-15E

Here is the results I get from the above command. The file was not removed.


override rwx------ _unknown/_unknown hidden for /Volumes/FLASH DRIVE/junk/Timi's Files/Downloads/LogMeIn Client.app/Contents/PlugIns/LogMeInSafari32.plugin/Contents/Resources/._dialog_check_on@2x.png? 

Reply

Nov 11, 2022 6:26 AM in response to Sikh

I had some success. I answered "y" to the question and about 100 followup questions. These were mostly png files. When I finished, the file was deleted.


Would there be some way to shorten this process by deleting the subfolders of the app, such as Contents?

Reply

Nov 11, 2022 6:36 AM in response to Barney-15E

Sorry, this did not work. I also tried it with the Option key held while in the trash. No luck. Although deleting all parts of the file is a bit tedious, it does work. I will use that option to rid myself of LogMeIn Client-2.app to LogMeIn Client-14.app.


I very much appreciate your help in this matter.

Reply

Nov 11, 2022 2:18 PM in response to Barney-15E

By the way, I also had copies of these files on an external hard drive. I had transferred a number of files from my daughter's computer to the Flash Drive and then backed them up on the hard drive. I was able to delete these files off the hard drive with no problem. This confirms your suspicion that some of the problem is related to the FAT32 format on the Flash Drive. I also used the Flash Drive to show an MP4 video on my Vizio TV for an upcoming birthday party. It limits the size of the video file to under 4GB, another wonderful restriction to this format and drive.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I delete a file on my Flash Drive that has permissions "You have custom access"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.