Announcement

Collapse
No announcement yet.

File permission problem

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

    File permission problem

    I copied some openoffice documents from my laptop to my main box, and during the copy process, the file permissions have changed from RW to Read only. I got 3,000 files sitting in a folder and I need them all to be RW. Is there a simple way to do this? I tried changing the file permissions on the folder and clicking to apply it to contents as well, but it just errors.

    Help! I need this for work!

    #2
    Re: File permission problem

    In a konsole try
    Code:
    sudo -s
    cd /thedirectory
    chmod -v 666 *
    exit
    You're starting a root shell, changing to the desired directory, changing perms on everything, and getting out. Or at least, I hope that that's what it's doing.

    Comment


      #3
      Re: File permission problem

      Err, it did work. On re-opening Konqueror, it has denied me access to all the files.

      Comment


        #4
        Re: File permission problem

        Originally posted by miso
        Err, it did work. On re-opening Konqueror, it has denied me access to all the files.
        It did work or it didn't?
        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

        Comment


          #5
          Re: File permission problem

          It didn't work.

          Comment


            #6
            Re: File permission problem

            Originally posted by miso
            It didn't work.
            In a konsole goto the directory that you want to change permissions for. Become root using sudo and type ( R is for directory + all files in all subdirs) :

            chmod -R 755 *

            and exit again.

            Regards,

            Comment


              #7
              Re: File permission problem

              Or
              Code:
              sudo chown -R miso:miso /directory_name
              sudo chmod -R 755 /directory_name
              Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

              Comment

              Working...
              X