Dedicated Servers
Managed Dedicated Servers
Semi-Dedicated Hosting
Cheap Dedicated Servers
Hyper-V VPS Hosting
Hyper-V Virtual Private Servers
Linux VPS Hosting
VPS Hosting with Root Access
Windows VPS Hosting
Windows VPS Web Hosting
Reseller Hosting
Reseller Hosting India
cPanel Shared Hosting
Linux Shared Web Hosting
Windows Hosting
Windows Shared Web Hosting
Web Hosting Blog
Web Hosting Blog India
Hosting Knowledgebase
Web Hosting Knowledgebase




  #1 (permalink)  
Old 06-26-2005, 10:41 PM
host.co.in's Avatar
System Administrator
 
Join Date: Jan 2005
Location: Nashik,India
Posts: 24
Send a message via ICQ to host.co.in Send a message via AIM to host.co.in Send a message via MSN to host.co.in Send a message via Yahoo to host.co.in
Default What is the permission of this file ?

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
Reply With Quote
  #2 (permalink)  
Old 06-27-2005, 06:29 AM
Junior Member
 
Join Date: Jun 2005
Posts: 9
Default File permission

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)

Reply With Quote
  #3 (permalink)  
Old 06-27-2005, 06:36 PM
host.co.in's Avatar
System Administrator
 
Join Date: Jan 2005
Location: Nashik,India
Posts: 24
Send a message via ICQ to host.co.in Send a message via AIM to host.co.in Send a message via MSN to host.co.in Send a message via Yahoo to host.co.in
Default

Is there any other way of doing this ?
Reply With Quote
  #4 (permalink)  
Old 06-27-2005, 08:19 PM
Junior Member
 
Join Date: Feb 2005
Posts: 9
Default Changing permissions of a file

You can also change the permissions of the file using any ftp client.
__________________
[SIZE=4][COLOR=RoyalBlue]Nakul's :cool: [/COLOR][/SIZE]
Reply With Quote
  #5 (permalink)  
Old 06-27-2005, 08:50 PM
yusuf
Guest
 
Posts: n/a
Default What is the permission of this file ?

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
Reply With Quote
  #6 (permalink)  
Old 02-13-2011, 11:03 AM
Banned
 
Join Date: Feb 2011
Posts: 5
Default

It is a interesting sharing...........
Reply With Quote
Reply

Bookmarks
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 04:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0