Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-11-30
09:43 • Add attachment tmpgdtf.zip to ticket [38a31dffdf] artifact: 642f6ae83f user: sl1200mk2
09:43 • New ticket [38a31dffdf] file delete -force reports permission denied. artifact: daf933ee29 user: sl1200mk2

file delete -force reports permission denied

Open38a31dffdf10b9f41d88e3be9962f68e65082a69Created 2 years agoUpdated 2 years ago
Descriptionplain2024-11-30 09:43:19
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
Log in (anonymous is fine) to add a comment.