I see the permission of one file on server as "-rw-r--r--" and I want to give same permission to another file. How do I make out this permission in numerical form and what command should I type to give same permission to /root/file.txt
I see the permission of one file on server as "-rw-r--r--" and I want to give same permission to another file. How do I make out this permission in numerical form and what command should I type to give same permission to /root/file.txt
you can change the file permissions of file /root/file.txt using numerical form then use the following commnad
#chmod 644 (path of the file)
![]()
Is there any other way of doing this ?
You can also change the permissions of the file using any ftp client.
[SIZE=4][COLOR=RoyalBlue]Nakul's :cool: [/COLOR][/SIZE]
An alternate way to give the permissions -rw-r--r-- to /root/file.txt is >>
chmod a+r /root/file.txt and then
chmod u+w /root/file.txt
It is a interesting sharing...........
Bookmarks