Hi,
after some head scratching I edit permissions on a new USB stick formatted to ext2.
A puzzle:
when I issued the command
chmod -R o+rwx /dev/sdb1
The result was that ls -l /dev/sdb1 demonstrated permissions were changed (to 777) but I still could not write a file to the usb drive.
Finally, I issued the command instead:
chmod 0777 -v -R -f /media/Mill
And this succeeded. (Mill is the volume label). I'm better with alpha permissions but I copied the last command right from a Google hit.
Is it possible that when issuing file permissions using the device address (/dev/sdb1) that I've either done something stupid or something that just doesn't work? Does anyone know if this is either something I shouldn't have done, or can just explain why it didn't work? At this point everything seems okay but I spent an hour on that darned USB stick so maybe I can learn something else from this! Possibly it was just wrong for me to try to apply permissions to the partition (?) rather than to its mount point (?). BTW, any advice on handling a stick that is intended for different pc's and OS's (but all linux). I've got Kubuntu on my laptop and Fedora on my desktop and chose 777 as the simplest to get around different users and groups (?).
Cheers.
after some head scratching I edit permissions on a new USB stick formatted to ext2.
A puzzle:
when I issued the command
chmod -R o+rwx /dev/sdb1
The result was that ls -l /dev/sdb1 demonstrated permissions were changed (to 777) but I still could not write a file to the usb drive.
Finally, I issued the command instead:
chmod 0777 -v -R -f /media/Mill
And this succeeded. (Mill is the volume label). I'm better with alpha permissions but I copied the last command right from a Google hit.
Is it possible that when issuing file permissions using the device address (/dev/sdb1) that I've either done something stupid or something that just doesn't work? Does anyone know if this is either something I shouldn't have done, or can just explain why it didn't work? At this point everything seems okay but I spent an hour on that darned USB stick so maybe I can learn something else from this! Possibly it was just wrong for me to try to apply permissions to the partition (?) rather than to its mount point (?). BTW, any advice on handling a stick that is intended for different pc's and OS's (but all linux). I've got Kubuntu on my laptop and Fedora on my desktop and chose 777 as the simplest to get around different users and groups (?).
Cheers.
Comment