1. 14 6月, 2013 1 次提交
  2. 09 6月, 2013 1 次提交
  3. 28 5月, 2013 1 次提交
  4. 12 5月, 2013 1 次提交
  5. 01 5月, 2013 2 次提交
  6. 30 4月, 2013 1 次提交
  7. 14 4月, 2013 1 次提交
  8. 07 4月, 2013 1 次提交
  9. 25 3月, 2013 1 次提交
  10. 14 3月, 2013 1 次提交
  11. 23 2月, 2013 1 次提交
  12. 23 1月, 2013 1 次提交
  13. 06 1月, 2013 1 次提交
  14. 04 1月, 2013 3 次提交
  15. 12 12月, 2012 1 次提交
  16. 11 12月, 2012 1 次提交
  17. 08 12月, 2012 2 次提交
  18. 01 12月, 2012 4 次提交
  19. 30 11月, 2012 1 次提交
  20. 17 11月, 2012 1 次提交
  21. 16 11月, 2012 3 次提交
  22. 29 10月, 2012 1 次提交
    • D
      atomicc.rb: Don't assume we may chown/chmod a file. · 851f8c10
      Daniele Sluijters 提交于
      Previously this code just assumed it is capable of changing the file
      ownership, both user and group. This will fail in a lot of scenario's
      unless:
      * The process is run as a superuser (root);
      * The owning user and group are already set to the user and group we're
        trying to chown to;
      * The user chown'ing only changes the group to another group it is a
        member of.
      If either of those conditions are not met the filesystem will simply
      deny the operation throwing an error.
      
      It is also not always possible to do a chmod, there might be a SELinux
      policy or another limitation preventing the user to change the file
      mode. To this end the chmod call has also been added to the rescue
      block.
      
      I've also added a little comment above the chmod command that doing a
      chmod on a file which has an ACL set will cause the ACL to be
      recalculated / modified.
      851f8c10
  23. 23 10月, 2012 1 次提交
  24. 17 10月, 2012 2 次提交
  25. 12 10月, 2012 1 次提交
  26. 10 10月, 2012 2 次提交
  27. 08 10月, 2012 1 次提交
  28. 05 10月, 2012 2 次提交