Announcement

Collapse
No announcement yet.

chmod syntax for directory tree permissions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    chmod syntax for directory tree permissions

    Hi all

    I am in the process of importing my data files from XP to linux & I notice the files in linux are read only.

    How might I go about setting the correct permissions either during the transfer, or for an entire directory tree.

    A 100,000+ files are not gittin done one at a time.

    Thanks
    A noob for sure & not lookin back.

    #2
    Re: chmod syntax for directory tree permissions

    Hi

    On top of the directory, you should enter this command (if you're logged as the login which pasted)
    From konqueror, click on the directory, go to permission, change the first one to "Can View & Modify Content" And check the checkbox on the bottom "Apply changes to all subfolders and their contents"
    Then OK

    Hope it helps

    Comment


      #3
      Re: chmod syntax for directory tree permissions

      Thanks sky

      I'll do just that.

      Comment


        #4
        Re: chmod syntax for directory tree permissions

        chmod -R <permission> *

        eg chmod -R 777 *
        or chmod -R a+x *
        should do it if you're in the top directory you want to go from.
        The -R just means recursive and so will go through each file in the directories in and below your current one changing permissions.

        Comment


          #5
          Re: chmod syntax for directory tree permissions

          Thanks cyclbatrob

          Comment

          Working...
          X