Lars Clausen wrote:
>
> Hi!
>
> I'm setting up autofs for removeable disk access (floppy & zip), but can't
> seem to get it writeable for any but root:
>
> [lrclause@coral lrclause]$ ls -ld /disks/floppy
> drwxr-xr-x 2 root root 7168 Dec 31 1969 /disks/floppy
> [lrclause@coral lrclause]$ ls -l /dev/fd0
> brw-rw-rw- 1 lrclause floppy 2, 0 May 5 1998 /dev/fd0
> [lrclause@coral lrclause]$ cat /etc/auto.disks
> # This is an automounter map and it has the following format
> # key [ -mount-options-separated-by-comma ] location
> # Details may be found in the autofs(5) manpage
>
> floppy -fstype=umsdos,user,nosuid,noexec,sync,nodev :/dev/fd0
> cdrom -fstype=auto,nosuid,noexec,sync,nodev :/dev/cdrom
>
> I haven't been able to find anything related to this in the docs or a quick
> grep of the source. What I have found is that the umask of the mounting
> process is used for the mountpoint, so if I mount it manually with a 000
> umask, I get it world-writeable.
See the mount manpage. There are "uid=" & "gid=" options for many
(most?) filesystems.
Scott D. Webster mailto:[EMAIL PROTECTED]
Etc Services http://www.etcservices.com
Voice: 201.385.7113 Pager: 800.379.2402
Linux, UNIX, & TCP/IP Network Consulting
begin:vcard
n:Webster;Scott
tel;pager:800-379-2402
tel;fax:413-674-2154
tel;work:201-385-7113
x-mozilla-html:FALSE
url:http://www.EtcServices.com
org:Etc Services
adr:;;31 N. Vivyen St.;Bergenfield;NJ;07621-1529;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Owner
note:Linux, Unix & TCP/IP Networking Consultant
x-mozilla-cpt:;-6112
fn:Scott D. Webster
end:vcard