LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bootable USB key messed up permissions on key.. (http://www.linuxquestions.org/questions/linux-newbie-8/bootable-usb-key-messed-up-permissions-on-key-756469/)

VipX1 09-19-2009 06:21 PM

Bootable USB key messed up permissions on key..
 
I made a bootable USB key using the Ubuntu DELL iso. The key worked and I had look at the DELL iso. Now I have a problem though, I can't use my key to write an image to with Clonezilla. Key is Fat32
All directories and files on the key are listed as rwx------
Code:

drwx------ 20 vipx1 root      16384 2009-08-15 21:10 16GB
-rwx------  1 vipx1 root  544783881 2008-07-09 11:35 775i65G.GHO
-rwx------  1 vipx1 root          0 2009-08-27 02:33 Bookmarks.json
-rwx------  1 vipx1 root      1946 2009-08-26 23:29 BOOTEX.LOG
drwx------  2 vipx1 root      16384 2009-08-17 19:33 casper
-rwx------  1 vipx1 root          0 2009-09-06 01:48 CLEAN
-rwx------  1 vipx1 root          0 2009-08-27 02:35 clonezilla-live-20090812-jaunty.iso
-rwx------  1 vipx1 root          0 2009-08-12 20:26 Compiz-Desktop1
drwx------  3 vipx1 root      16384 2009-08-17 19:33 dists
drwx------  3 vipx1 root      16384 2009-09-19 22:14 Downloads
-rwx------  1 vipx1 root          0 2009-08-28 20:57 IMB201.GHO
drwx------  2 vipx1 root      16384 2009-08-17 19:33 grub
drwx------  3 vipx1 root      16384 2009-09-19 22:01 Images
-rwx------  1 vipx1 root 3377347839 2009-07-17 17:12 IMB202.GHO
drwx------  3 vipx1 root      16384 2009-08-13 12:58 Irishtown
drwx------  2 vipx1 root      16384 2009-07-17 16:23 ITX Ghost
-rwx------  1 vipx1 root      14607 2009-08-17 20:31 ldlinux.sys

*Changing permissions on another OS has no effect and does not return
an error.
*Changing permissions on the USB's own OS does work while in that OS.
When I then insert the key into another OS again the change is gone
and permissions still same as it was.
Code:

chown: changing ownership of `/media/ATV/Images': Operation not permitted

GlennsPref 09-19-2009 08:15 PM

Hi, with fat32, window$ changes your permissions everytime you plug it in.

This has been spoken (written) about over the past few weeks. Here at LQ and elsewhere.

I think the best option is to have a partitioned usb-drive,

with a windoe$ partition and Linux partitions and a bootloader, that way you can stopp window$ from messing with your linux file attributes.

Cheers, Glenn.

VipX1 09-20-2009 07:59 AM

Sorry, I should of said. I don't use windows for anything. I have it in work that's all. They machine I am looking at the key on is Ubuntu 9.04 and the .iso on the key is the DELL version of Ubuntu 9.04.

I just want to rest the permissions on Ubuntu so as that I can use the key and Clonzilla has permission to write to it. The normal chmod and/or chown is not working as I mentioned above.

I'll run Clonezilla and enter the terminal and try change permission to the key before I write to it. I will have to do everything myself like mounting the key etc. I have the code for the back-up because Clonezilla does give it at the end of an operation which is great.

GlennsPref 09-20-2009 06:39 PM

Hi, sorry, I'm not familiar with clonezilla.

Quote:

chown: changing ownership of `/media/ATV/Images': Operation not permitted
My only suggestion is....

sudo chown -R 755 /media/ATV/Images (recursive through directories)

Not sure how to setup sudo on ubuntu, but with mandriva,

I make the "user" part of the wheel group

edit(uncomment) some lines in the /etc/sudoers file

restart X to update the permissions and test.

Cheers Glenn

VipX1 09-21-2009 03:26 AM

sudo is set up in Ubuntu by default, nothing has to be done not like Fedora or Mandriva. None of the usual permission changing commands are working.
In USB on-board OS I can change permission but the change is gone once I look at the folders from another OS. On another OS I can not change permissions even as root..
I am in work today so I'll use Windows XP to copy the folders I want and then re-format.
I don't like when Windows solves a problem... Why is that?


All times are GMT -5. The time now is 08:06 PM.