Announcement

Collapse
No announcement yet.

Easy way to override folder permissions 'on the fly'?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Easy way to override folder permissions 'on the fly'?

    Is there an easy way to temporarily override folder permissions in order to copy to, or delete files in a more restricted folder?
    In other words, similar to using 'sudo' on the command line. I'd like to avoid having to start up a new bc as root, if that is possible.

  • #2
    BC4's current instance would be limited to the permissions it was launched with. You could create an Open With option, which can execute a command line and pass the selection as a parameter, which could perform some steps like this if you create the necessary script files to execute on the selection.
    Aaron P Scooter Software

    Comment


    • #3
      Originally posted by Aaron View Post
      BC4's current instance would be limited to the permissions it was launched with. You could create an Open With option, which can execute a command line and pass the selection as a parameter, which could perform some steps like this if you create the necessary script files to execute on the selection.
      Thanks for your reply, Aaron. That sounds involved. As often as not, I need to place a 'sudo' in front of a Linux command, due to restrictive permissions on most Linux folders. When I get an unexpected permissions error via command line, it's just a matter of recalling the command and inserting sudo. But it would be great to have something similar built into BC's Linux version. Especially given that it's sometimes tough to determine in advance whether enhanced permissions will be required at some point.

      Do you think it would be complicated to offer a temporary override of normal user permissions? (Suggestion for a future rev)

      Comment


      • #4
        I've added running a file operation as root/sudo without relaunching BC to the feature request list for a future version.
        Chris K Scooter Software

        Comment


        • #5
          Terrific, Chris! I think that will be a very useful option.
          BTW, BC really helps the transition to Linux for us Windows users. It's nice to have something that looks like home. :-)

          Comment

          Working...
          X