Solved

unix permissions to add info to an existing file?

Posted on 2007-12-02
5
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem logging tar errors 11 74
umask commands 5 18
unix shell script 4 41
Permit ONLY SFTP service on AIX 7.2 system 4 26
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 …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Suggested Courses

739 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