The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To compare selective file in different folders gmahesh2k UNIX for Dummies Questions & Answers 0 05-14-2008 11:03 PM
selective positions from a datafile ganapati Shell Programming and Scripting 10 09-19-2006 06:09 AM
echo is selective? rgard Shell Programming and Scripting 0 12-01-2005 12:47 PM
Using `tar` for a selective backup. Cameron Filesystems, Disks and Memory 2 07-16-2002 06:10 AM
selective tar image and dir perms gfarley UNIX for Advanced & Expert Users 4 06-05-2002 06:12 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-03-2006
Registered User
 

Join Date: Mar 2005
Posts: 15
Selective Umask

Hi,

We have umask 022 in /etc/profile for security reasons.

But I want have some other umask for selected users. how to achieve this?

Regards
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-03-2006
Registered User
 

Join Date: Mar 2006
Posts: 49
If you are using bash shell you could place the command "umask XXX" in their bash_profile file. Similar for other shells as well.
Reply With Quote
  #3 (permalink)  
Old 08-03-2006
Registered User
 

Join Date: Mar 2005
Posts: 15
I think i should add more info

Keeping the umask in user pofile does NOT solve my problem since, Iam using FTP from another server to send files to this server. So the .profile of user does NOT get activated.


Any other ideas
Reply With Quote
  #4 (permalink)  
Old 08-03-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,502
What does you ftp'ing files have to do with other users umask on remote machines.

I don't think it's umask you want. What are you trying to do - not how you think it should be done?
Reply With Quote
Google UNIX.COM
Reply

Tags
ftp, umask

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0