The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

File Change Detection Save Allowance

Discussion in 'General Discussion' started by Anthony Brian Mallgren, Nov 16, 2016.

Tags:
  1. Anthony Brian Mallgren

    Anthony Brian Mallgren Active Member

    Joined:
    Dec 12, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    United States
    cPanel Access Level:
    Website Owner
    Twitter:
    Wondering how one may change user interface in detecting file change instead user interface change in allowing save.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your question is unclear. Could you please clarify a bit more what you're asking here?
     
  3. Anthony Brian Mallgren

    Anthony Brian Mallgren Active Member

    Joined:
    Dec 12, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    United States
    cPanel Access Level:
    Website Owner
    Twitter:
    Dear Infopro,

    Opening a file in File Manager, deploying through Secure Shell, testing and attempting save (effectively restoring an opened copy), by default, seemingly results in preventing saving file.

    Wondering how one may achieve file change detection in save allowance.

    Regards,

    Anthony Brian Mallgren
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You're unable to open a file in File Manager, edit, and then save that file with changes. Is that it?

    Are permissions on the file correct?
     
  5. Anthony Brian Mallgren

    Anthony Brian Mallgren Active Member

    Joined:
    Dec 12, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    United States
    cPanel Access Level:
    Website Owner
    Twitter:
    Dear Infopro,

    I have been adding a space and saving.

    Regards,

    Anthony Brian Mallgren
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you walk us through the step-by-step instructions for each part of the process so we can reproduce the issue? Please include as many details as possible.

    Thanks!
     
  7. Anthony Brian Mallgren

    Anthony Brian Mallgren Active Member

    Joined:
    Dec 12, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    United States
    cPanel Access Level:
    Website Owner
    Twitter:
    Dear cPanelMichael,

    For reproduction steps:
    1. Perform cPanel login.
    2. Open File Manager.
    3. Select a file.
      1. If a file does not already exist, create a file.
        1. Click + File.
        2. Type file name.
        3. Click Create New File.
    4. Click Edit.
      1. If Text Editor prompt shows, review, then click Edit.
    5. Edit file via another method.
      1. Secure Shell.
        1. Edit via 'vi' and command write :)w).
        2. Deploy via shell script.
      2. Open another editor instance (steps 3-4).
        1. Make changes.
        2. Click Save Changes.
    6. Return original editor.
    7. Attempt saving (click Save Changes).
      1. This step, if allowed without changes, may return previous state.
      2. Seemingly, additional changes necessary in allowing save.
    Regards,

    Anthony Brian Mallgren
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    There's currently no functionality that will detect changes to existing files and prompt a warning message that notifies users of those changes before saving files via File Manager. I recommend opening a feature request for this via:

    Submit A Feature Request

    Thank you.
     
  9. Anthony Brian Mallgren

    Anthony Brian Mallgren Active Member

    Joined:
    Dec 12, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    United States
    cPanel Access Level:
    Website Owner
    Twitter:
    Dear cPanelMichael,

    Acknowledged.

    Regards,

    Anthony Brian Mallgren
     
Loading...

Share This Page