|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
umask conundrum
Hi All, i was reading up on a umask question on this forum and have a question on this. the umask value on my home PC running on cygwin is 022. when i create a dir it defaults to permission 755, when i create a file it defaults to 644. Now it starts at 777 for dirs and 666 for files and negate the umask value to get the default permission. Code:
My question is: i want to change the default file permission create to 755 but without altering the default dir permission. Is this possible ? if so how ? |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
No. You can't use umask to create executable files.
I'm not sure what the second part of your question is asking "Now it starts at 777 for dirs and 666 for files..." |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sed pattern space/looping conundrum | tiggyboo | Shell Programming and Scripting | 4 | 05-10-2011 04:30 PM |
| Unix Grep Conundrum - Not for Noobies | owenian | UNIX Desktop for Dummies Questions & Answers | 13 | 01-22-2011 04:00 PM |
| The Geek&Poke Easter Conundrum 2009 | Linux Bot | Cartoons for Geeks | 0 | 04-12-2009 05:45 AM |
| The Big Conundrum | Linux Bot | Cartoons for Geeks | 0 | 02-02-2009 07:10 AM |
|
|