[newbie] Writing to floppy disc

Bryan newbie@vlug.org
Mon, 10 May 2004 10:59:20 -0700


Hi Andrew,

On Sat, 2004-05-08 at 19:06, Andrew Barnes wrote:
> Numerous bad GUI experiences led me to get more comfortable with the command
> line - the nice part to this is that it doesn't matter what
> version/distro/etc this is done on.  
> 
> >From a command shell/terminal window you can run:
> 
> cp [/where/the/file/is] /mnt/floppy
> 
> If you want to move the file to the floppy:
> 
> mv [/where/the/file/is] /mnt/floppy
> 
> If you get a response that your account doesn't have privilege(s) to do this
> (and you know the root password), you can use the sudo command rather than
> logging in as root.
> 
> ===================================
> How to check and deal with permissions from Command Line:
> 
> cd /mnt ; ls -l | grep floppy
> 
The response was drwxrwxrwx 0 root 0 May 9 9:39 floppy/

> That will show the permissions for /mnt/floppy - it should start with d (for
> directory, because it is), or there's problems.  The letters after that show
> what permissions ([r]ead, [w]rite, e[x]ecute)) there are per user, group and
> world/other.  So it'd look something like: "drwxrwx---".
> 
> To change the permissions, you can use chmod.  Here's an example:
> 
> chmod ugo+rwx /mnt/floppy
> 
> ...of full privileges to /mnt/floppy.  Not the best thing to do, giving full
> permissions to something.  So you can choose specifically using:
> 
> chmod u+rwx /mnt/floppy

Now the response is "no such device or address"
> 
> This will add read/write/execute privs to User - the other priv's to group
> and world/other are left as they were.  What if you only wanted to give read
> and write priv?
> 
> chmod u+rw /mnt/floppy
> 
> You can replace the "+" with a "-" to remove privileges. 
>