From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,8c9469280c4ae1c2 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,8c9469280c4ae1c2 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,8c9469280c4ae1c2 X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-04-17 03:29:50 PST Xref: sparky comp.sys.dec:2615 comp.unix.ultrix:3891 comp.unix.admin:2839 Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cabernet!chuck Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Subject: Re: Help: how to set the ownership of a mounted floppy disk back to general user Message-ID: <1992Apr17.102950.24105@corp.telecom.co.nz> From: chuck@comp.vuw.ac.nz (Chuck Qun Zheng) Date: Fri, 17 Apr 1992 10:29:50 GMT Reply-To: chuck@comp.vuw.ac.nz (Chuck Qun Zheng) Sender: chuck@corp.telecom.co.nz (Chuck Qun Zheng) References: Organization: Technology Strategy, Telecom Corporation of New Zealand. In article , shlam@cucs11.cs.cuhk.hk (Alan S H Lam) writes: |> |> I can mount a 5000/25 DEC station floppy disk drive as a general user |> |> as long as the root has set: |> |> chmod +rwx /dev/rfd0a |> chmod +rwx /dev/fd0a |> |> However after the mounting, the ownership of the mount directory is |> root rather than the user even though the directory is created by |> the |> user and has been set to "chmod +rwx" by the user before mounting. |> The status of the mounted directory is still drwxr-xr-x. Hence, |> general |> user cannot directly copy any file to the floppy disk. |> How about chown root.students /dev/rfd0a /dev/fd0a Or set gid to staff, grads, users, etc. Ultrix might well allow a user in many groups, like BSD. -- Chuck Qun Zheng Telecom Corperate Office Wellington, New Zealand chuck@bdev.corp.telecom.co.nz