Menu

#16 Default permissions on Linux

open
nobody
None
8
2012-09-14
2003-12-02
Josh More
No

When you do a straight unzip of the natural docs archive,
many of the files contained within are set to world
writeable.
This is a security concern. I have corrected it on my
system,
but to prevent problems with other systems, it would be
a good
idea to tighten up the permissions.

Discussion

  • Greg Valure

    Greg Valure - 2003-12-02

    Logged In: YES
    user_id=647563

    Is it possible to set Unix permissions within a zip file, or
    would I need to make tarballs?

     
  • Josh More

    Josh More - 2003-12-02

    Logged In: YES
    user_id=922409

    I am unsure about behaviour on the windows side, but on my
    linux system
    the zip command preserves the existing file permissions.

    OS: RedHat 9
    Zip: Info-Zip (zip-2.3-16)

    It is conceivable that a zip file made on a windows system
    would handle
    permissions differently.

    -Josh

     
  • Greg Valure

    Greg Valure - 2008-01-13

    Logged In: YES
    user_id=647563
    Originator: NO

    Needs to be fixed. Also needs the execute property on the script so people don't have to add it manually.

     

Log in to post a comment.