LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2005, 07:40 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
not to allow the floppy to use for all users


hi,
i am using mandrake10.0.
i need to set read and write protect for floppy.

so use chmod but i have the error.....




[root@Simlab-node1 staff]# chmod o+rwx /mnt/floppy/
chmod: changing permissions of `/mnt/floppy/': Invalid argument
[root@Simlab-node1 staff]#

[root@Simlab-node1 staff]# chmod 775 /mnt/floppy/
chmod: changing permissions of `/mnt/floppy/': Invalid argument

[root@Simlab-node1 staff]# chmod 777 /mnt/floppy/
chmod: changing permissions of `/mnt/floppy/': Invalid argument
[root@Simlab-node1 staff]#


what is this invalid argument.....???

help me....

Last edited by bruse; 03-01-2005 at 07:47 AM.
 
Old 03-01-2005, 07:50 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Try changing the permissions on /dev/fd0.
 
Old 03-01-2005, 08:13 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
sir basically where is /dev/fd0 file or device?
 
Old 03-01-2005, 08:45 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Easyest way to restrict the floppy use is to prohibit mounting it. Do 'man fstab' for info and edit your /etc/fstab file.
 
Old 03-01-2005, 11:31 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
/dev/fd0 is the first floppy device. Anyway the fstab method is a better way of doing things in my opinion.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make it so regular users can access an automounted floppy? mugwump84 Linux - Newbie 4 04-02-2005 11:43 PM
Allowing non-root users rw access to floppy disks? black hole sun Linux - Hardware 3 02-12-2005 08:43 PM
How can I give rights for using Floppy Drive to other users? dineshjk Linux - Newbie 2 05-07-2004 03:58 AM
no way for non root users to mount floppy aromes Linux - General 6 09-14-2003 08:56 AM
How to make floppy available to all users? shan Linux - Newbie 1 01-28-2002 10:28 AM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration