Sponsored Content
Full Discussion: file permisions 2000 to OSX
Top Forums UNIX for Dummies Questions & Answers file permisions 2000 to OSX Post 23703 by RTM on Thursday 27th of June 2002 02:38:46 PM
Old 06-27-2002
What are you using to put the files over (ftp, scp, ...)?

What are the defaults for the user you are signing in as? (Check the umask of the ID that you are using by logging in normally and using the umask command)

It may be that you can change the default of the umask for that userID (not recommended but anything can be done).

Personally, I would come up with a different way (script, note of apology, live with it). Changing the default umask is not good as far as security. Why do you want these files to be more than read?
 

10 More Discussions You Might Find Interesting

1. Programming

ftp a file from remote pc of win 2000

Hello. I am programming in C on HP-UNIX system,i want ftp a file from remote pc which is window 2000 system,i donot how config my HP-UNIX and pc, i donot how program in C or in shell. Thank you for help. (3 Replies)
Discussion started by: bdyjm
3 Replies

2. Windows & DOS: Issues & Discussions

file management in windows 2000 server

i am using windows 2000 server. my query is as follows: there are 2 directories say c:\emp & c:\exe. DataBase (DB) files are there in emp folder and the executables are in exe folder. Now i want to share the exe folder to the clients. If i give read permission to the exe folder and no... (3 Replies)
Discussion started by: raguramtgr
3 Replies

3. Windows & DOS: Issues & Discussions

Wants to delete a file on window 2000 Pro but prompt Access Denied

Kindly give me insight to this problem that l am encountering on window 2000 professional. I want to delete a file with .dll. If l delete the file its prompt access denied. Every option under the file attribute signify that the no deny was checked, but still l can't delete the file. Also l tried... (3 Replies)
Discussion started by: kayode
3 Replies

4. OS X (Apple)

OSX uploads to 2000 server extremly slow

We have just added 5 macs to what used to be an all Windows shop. Everything works great except the macs upload to a windows 200 file server extremly slow. Are there any suggestions to make the upload faster? (2 Replies)
Discussion started by: wbeard6142
2 Replies

5. UNIX for Advanced & Expert Users

Access permisions issue for directories

I am getting the different accessing permissions for the directories ,for some directories it is drwxr-sr-x, for some other directories it is like drwxr-xr-x. what is the difference between these 2 access permisions of the directories? (1 Reply)
Discussion started by: bishnu.bhatta
1 Replies

6. Filesystems, Disks and Memory

unix executable file problem on MAC OSX ??? please help

I've got this problem. My computers and external hard drives are converting many of my files to a Unix Executable File which has a grey terminal looking icon. I don't understand what is causing this to happen. It is happening to a large number of my image file of different formats and also... (1 Reply)
Discussion started by: chadb
1 Replies

7. UNIX for Dummies Questions & Answers

How to split a huge file into small pieces (per 2000 columns)?

Dear all, I have a big file:2879(rows)x400,170 (columns) like below. I 'd like to split the file into small pieces:2879(rows)x2000(columns) per file (the last small piece will be 2879x170. So far, I only know how to create one samll piece at one time. But actually I need to repeat this work... (6 Replies)
Discussion started by: forevertl
6 Replies

8. Shell Programming and Scripting

File Locking with fcntl on Darwin Mac OSX

Hello I have a Perl script that works on non-darwin Mac OS X environments and I think I have narrowed down the issue to a file locking problem. In other linux environments, the flock struct is defined differently. I have adjusted this via the reference for Mac OS X fcntl(2) man page. The... (4 Replies)
Discussion started by: flagman5
4 Replies

9. Shell Programming and Scripting

UNIX/Linux User permisions

Hi Guys, I have a program that runs but now everytime the user tries to do chown userid:groupid it fails with operation not permit. I do have root access to the server. How do I grant the user chown priviledge? Please Help !!!!!!!!!!!!! Thanks in advance... (2 Replies)
Discussion started by: Phuti
2 Replies

10. UNIX for Beginners Questions & Answers

Can't delete a file in the trash on OSX 10.11.6

I use a Mac running OSX El Capitan = UNIX user the hood. After rearranging files on an external hard drive, I ended up with a folder in the trash containing a file called "~INITPicker 2.0". I cannot empty the trash, and so delete the file. I even tried terminal, using the rm file command and... (38 Replies)
Discussion started by: djfilms
38 Replies
umask(2)							   System Calls 							  umask(2)

NAME
umask - set and get file creation mask SYNOPSIS
#include <sys/types.h> #include <sys/stat.h> mode_t umask(mode_t cmask); DESCRIPTION
The umask() function sets the process's file mode creation mask to cmask and returns the previous value of the mask. Only the access per- mission bits of cmask and the file mode creation mask are used. The mask is inherited by child processes. See Intro(2) for more information on masks. RETURN VALUES
The previous value of the file mode creation mask is returned. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mkdir(1), sh(1), Intro(2), chmod(2), creat(2), mknod(2), open(2), stat.h(3HEAD), attributes(5), standards(5) SunOS 5.11 28 Dec 1996 umask(2)
All times are GMT -4. The time now is 04:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy