Results 1 to 6 of 6

Thread: What is the permission of this file ?

  1. #1
    Join Date
    Jan 2005
    Location
    Nashik,India
    Posts
    24

    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

  2. #2
    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)


  3. #3
    Join Date
    Jan 2005
    Location
    Nashik,India
    Posts
    24

    Default

    Is there any other way of doing this ?

  4. #4
    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]

  5. #5
    yusuf Guest

    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

  6. #6
    Join Date
    Feb 2011
    Posts
    4

    Default

    It is a interesting sharing...........

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •