Tcl Source Code

View Ticket
Login
Ticket UUID: 38a31dffdf10b9f41d88e3be9962f68e65082a69
Title: file delete -force reports permission denied
Type: Bug Version: trunk
Submitter: sl1200mk2 Created on: 2024-11-30 09:43:19
Subsystem: 37. File System Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2024-11-30 09:43:19
Resolution: None Closed By: nobody
    Closed on:
Description:
Hi, 
I'm not sure if this is a bug...
I'm working on macOS 12 and in the attached folder there's a file called yoke.svg with permission 755 but it's inside a folder with permissions 555:

nico@brouhaha lib % stat -f "%A" /Users/nico/Downloads/tmpgdtf/models/svg/yoke.svg 
755
nico@brouhaha lib % stat -f "%A" /Users/nico/Downloads/tmpgdtf 
755
nico@brouhaha lib % stat -f "%A" /Users/nico/Downloads/tmpgdtf/models 
555
nico@brouhaha lib % stat -f "%A" /Users/nico/Downloads/tmpgdtf/models/svg 
555

thus when I tried to use :
file delete -force -- /Users/nico/Downloads/tmpgdtf 

Tcl reports:
error deleting "/Users/nico/Downloads/tmpgdtf/models/svg/yoke.svg": permission denied

is there's a way to still delete the tmpgdtf folder?

best regards,
Nicolas

Attachments: