Please also let this app read /usr/local/etc/safe-rm.conf

Bug #1893500 reported by Shiki Suen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Safe-rm
Fix Released
Wishlist
François Marier

Bug Description

This is rather a feature request than a bug report.

Currently, safe-rm only reads "/etc/safe-rm.conf" which is absolutely not possible to create in macOS since Catalina (unless deep hack in the RecoveryOS terminal every time you want to create / modify / delete it).

However, it is okay to write in /usr/local/etc/ in such case.

Since Homebrew directly uses source codes provided here, I am sending this feature request here.

Tags: permission
Revision history for this message
Shiki Suen (shikisuen) wrote :

Here comes my fix to the "safe-rm" perl script.

Revision history for this message
Shiki Suen (shikisuen) wrote :

I forgot to add related lines to around line 107.
There needs to be a line reading the file defined at the beginning of this perl script.

Revision history for this message
François Marier (fmarier) wrote :

Thanks for the suggestion Shiki. I've just implemented and will do a new release shortly.

Could you try the attached file and confirm that it works for you?

Changed in safe-rm:
importance: Undecided → Wishlist
status: New → In Progress
assignee: nobody → François Marier (fmarier)
milestone: none → 0.13
Changed in safe-rm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers