![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on umask | suvendu4urs | Linux | 6 | 04-11-2008 01:12 PM |
| Selective Umask | baanprog | UNIX for Advanced & Expert Users | 3 | 08-03-2006 10:48 AM |
| Umask help | x96riley3 | AIX | 1 | 04-04-2006 04:56 PM |
| umask | rsh | UNIX for Dummies Questions & Answers | 2 | 12-14-2002 12:52 PM |
| umask | bb00y | UNIX for Dummies Questions & Answers | 1 | 11-06-2002 09:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I have a doubt on the umask values. Why is the UMASK value is different from file and directory? Suppose if the umask value is 0022. The file permissions for a newly created file is 644 and the file permissions for a newly created directory is 755. My doubt is why can't it be the 755(same like directory) for file also? How can I provide the execute permission (default) to a file through UMASK? Thanks in advance. |
|
|||||
|
that depends on how you are creating the files. if you are creating a file using vi, the vi program may not assign certain permissions (x for owner, w for group and others) for newly created files
if you are still in doubt, read this to know how umask is implemented Last edited by Yogesh Sawant; 07-27-2008 at 03:16 AM.. Reason: added the link |
![]() |
| Bookmarks |
| Tags |
| umask |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|