Solved

unix permissions to add info to an existing file?

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
reinstall 1 55
Parsing a file using ksh 10 48
abstract class with all non abstract mentods 6 71
Solaris 10.  Nmap installation fails 2 39
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

707 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

16 Experts available now in Live!

Get 1:1 Help Now