LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   no-root user can not mount a remote nfs directory? (https://www.linuxquestions.org/questions/linux-general-1/no-root-user-can-not-mount-a-remote-nfs-directory-266919/)

xiamw 12-16-2004 12:02 AM

no-root user can not mount a remote nfs directory?
 
hi all,
When I use the "mount -t nfs" command to mount a exported nfs
directory , I got the message "mount: only root can do that". Does it
mean no-root users can not use nfs?

regards

dalek 12-16-2004 01:00 AM

That appears to be what it means. You can type in su, hit enter, then type in the root password and mount it. I think you can edit the fstab file so that users can mount that too. I think you add "users" to the options. Example:

Code:

/dev/cdroms/cdrom0        /mnt/cdrom                iso9660                noauto,ro,users                0 0
I think that works. Don't kill me if it don't though. :tisk:

Later

:D :D :D :D

xiamw 12-16-2004 06:36 AM

it works!
Cann't kill you.. :D

dalek 12-16-2004 09:29 AM

Right now, I'm to cold to die. It is freezing down here. Who took me to Minot North Dekota???? I'm pissed!!!

Glad it worked though. I thought that was right but I'm the only one that uses this thing so I have the root password. :D

Later

:D :D :D :D


All times are GMT -5. The time now is 05:32 AM.