mattcairns Posted March 6, 2007 Share Posted March 6, 2007 This is sort of similiar to a post I made recently, but if anyone can tell me a sort of plain english version of what exactly umask does, I think it would help. Thanks! Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/ Share on other sites More sharing options...
boo_lolly Posted March 6, 2007 Share Posted March 6, 2007 http://us2.php.net/umask Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200911 Share on other sites More sharing options...
mattcairns Posted March 6, 2007 Author Share Posted March 6, 2007 thanks for reading and responding, but i have found the same definition. I am a little confused as to what that means in plain english. I am trying to work around some user/group permission problems. Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200914 Share on other sites More sharing options...
boo_lolly Posted March 6, 2007 Share Posted March 6, 2007 dude, google it. http://en.wikipedia.org/wiki/Umask Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200921 Share on other sites More sharing options...
mattcairns Posted March 6, 2007 Author Share Posted March 6, 2007 sorry to be a pain... I found that too. I guess I should expand on my question. I want to work around some permission issues. Does umask work the same as chmod, or can i use umask as a type of workaround if chmod does not work? Does it change my current user to allow me to make those changes? Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200932 Share on other sites More sharing options...
artacus Posted March 6, 2007 Share Posted March 6, 2007 It just sets the default (read, write, execute) permissions when a file or directory is created on a unix-like system. Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200933 Share on other sites More sharing options...
artacus Posted March 6, 2007 Share Posted March 6, 2007 umask only works when a file is being created. chmod works after a file is created. Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200935 Share on other sites More sharing options...
mattcairns Posted March 6, 2007 Author Share Posted March 6, 2007 thanks, that helps a lot. Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200937 Share on other sites More sharing options...
boo_lolly Posted March 6, 2007 Share Posted March 6, 2007 thanks, that helps a lot. also, check out touch() Link to comment https://forums.phpfreaks.com/topic/41471-solved-umask-what-does-it-do/#findComment-200985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.