Solved

unix permissions to add info to an existing file?

Posted on 2007-12-02
5
185 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now