Ticket #292 (closed enhancement: invalid)

Opened 19 years ago

Last modified 16 years ago

Ability to set default permission for the file generated by Model-Glue

Reported by: katz Owned by: somebody
Priority: normal Milestone:
Version: 2.0.304 Severity: normal
Keywords: Cc:

Description

you know that Model-Gule creates some file (ex. config/scaffolds/Scaffolds.xml). The permission of the file is 644. so, you cannot delete the file if you are login with the account other than the account which is running coldfusion. So, please add the ability to set the default permission of the file created by Model-Glue.

Change History

Changed 19 years ago by joe.rinehart

  • severity changed from major to normal
  • milestone set to Feature Requests

Changed 16 years ago by cfgrok

  • milestone changed from Feature Requests to 2.0.x-next-patch

Changed 16 years ago by DanWilson

I can see why the user wants this, though I'm not 100% sure we want to get into the file permission business... fine for a development server, terrible risk for a production server.

I'm willing to hear ideas from the team on this one, or I'm willing to close this ticket as won't fix.

Changed 16 years ago by boomfish

  • status changed from new to closed
  • resolution set to invalid
  • milestone 2.0.x-next-patch deleted

Deleting a file on a Unix-based system requires write permissions on the directory, not the file. The resolution is therefore to create the scaffolds folder before ColdFusion does and make sure you have write permissions on it.

This is not an issue with Model-Glue so I'm closing the ticket.

Note: See TracTickets for help on using tickets.