Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Permission Question
Name: May Date: January 5, 2003 at 07:17:33 Pacific OS: Sun Solaris CPU/Ram: p4/1G
Comment:
Hi, I have this question and answer below..pls can anyone tell me why ANSWER C is correct.
Q A file permission listed..rw_rw_r__ FILE. Which will not change its permission?
A chmod u-w FILE B chmod u-x FILE C chmod g-w FILE D chmod g-x FILE
Name: David Perry Date: January 5, 2003 at 07:39:35 Pacific
Reply:
Answer C is incorrect. Either answer B or D is correct.
0
Response Number 2
Name: d3 Date: January 5, 2003 at 23:05:02 Pacific
Reply:
.rw_rw_r__ A chmod u-w FILE
This give the user (owner) write premission which they already have.
B chmod u-x FILE
gives the user execute premissions.
C chmod g-w FILE
gives the group write premissions
D chmod g-x FILE
gives the group execute premissions
read; "man chmod"
0
Response Number 3
Name: David Perry Date: January 6, 2003 at 02:56:02 Pacific
Reply:
I think you are confusing the '+' and '-' signs.
chmod g-x removes execute privs for the group.
0
Response Number 4
Name: jonob Date: January 6, 2003 at 05:24:01 Pacific
Reply:
call me old fashioned, i think numbers chmodding is far easier to work with each of the groups is assigned a number where r=4 w=2 x=1 add up the permissions required for each group rwx=7 r_x=5 rw_=6 example myfile rwxr___wx this would require a chmod 743 myfile.
Summary: I am running a simple php script on my unix server (my web site). I want the php script to have access to a sub folder, but I don't want other people (internet users) to have access to that sub folder...
Summary: Hi guys. I am pretty new to unix, so I have couple of questions. Well here we go 1. Suppose you want to have in your home directory subdirectory named shared in which you want to put two types of file...
Summary: Ok, I'm kind of new to Unix and had a question about permissions. I have a directory structure that gets files and folders added to it daily by different users in the same group. Whenever they creat...