[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


SCO 5.0.6 Advanced file print server 4.0.x set file creation mask for afps network users to 0

Posted on 2005-04-14
Medium Priority
Last Modified: 2013-12-23
When users copy a file to the AFPS shared folder with all correct perms on the folder, they can read and write their own files and can read others files but cannot modify and save a file if they did not create it.  Looking at ls -l on file shows -rw-rwSr-- if i use chmod to make it
-rw-rwSrw- then all works fine.  I would like to set the file creation parameter for the operators to something that makes allows universal write access on these files.  Thank You.
Question by:jon8034
1 Comment
LVL 10

Accepted Solution

neteducation earned 2000 total points
ID: 13800685
Do you really want that everyone(!) is able to write there ? If so, simply make the directory world writable. Even if the file is readonly for a certain user, he may still overwrite it, because of the directory rights.

If you only want to allow writing to a certain group, then make the directory owned by that group and set the setgid-Bit on the directory. This will make it a group shared directory which basically means that any files created in there have the group-ownership of the directory and not of the creating user, which would allow those people in the group to write to it.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question