Computing.Net > Forums > Unix > file permissions with fopen

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

file permissions with fopen

Reply to Message Icon

Original Message
Name: geeta gharpure
Date: August 23, 2005 at 08:41:38 Pacific
Subject: file permissions with fopen
OS: solaris 5.9
CPU/Ram: Sparc 256mb
Comment:

Has anyone seen the following call creating
files with permissions 0666 instead of 0644?

workFP = fopen(filepath,"w")


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home



Results for: file permissions with fopen

Returning file permissions in Octal
    Summary: Readers will be familiar with the idea of returning the permissions of a file using the ls -l command, which, amongst other things, returns file permission information as shown in this example: -rwxr-...
www.computing.net/answers/unix/returning-file-permissions-in-octal/4790.html

file permission problem
    Summary: You need to read up on 'chmod', the command to set file permissions. In UNIX/Linux you can set permissions for three different sets of users: - the user/owner of the file - the group (users who are in...
www.computing.net/answers/unix/file-permission-problem/5441.html

FTP default file permission
    Summary: Where do I specify the default file permission. When I do a FTP I want the files to have 755 permission by default without having to change them manually. Thanks Al ...
www.computing.net/answers/unix/ftp-default-file-permission/2153.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History






Data Recovery Software