Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
A customer is using 'rcp' to copy files between systems. He's trying to maintain permissions (664), so he's been using the '-p' option. Problem is, he's doing this over a bad link & at times the file gets copied, but the permissions don't get set correctly. So he would like to just change the system-wide default umask to 002 rather than 022. Where is this value defined? I thought I had it when I found "#define CMASK 022" in /usr/sys/include/sys/param.h, but changing this & rebuilding the kernel had no effect. What directory/file did I miss, or is this do-able? TIA -Jason [Posted by WWW Notes gateway]
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
8858.1 | ftfm :-) | VAXCPU::michaud | Jeff Michaud - ObjectBroker | Tue Feb 18 1997 00:19 | 8 |
> A customer is using 'rcp' to copy files between systems. rcp uses rshd on the remote system, which does use the uses shell, and the shell will read it's normal startup files (for example, .cshrc). Put a umask command in your .cshrc and you should get what you want .... ps: the rcp man page mentions most of this .... |