Chmod'ing a file #7729
Comments
This is a good idea for an extension. Shouldn't be too hard to implement. |
I like the idea of an |
@zaggino do you want to write an extension for this issue? |
Open to myself to track |
@JeffryBooher The 'tracking' tag is used to mean there's an external bug in some other bugbase that we're waiting on. That seems not to be the case here, so I'm removing that label. |
@JeffryBooher I'd love to, but I'm currently too busy to take anything new on my shoulders. |
I may give this one a try. I have been looking for how I might contribute to the project. Do you think it will require access to a |
Most probably will do @mackenza , at least that's the way I'd have done it. My idea would be to put a right click -> properties item to the file tree which would then open a dialog and show current chmod status for the entry and maybe some additional information too like file or directory size which you also can mine using If you're not very familiar with |
ok, yeah, I see I can use the Yes, right-click->context menu->properties was how I was going to go. I can get the properties, including current permissions with I was thinking, since I am doing this in a dialog box, that synchronous calls should be done to |
Never use sync calls if you can avoid it, I don't see the benefit of it. |
I suggest start with |
Not sure why I was assigned since this is an issue / extension idea. |
@zaggino @xaddict I have written a first crack at this and it seems to work on my Linux machine. I don't have a Mac to test on. On Windows, fs.chmodSync is of limited use due to the weirdness of Windows permissions (I think you can only affect the "read only" bit by changing the write bit). Nevertheless, it seems to work on Windows too. Before I publish it to the Registry, it would be great if you could have a look and let me know of any issues and whether it actually address the use case of this issue. repo is at https://github.com/mackenza/Brackets-FileSystemProperties |
I think it seems good enough that I will upload it to the registry today. I can always iterate it later if issues pop up. |
👍 @mackenza |
no worries, we're all busy people doing this on our spare time ;) |
thanks for the extension @mackenza. Closing this issue as this is not a core feature. |
I would like a feature on right-clicking a file in the tree where it gives me an option to change the chmod.
I work a lot with CMS'es and these sometimes tend to lock stuff. It would be very handy if there was a Coda-like 'info' screen where permissions can be changed and information about the file can be reviewed. It also would allow for an easy way to see and edit metadata without having to switching to the Finder constantly. The title could be clickable to instantly change the filename for example.
The text was updated successfully, but these errors were encountered: