• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

unix permissions to add info to an existing file?

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
axtur
Asked:
axtur
1 Solution
 
TintinCommented:
If you are the owner, then the minimum perms you need are 200 on a file and 100 on a directory.
0
 
yuzhCommented:
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
 
axturAuthor Commented:
And what are those permissions translated into R,X,W  for each thing?
0
 
WodCommented:
axtur, are you doing your homeworks?
0
 
TintinCommented:
200 equals --w-------
100 equals d-x-------

Note that these are the absolute minimum permissions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now