David Ryder wrote: > ------------------------------ > Date: Wed, 28 May 2008 09:27:12 +1000 > From: David Ryder <[EMAIL PROTECTED]> > Subject: Mounting a drive - not using fstab or root > To: Ubuntu-au mailing list <ubuntu-au@lists.ubuntu.com> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8 > > I have a drive which at various times in the day and week, > I want to mount/umount, via cron and a script, in ?/media > or another folder /media/this-drive-folder/. Because I want > to use different folders at different mount times (for > valid business reasons) the drive can not be in fstab, > as I understand it, because then I would not have the choice > of which folder to mount it in. > > But - mount wants root only to mount. I think users can mount > fstab drives if noauto, user (or suid using sudoers?) are used > but that does not overcome my mount location needs. > > So, the crux of all this is, is it possible to mount an ntfs drive > that is not in fstab, as a user in a script, without needing sudo? > > Thanks, > David > ------------------------------
Hi David, You could take a look at the "pmount/pumount" commands ... you will need to install the "pmount" package first Regards, Lawson Hanson -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au