To change permissions using chmod, I can use 2 methods. Since I don't know the terminology, I am calling them Method1 and Method2.
In the below example, both Method1 and Method2 do the same thing. Which one is you favourite method ?
Method1 sets just selected permission bits: g+x -> set the x bit for group. ug+x -> set the x bits for user and group. o-x -> clear the x bit for others.
Method2 sets all permission bits. The bits that are not set are cleared.
is identical with
This User Gave Thanks to MadeInGermany For This Post:
Ok. Please Ignore the word 'professional' .
Which method do you use ? Consider this as a poll . BTW what are Method1 and Method2 called (terminology) ?
Hello,
Who actually wrote Professional Linux Programming of Wrox publication as there are two different sets of writers, one set consists of Jon Masters and Richard Blum and another set of writers is Neil Mathew with lots of other writers. Plz resolve it. I'm really confused.
Regards.. (0 Replies)
Hi guys,
I'm pretty much a newbie to C.I need professional advice on my project.I'm supposed to write a program to scan a directory for .exe files and list them if any and also subsequently scan the subfolders for the same and so on...
Any advice on how to do it would be gladly accepted.... (3 Replies)
Discussion started by: rakesh_01
3 Replies
4. Post Here to Contact Site Administrators and Moderators
Hi there! I liked your forum so much! I'm a professional moderator and I would like to moderate your forum or any part of it. If you are interested in this idea, please apply to me on my e-mail. (5 Replies)
Hello
Here i got a problem, i bought new 40GB hard disk today, i made it as Primary Slave, No when i install Solaris, it says disk need fdisk to make solaris partition, but it does not say which disk need partition, i mean i have two disks, how i suppose to know which disk this will partition,... (1 Reply)
From FreeBSD how could I access files/directories in my Windows XP machine (networked) Is there any program in FreeBSD/Unix that I could use to emulate/control my Windows XP machine and what do I need to enable or install in my Windows XP machine (6 Replies)