cancel
Showing results for 
Search instead for 
Did you mean: 

permissions filesystem

SOLVED
Go to solution
Eli Daniel
Super Advisor

permissions filesystem

good morning, I have a question
NFS exists with the name / Interface / download
download directory has 777 permissions
I need the user when creating a file in download has permissions 750.
I should do?
3 REPLIES
James R. Ferguson
Acclaimed Contributor
Solution

Re: permissions filesystem

Hi:

> I need the user when creating a file in download has permissions 750

By that, I presume that you want files created with 'rwx' permissions for the owner and 'rx' permissions for the group. You can't do that directly when the shell creates the file. During an open()' or 'creat()' system call, a default 'mode' of 0666 as modified by the process's 'umask' is used to assign the file's final permissions. Directories use a 'mode of '0777' modified by the process's 'umask'.

If you want execute permissions, create the file and 'chmod' accordingly.

Regards!

...JRF...

nightwich
Valued Contributor

Re: permissions filesystem

Hi Daniel


You need to give more details:

- O.S.

- Version of NFS

- NFS to where

etc.. etc.. you can define umask for ftp transactions we need more details to give some help.

Regards.
Eli Daniel
Super Advisor

Re: permissions filesystem

thanls