Computing.Net > Forums > Linux > File Permission

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.

File Permission

Reply to Message Icon

Name: gardenair
Date: April 27, 2005 at 18:43:17 Pacific
OS: win98
CPU/Ram: 900
Comment:

I want to change the user permissions i.e

$ touch myfile
$ls -l myfile

-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 ?)
$ls -l
----r--r--

yes the other way is to use the number(Octal) i.e
$chmod 700 myfile

$ls -l myfile

-rwx------

by using 744 with chmod it can show me desire desire result.
plz guide me that how can i adjuct it by using Owner,Group & Others

example chmod u=+r,+w,+x
so that i can view the the user have rwx permission.



Sponsored Link
Ads by Google

Response Number 1
Name: cdac
Date: April 28, 2005 at 01:26:51 Pacific
Reply:

why do u use chmod command as chmod u=+x that's a bit strange syntax. dont you get any errors when you do that??

if you just want to add execute permission on file use

chmod u+x filename

and you will see that x is ADDED and nothing is removed.



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: File Permission

Changing file permissions? www.computing.net/answers/linux/changing-file-permissions/6787.html

File permissions www.computing.net/answers/linux/file-permissions/10314.html

Permission and New Files www.computing.net/answers/linux/permission-and-new-files/28094.html