Advertisement

02.22.2005 at 06:38AM PST, ID: 21324229
[x]
Attachment Details

Changing File Permission with UMASK

Asked by ngujja in IBM AIX Unix

Tags: aix, umask, file

Hi All,
The default file permission on AIX is 666, Iam trying to change the file permission to have atleast 7xx. Since Iam not the admin of this machine I cannot change the default behavior of file permission. So I tried changing umask in .profile. I believe the math is something like this 666 - (umask value)022 = 644. My question is, if default file permission is 666 how can I change the file permission to 7xx at the startup time. I know it can be changed by chmod, i dont want to do that.

My program is creating a file at runtime and executing it, so I want atleast owner to execute it.

Thanks
ngujja
Start Free Trial
 
Keywords: Changing File Permission with UMASK
 
Loading Advertisement...
 
[+][-]02.22.2005 at 09:19AM PST, ID: 13373591

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.22.2005 at 12:15PM PST, ID: 13375450

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.22.2005 at 01:32PM PST, ID: 13376264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.22.2005 at 01:55PM PST, ID: 13376511

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.22.2005 at 10:14PM PST, ID: 13379430

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.24.2005 at 07:00AM PST, ID: 13393074

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.24.2005 at 07:20AM PST, ID: 13393287

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.24.2005 at 11:40AM PST, ID: 13396133

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.24.2005 at 12:37PM PST, ID: 13396768

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02.28.2005 at 05:42AM PST, ID: 13419347

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: IBM AIX Unix
Tags: aix, umask, file
Sign Up Now!
Solution Provided By: ee_ai_construct
Participating Experts: 4
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32