Menu

#13 Changing 1 file permisions goes catastrofically wrong

Next Release
closed
nobody
None
5
2019-02-11
2009-08-05
No

I've done the following operation to a file archive.gzip that is the archive of the current directory.
I've changed the permissions to this file from 0664 to 0777 and was ok.
When tried to restore the permission for that file to 0664 al the files and directories from the curren directory become unaccesible

Discussion

  • Florin Jurca

    Florin Jurca - 2009-08-05
     
  • Florin Jurca

    Florin Jurca - 2009-08-05

    there is happening something with the permisions of the containing folder of that file because I've changed permisions (with a simple php script writed by me) for the containing folder to 0777 and the access was restored so I think that when try to set permissions the second time it is possible that the script lose some variables and instead restore permissions to that file he change the permissions for the containing folder

     
  • Florin Jurca

    Florin Jurca - 2009-08-06

    After an closer look changing permisions for a file also were aplied to the containing directory - this is the bug. Applying 06xx or lower goes to deny access for containing folder

    I've fixed this bug. Where should I upload the fixed script.

     
  • Florin Jurca

    Florin Jurca - 2009-08-06
    • status: open --> open-fixed
     
  • Roy Tam

    Roy Tam - 2011-12-11

    > I've fixed this bug. Where should I upload the fixed script.

    You may upload it here.

     
  • Fabrício Seger Kolling

    Hi Florin, please upload your fixed version here and i'll check it out.
    Thanks.

     
  • Fabrício Seger Kolling

    • Group: v1.0 --> Next Release
     
  • Fabrício Seger Kolling

    • status: open-fixed --> closed
     
  • Fabrício Seger Kolling

    Latest vesions do not have this problem anymore.

     

Log in to post a comment.