Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 22:36:20 -0400 (EDT)
From:      Tim McMillen <timcm@umich.edu>
To:        Zhiui Zhang <zzhang@cs.binghamton.edu>
Cc:        Joel Dinel <kint@dimmu.videotron.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Mounting Cdrom as normal user
Message-ID:  <Pine.SOL.4.10.10010252229190.16036-100000@gorf.gpcc.itd.umich.edu>
In-Reply-To: <Pine.SOL.4.21.0010251136080.4746-100000@jade>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi I must be doing something dumb here but I can't get this to work.
trying to mount cd as regular user
before trying anything:

%mount_cd9660 /dev/acd0c /cdrom
mount_cd9660: Operation not permitted
  su'd
tim# sysctl -w vfs.usermount=1
vfs.usermount: 0 -> 1
  exit to normal user (tim)
%mount_cd9660 /dev/acd0c /cdrom
mount_cd9660: Operation not permitted
%ls -l /
drwxr-xr-x   2 root  wheel      512 Oct 20 16:32 cdrom
   logged in as tim su to root type:
tim# chown tim /cdrom    get 0 exit status
%ls -l /
drwxr-xr-x   2 tim   wheel      512 Oct 20 16:32 cdrom 
  then
%mount_cd9660 /dev/acd0c /cdrom
%mount_cd9660: Operation not permitted  
    
   What gives?  Thanks,

						Tim





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.10.10010252229190.16036-100000>