File Permission in Linux
Need to change the user permissions i.e
-rw-r--r-- $chmod u=+x myfile Here I also want to give the execute prmission to the
user but the list command shows (Read & Write also removed why ?)
Yes the other way is to use the number(Octal) i.e
$ls -l myfile -rwx------ By using 744 with chmod it can show me desire desire result. How can I adjuct it by using Owner,Group & Others Example chmod u=+r,+w,+x
Why do u use chmod command as chmod
u=+x that's a bit strange syntax. Don't you get any errors when you do
that??
chmod u+x filename and you will see that x is ADDED and nothing is removed.
Have a Linux Problem
Linux Books
Linux Home: Linux System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|