Solved

unix permissions to add info to an existing file?

Posted on 2007-12-02
5
189 Views
Last Modified: 2013-12-26
2)What are the strictly necessary permissions needed to add info to an existing file??(I need to know the permissions on the file as well as on the folder that the file is contained in)
0
Comment
Question by:axtur
5 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 20392999
If you are the owner, then the minimum perms you need are 200 on a file and 100 on a directory.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 20393020
Please do:
man chmod
to learn how to set the file permissions, also have a look at:
http://www.empowermentzone.com/unxflags.txt
http://www.tech-faq.com/unix-file-permissions.shtml
0
 

Author Comment

by:axtur
ID: 20393025
And what are those permissions translated into R,X,W  for each thing?
0
 
LVL 7

Expert Comment

by:Wod
ID: 20393048
axtur, are you doing your homeworks?
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 20393071
200 equals --w-------
100 equals d-x-------

Note that these are the absolute minimum permissions.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where to get php 5.6 for AIX 7.1? 5 111
EvenOdd challenge 10 126
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 341
Problem to App 4 97
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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