Skip to main content

zip file permissions

Comments

5 comments

  • 24x7server
    Hi, Yes, the archive folders takes the permission of the user that has executed it, so that is a normal behavior..
    0
  • darwin7
    Hi, Yes, the archive folders takes the permission of the user that has executed it, so that is a normal behavior..

    Hi. No because it was compressed in Windows, so no unix permissions. I inspected the zip using zipinfo and seen that zip file has no permisions or username saved. However, what you say don't explain why different user got different permissions in uncompression. This is incoherent.
    0
  • 24x7server
    Hi, If you want to understand the statement properly, you can create 2 users, and upload the files to the user through individual user FTP account and then unzip it and see it yourself.
    0
  • darwin7
    Hi, If you want to understand the statement properly, you can create 2 users, and upload the files to the user through individual user FTP account and then unzip it and see it yourself.

    Hi But the problem is the permissions of files inside the zip file, not the zip file itself.
    0
  • cPanelMichael
    Hello @darwin7, The behavior you notice stems from the default umask value configured for new files in CentOS. You'd need to modify the default umask value from 002 to 022 in the following files if you want to globally change this behavior: /etc/profile /etc/bashrc Thank you.
    0

Please sign in to leave a comment.