Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: files copied from data dvd are read only

  1. #1
    Join Date
    May 2012
    Location
    UK
    Beans
    614

    files copied from data dvd are read only

    i use thunar, i tried the GUI way of changing permissions recursively, but that won't work, or only on a couple of files.

    i tried doing the command line way also, with same results.

    its the same with different dvd or cd discs.

    i have dropbox installed, but i may have had the problem before that.

    i use k3b, have tried both linux only format for disc, and windows friendly format, doesn't make a difference.

    any ideas as to why this is happening, and so stubbornly? surely it is not this way for everyone?

  2. #2
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: files copied from data dvd are read only

    That's the way it works, the filesystems used on optical media don't support POSIX ownerships or permissions, so they can't be stored with the files. And the fileystems are by design read-only, which means the files you copy back to harddrive from the media will keep the read-only permission.

    You shouldn't have any troubles changing the permissions and ownership to more usable ones aftewr you have moved the fiels to your hard drive, though.

    ...and also a nice tip, if you use optical media (or FAT/NTFS-formatted drives) for backups or to transfer your Linux files, compress them into a .tar.gz beforehands. That way the ownerships and permissions will stay intact.

  3. #3
    Join Date
    Sep 2011
    Location
    Philadelphia, PA USA
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: files copied from data dvd are read only

    According to the website...
    "From the Tools menu > "Read Only Mode". This will automatically be enabled in certain circumstances - such as opening binary files or files with encodings that it cannot handle, or when the file has lines that exceed the maximum line length setting."

  4. #4
    Join Date
    May 2012
    Location
    UK
    Beans
    614

    Re: files copied from data dvd are read only

    You shouldn't have any troubles changing the permissions and ownership to more usable ones aftewr you have moved the fiels to your hard drive, though.
    thats the problem, i cant change the permissions unless i do one file at a time, which of course is insane.

    as i said, i did the recursive thing and it doesnt work, or not for more than the initial files within one folder, it wont apply to any sub-folders.
    Last edited by black veils; June 11th, 2012 at 06:49 PM.

  5. #5
    Join Date
    Nov 2010
    Beans
    69

    Re: files copied from data dvd are read only

    open a terminal windows,
    cd to the directory you copied files too
    type
    Code:
    sudo chmod -R 777 /home/user/filesfolder
    replace '/home/user/filesfolder' with the path where your files are located.

    then after type 'ls -l' to verify

  6. #6
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: files copied from data dvd are read only

    I haven't used Thunar in ages, but chmod command in a terminal shouldn't have any troubles fixing the permissions, just use the "-R" option to change permissions recursively.

  7. #7
    Join Date
    May 2012
    Location
    UK
    Beans
    614

    Re: files copied from data dvd are read only

    Quote Originally Posted by mcduck View Post
    I haven't used Thunar in ages, but chmod command in a terminal shouldn't have any troubles fixing the permissions, just use the "-R" option to change permissions recursively.

    have done that, and the result is the same, yes i did proper commands. its strange, i wonder could dropbox (and the inevitable nautilus link) be the cause?

  8. #8
    Join Date
    May 2005
    Location
    Indiana
    Beans
    1,933
    Distro
    Hardy Heron (Ubuntu Development)

    Re: files copied from data dvd are read only

    Post for us the exact command that you typed into the terminal.
    Today you are You, that is truer than true. There is no one alive who is Youer than You. - Dr. Seuss

  9. #9
    Join Date
    May 2012
    Location
    UK
    Beans
    614

    Re: files copied from data dvd are read only

    Quote Originally Posted by forrestcupp View Post
    Post for us the exact command that you typed into the terminal.
    something like this
    Code:
    sudo chmod 754 -R /path/to/file/or/directory
    following this guideline:

    first is owner
    second is group
    third is anyone else

    Permissions:

    0 – no permission, this person cannot read, write or execute
    1 – execute only
    2 – write only
    3 – execute and write only (1 + 2)
    4 – read only
    5 – execute and read only (1 + 4)
    6 – write and read only (2 + 4)
    7 – execute, write and read (1 + 2 + 3)
    -R - means to all folders and files within

  10. #10
    Join Date
    Oct 2009
    Location
    Scotland
    Beans
    217
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: files copied from data dvd are read only

    OK so you've told it to allow the owner read, write, execute privileges. But are you the owner? Use
    Code:
    ls -l
    to find the owner of the files and then you might need to use chown to change owner to yourself. Or, just make them all 777 (read, write, execute for everyone).
    AMD Phenom Quad 9650, 8Gb RAM, (2 x 1) +(1 x 1.5)Tb HDDs; 64-bit Lucid (ʍoʃs ʎpooʃq ooʇ sɐʍ ʇı ʇnq ʎʇʇɐᴎ pǝıɹʇ I); Dual-boot Win XP Pro 32-bit (although mainly use WINE or VirtualBox). HP t5730 with 1GB RAM and 160GB HDD running xubuntu 10.10.

Page 1 of 2 12 LastLast

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
  •