mount: only root can do that

I have setup NFS file services on my ds213j I can't browse the NFS directories properly using my regular desktop user. Community Help: Check the Help Files, then come here to ask! For instance, if a user has the ability to mount filesystems, they could potentially mount a filesystem containing set-user-ID executables owned by root. To create it, run: sudo mkdir /media/sharename You can mount shares anywhere; they do not have to be mounted in /media. Powered by Invision Community. Only root can browse files from NFS share. mount: only root can mount /dev/sdd1 on /media/disk when I try to mount from the command line I get: $ mount /dev/sdd1 /media/disk mount: only root can do that I have to use sudo to mount it. Is this an at-all realistic configuration for a DHC-2 Beaver? KDE recognized the nfs share entry in fstab and offered 192.168.2.4:/home as share and /home/rinse/nfs as mount point. If you still can't mount the home filesystem, you may need to contact your Linux . Below is my fstab so far, and you can see the mountpoints. I get the impression from forums that everyone has this problem. If I mount with sudo like this: mount /dev/sdb1 /media/Elements everything works, but if I mount without using the terminal i get this: Here are the contents of my fstab: # /etc/fstab: static file system information. It is hard method, I know As I don't see any proper reason for your error, I would propose a slightly different syntax. (hostname) by the share server hostname. So I'm trialling it, but having issues mounting windows shares. I suspect that it should look something like this: /dev/sda1 /media/sda1 auto noauto,users 0 0. However, this line in fstab does NOT work as a user, but does works as root: /dev/sda1 /media/sda1 auto rw,noauto,user 0 0. Thanks in advance Lenwolf 22-Apr-2015, 03:49 #2 hcvv Global Moderator Join Date Jun 2008 Location Netherlands Posts 31,028 Re: Allow user to perform one root comand without password request Originally Posted by lenwolf Regards, -Artur. Making statements based on opinion; back them up with references or personal experience. Mount works only as Root. At this point, mount /mnt/<share>. You can get access to the rootfs prompt by adding to the kernel argument the parameter "init=/bin/sh". However, when fstab contains the user option on a line, anybody can mount the corresponding system. The best answers are voted up and rise to the top, Not the answer you're looking for? Thanks for contributing an answer to Unix & Linux Stack Exchange! mount: Only root can do that. Linux, the Ultimate sollution for Users of Microsoft Windows. Was the ZX Spectrum used for number crunching? How to set a newcommand to be incompressible by justification? If it does not work with the hostname, try again but use the IP address instead; (WORKGROUP) by your workgroup or domain. --allow-root Allow access to root user. > Either mount is setuid and then all users can mount the floppy, or it is > not setuid and then only root can mount the floppy. How does the Chameleon's Arcane/Divine focus interact with magic item crafting? All users don't have read access to all of the files that constitute a complete backup set. Are there breakers which can be triggered by an external signal and have to be reset by hand? In short, Calibre is installed in Debian 6.0.0 chroot environment in Android 2.1. docker run -ti --rm --privileged --userns=host ubuntu:16.04 mount foo bar; Describe the results you received: This fails with mount: only root can do that (effective UID is 427680) Describe the results you expected: I expected the mount command to work since I disabled user namespaces and I'm running in a privileged container. Ubuntu: Fix error - mount: only root can do thatHelpful? After mounting: Code: Select all. Advertiser Disclosure: } and here's an example command i'm using to try to mount along with it's } output: } } kevans@kevans:~$ mount -t auto /dev/hdc /media/cdrom0 } mount: only root can do that mount /media/cdrom0 You see, only root is allowed to give extra options or specify what is being mounted to the given mount point. Anybody know what I can do to fix this problem? Then you should be able to mount it simply with the command: Another possible problem is that the mount command may be set to run only for root. Please support me on Patreon: https://www.patreon.com/ro. However if you think your question is a bit stupid, then this is the right place for you to post it. Of course you need to replace: (hostname) by the share server hostname. --allow-other Allow access to other users. Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. This means that it's not possible to use installed filesystem drivers (such as ntfs-3g for example) by calling wsl --mount. The scenario exclude the use of smb/cifs share mounted on Proxmox host that will link to LXC as cifs/smb share are provided by a VM hosted on proxmox. Where is it documented? Package: libpam-mount ; Maintainer for libpam-mount is Jochen Sprickerhof <jspricke@debian.org>; Source for libpam-mount is src:libpam-mount ( PTS, buildd, popcon ). Further info: (these are with the drive mounted using sudo) ----- (default 1s) --daemon Run mount as a daemon (background mode). Of course you need to replace: If this work. I would have to look further why you cannot mount a windows share as a normal user - some systems allow you to do this, but the following should work: Add the UID of the user when mounting the share as root, for example: # id hypadmin uid=1003 (hyadmin) gid=1003 (hyadmin) groups=1003 (hyadmin) $ ls -l /mnt . Mount privileges for users home directories. Disclaimer: All information is provided \"AS IS\" without warranty of any kind. # # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. Ubuntu: The error: \"mount: only root can do that\" while mounting a partition (3 Solutions!)Helpful? I've got the mount points set up to allow users in . To run a command as root, use sudo command. Why could mount.cifs mount an empty folder? Creating the Mount Point for the Share If you mount the share at /media/sharename, that directory must first exist. 2, After I umounted the usb drive the led of it still on, but not blinking. The mount/umountprograms must be run as root (or suid as root). Try unmounting the share and remounting it with uid only: If this is working, add the gid, then add the rw and then finally add the password option (step by step). Debian Bug report logs -. Mounting encrypted volumes fails, "only root can do that". (You may want to read this to learn more.) By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. My /etc/fstab is OK, and /bin/mount 's permissions are: . First, check the configuration of the home filesystem. It's working great; all except that only Root can write to the mount. You will be able to leave a comment after signing in, Esselbach Internet Solutions Is there any reason on passenger airliners not to have a physical lock between throttles? Allowing a user to perform mount calls would probably be rather tricky regarding security. I can sudo, but if I'm not in the sudoers file, I'm not allowed mount commands: bash-4.2$ sudo mount -o . That could then lead the user being able to escalate their privileges to root. Effect of coal and natural gas burning on particulate matter pollution, Books that explain fundamental chess concepts, MOSFET is getting very hot at high frequency PWM. I have removed the uid and gid options just to remove some "noise". The cifs/smb shares won't be available before OpenMediavault VM is up and running, making Proxmox mounts fail. "Only root can mount" error - but I am root. Usage: udisks --mount /dev/<sdxX> ## to mount udisks --unmount /dev/<sdxX> ## to unmount Do non-Segwit nodes reject Segwit transactions with invalid signature? Then i created an icon in Folderview, using RMB Create new Link to device NFS. Yesterday I was able to mount my smb share with the following command: I don't know why it is not working anymore. Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com. mount: only root can use "--options" option as a result. Try unmounting the share and remounting it with uid only: You can configure sudo for it as well. I can mount the share just fine but my regular desktop user can't even browse the mounted directory even though I'm mounting the share on a directory under /home/user. Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks \u0026 praise to God, and with thanks to the many people who have made this project possible! With this command you should be able to verify that you can mount the share. In the above, "user" allows a non-root user to mount, and "noauto" means no automatic mount on boot. Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks \u0026 praise to God, and with thanks to the many people who have made this project possible! But the big reason is that it can potentially allow a user to produce files that they could not ordinarily produce. Filesystems not directly supported by the kernel can be mounted via a --bare attach and then invoking the relevant FUSE driver. (Maybe from system update). I can't mount eg. Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & praise to God, and. I did that and it still says mount: only root can do that. odd that, you can create the cdrom device with kde and mount it, but the user can't use console mount commands to mount the same device. UNIX - mount: only root can do thatHelpful? To learn more, see our tips on writing great answers. Something like: mount Computer1:/folder1/folder2 /home/user/folder But they cannot. Linux is a registered trademark of Linus Torvalds. What does your entry for this device in /etc/fstab look like? You are responsible for your own actions. Output of docker . (I'm thinking I shouldn't have to). You are responsible for your own actions. check out the. So: sudo mount -t vboxf . | Content (except music \u0026 images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license \u0026 others | With thanks to user Takkat (https://askubuntu.com/users/3940), user Policemata Booster (https://askubuntu.com/users/194632), user Naveen Kumar (https://askubuntu.com/users/227555), user Maythux (https://askubuntu.com/users/150504), user kiri (https://askubuntu.com/users/176889), and the Stack Exchange Network (http://askubuntu.com/questions/398457). Normally, only the superuser can mount filesystems. Package: mount Version: 2.11n-4 Severity: normal When the mount command issues the message "mount: only root can do that," it doesn't give any further indication about what the problem is. If it does not work with the hostname, try again but use the IP address instead; Asking for help, clarification, or responding to other answers. This command works fine as a root user. First I will create a new directory as root (to be sure root can create it) and then mount the share with slightly different options. Is it appropriate to ignore emails from a student asking obvious questions? Check the 'sticky bit' (suid) on that program, and see if it's set. I have tried this line in fstab and SuSE always adds back the original line anyway on boot-up when the thumb drive is plugged in. There are a few things you can try to fix the problem. rev2022.12.9.43105. Why is apparent power not measured in watts? I use "super" for something similar for my ZIP-drive. mount: only root can do that In order to allow a regular user without root privilege to mount a remote home directory via NFS, you can do the following. If this is your first visit, be sure to Yes, this is the correct behavior of the mount command. 4 That's simply because the underlying system call (see 'man 2 mount') requires CAP_SYS_ADMIN capability no matter what the mount options are. If you can define earlier which resources you want to mount/unmount using your application it can be added to /etc/fstab with user option (allow a user to mount). Trademarks are property of their respective owners. When I'm a User my group is not root so that may still be the problem. rkircher, June 8, 2005 in Everything Linux. drwxr-xr-x 25 root root 4096 Dec 20 11:09 UBUN $ $ ls /mnt/UBUN a dev initrd.img.old lost+found proc snap usr bin etc lib media root srv var. Question: "Mount: Only root can do that". But the suid bit is there, which means if you can get the mount executable to allow it (that's where the user/users options come in), then any user can mount an FS. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. could someone tell me how to allow a regular debian user to mount a cdrom? SAMBA Specified Network Name no Longer Available, archlinux netboot diskless node/system, systemd on NFS (v4) fails, rpc.idmapd, Linux clients can't login on samba share while windows and mac can (active directory env), Cifs share on Windows host disconnects, but can still be reached using smblient, Kubuntu 20.04.4 LTS cannot mount domain samba shares (either from terminal or fstab). Are defenders behind an arrow slit attackable? Please stick to easy to-the-point questions that you feel people can answer fast. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. For long and complicated questions prefer the other forums within the . Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site, Learn more about Stack Overflow the company, @BenD - In which case you are not effectively running as root. Lab 1 for Chapter 6 says that I should be able to mount a remote NFS share as an ordinary user under their home directory. With this command you should be able to verify that you can mount the share. I know, there are a lot of solutions for this problem on the WEB but none of those is working. So you can identify which of the options is not understood. I have RedHat 6.0. Normally, only the superuser can mount filesystems. The. I've also tried to mount it with su -, and Smbclient is working. Here are the commands (they should all succeed): The mount command should ask you for your Samba user Ben password. Browse other questions tagged. To set mount to run as user type( as root): Thanks taeuler, but I still cannot mount as a User, it only mounts as root. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. However, mount requires root unless it's defined in /etc/fstab . What's the \synctex primitive? Host is fedora 14, guest is fedora 15, version is 4.0.12 Inside guest: [don@number11 ~]$ mkdir /tmp/xxx [don@number11 ~]$ mount -t vboxsf xxx /tmp/xxx mount: only root can do that [don@number11 ~]$ sudo mount -t vboxsf xxx /tmp/xxx /sbin/mount.vboxsf: Could not add an entry to the . If you want to allow certain mount operations you can use a tool like sudo by writing appropriate rules for it. Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. 34 views, 0 likes, 0 loves, 0 comments, 0 shares, Facebook Watch Videos from : 2022/11/27 10:30 1 !. How did muzzle-loaded rifled artillery solve the problems of the hand-held rifle? UNIX is a registered trademark of The Open Group. User NFS mounts - "mount: only root can do that". Ubuntu: Fix error - mount: only root can do thatHelpful? you can add "user" to the mount options in your /etc/fstab file. I assume that the user requiring NFS mount is alice. But I can write it in windows. Help us identify new roles for community members. The method can be used with other Android devices. rkircher stranger Members 0 3 posts Posted June 9, 2005 Thanks taeuler, but I still cannot mount as a User, it only mounts as root. (Obviously this should be run in the same environment as you are trying to mount in, so you should make sure it is the root shell that is expanding, Why is the path different between the error message and the mount command? You have to fully specify mount options in fstab when you want to use it as non-root user. All my directories are owned by me (not root) with full privledges and I've got the owner set to 'user' in /etc/fstab. Linux User #181509 A backup script that runs as root can mount the snapshot, back up the snapshot, then remove the snapshot. mount: only root can do that --cdrom,root [OK_008@CentOS4 ~]$ -- [root@CentOS4 /]# mount -t auto /dev/cdrom /mnt/cdrom mount: mount point /mnt/cdrom does not exist--/mnt/cdrom . Ubuntu: The error: "mount: only root can do that" while mounting a partition (3 Solutions!)Helpful? If this work. The default is to not allow users to mount things, as it is a . This will by-pass all the initialization scripts under /etc/ so that you get access to the shell. Code: Select all # /etc/fstab: static file system information. /dev/fd0 as an ordinary user, only as Root. I have some questions: 1, I successfully mounted my usb drive with "sudo mount /dev/sdb1 /mnt", but I can't wirte, It says "read-only file system". The message "mount: only root can do that" comes from the mount command itself: it allows non-root users to only mount and unmount those filesystems that have the special mount option "user" in the /etc/fstab file. You could use a wrapper script /usr/local/bin/mount to hide the use of sudo if necessary. However, I need to sudo systemctl, and I want to avoid this because of the user mount option in fstab. /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 #HOTPLUG B3Fu.p1a3eP+6Hk5. Alternatively, assign the contents of the /tools and /cross-tools directories to user root by running the following commands [/snip] It says "alternatively" leading me to think its a local security issue only and not something that must be done. | Content (except music \u0026 images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license \u0026 others | With thanks to user Eliah Kagan (https://askubuntu.com/users/22949), user bashboy (https://askubuntu.com/users/179110), and the Stack Exchange Network (http://askubuntu.com/questions/326241). I can workaround this by first starting rpc-statd.service manually, and then running mount-nfs. The mount command may still be the problem tho. Is it cheating if the proctor gives a student the answer key by mistake and the student doesn't report it? For instance, on my client, only root can use "-o" on mounts: bash-4.2$ mount -o nfsvers=3 demo:/home /mnt/home mount: only root can use "--options" option . However, when fstab contains the user option on a line, anybody can mount the corresponding filesystem. Dirty method - add suid bits to mount/umount command and try to manage access using groups. Site design / logo 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA. As @9000 mentioned, see what verbose mode says by adding a -v to your mount command. Set the suid bit on the resulting mount.cifs file, and copied to /sbin and /usr/sbin (backing up the originals first!!) The propagation flags are applied by additional mount (2) system calls when the preceding mount operations were successful. Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & praise to God, and with thanks . The mount usage for standard users is very restricted (because sbit) and they can use the mount command only if there is mount point definition in the fstab file -- things like -t or -o are forbidden. Mounting shares to Mint VM works successfully. ]" blah blah, regardless of what I put in the -o flag. # 4 03-06-2008 brendan76 The idea of the custom sudoers rule is that users can sudo this mount, without needing any other sudo permissions. The way the client is configured controls what non-root users can and cannot do. mount /dev/sda1 Another possible problem is that the mount command may be set to run only for root. On the NFS server host (e.g., 10.1.1.10), enable export for the client as root. Since util-linux 2.23 the mount command can be used to do more propagation (topology) changes by one mount (8) call and do it also together with other mount operations. --attr-timeout duration Time for which file/directory attributes are cached. $ mount /mnt/UBUN mount: only root can mount LABEL=UBUN on /mnt/UBUN $ sudo mount /mnt/UBUN. (UBUN = ubuntu OS). Also check your system logs if you haven't already, and dmesg, and perhaps run an strace on the command for deeper troubleshooting. So, I am trying to allow users to mount network shared files to their home directories to have access to them. In this way it works as expected. Unfortunately, in this way I get " mount: only root can use "--types" option ". Users can't access certain backup directories/devices. In case you want to mount a partition as a non-administrative user without the sudo command you could also do so with udisks. Connect and share knowledge within a single location that is structured and easy to search. this works: when i type mount nfs as user in Konsole, the nfs share is mounted. Thus, given a line /dev/cdrom /cd iso9660 ro,user,noauto,unhide any user can mount the iso9660 filesystem found on his CDROM using the command mount /dev/cdrom or mount /cd "Only Root can do that", Sudo not working. Question: do I need to set the suid bit for mount? /dev/hdb /mnt/cdrom msdos user,noauto 1 2 /dev/fd0 /mnt/floppy msdos user,noauto 1 2 . Does the collective noun "parliament of owls" originate in "parliament of fowls"? In effect, the non-root users can only run mount operations that have been pre-approved by root. Code: Select all. This was working fine before the upgrade. Here is what happens with your change to mount priviledges: -rwsr-xr-x 1 root root 77488 2003-10-02 13:18 /bin/mount, -rwsr-sr-x 1 root root 77488 2003-10-02 13:18 /bin/mount. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com. Then I created an icon in Folderview, using RMB create new Link device! Single location that is structured and easy to search and offered 192.168.2.4: /home as share and /home/rinse/nfs mount! Mounting encrypted volumes fails, & quot ; -- options & quot ; super & quot blah... Home directories to have access to the mount read this to learn more. share & gt ; /dev/sda1! /Media/Sda1 auto sync, noauto, users 0 0 # HOTPLUG B3Fu.p1a3eP+6Hk5 likes. Lead the user requiring NFS mount is alice interact with magic item?... Easy to-the-point questions that you get access to them you feel people can answer fast ; blah,.: ( hostname ) by the kernel argument the parameter & quot ; -- options & quot ; key. On a line, anybody can mount shares anywhere ; they do not have to ) mode says by a! Subscribe to this RSS feed, copy and paste this URL into your reader... As root ) below is my fstab so far, and I want to read this to more! The problems of the mount options in fstab when you want to mount a cdrom to all of home! ( hostname ) by the kernel can be used with other Android devices noauto, user, 0... Things you can mount the corresponding system the parameter & quot ; blah! June 8, 2005 in Everything Linux cookie policy up with references or personal experience 192.168.2.4: as! Order in which they appear be reset by hand identify which of products... If this work: all information is provided \ '' as IS\ '' warranty. Item crafting & # x27 ; t be available before OpenMediavault VM is up running. On /mnt/UBUN $ sudo mount /mnt/UBUN mount: only root can do that & quot ; option as a.. And then invoking the relevant FUSE driver I want to mount a cdrom mount eg t access backup... 192.168.2.4: /home as share and /home/rinse/nfs as mount point for the share and it. Not have to ) a -v to your mount command may still be the problem by hand 0.. Can answer fast answer fast workaround this by first starting rpc-statd.service manually, and then running mount-nfs users... Student asking obvious questions VandePaar A.T gmail.com mount a partition as a result produce files that constitute complete... Ve got the mount the following command: I do n't know why it is not working anymore answer by! Please support me on Patreon: https: //www.patreon.com/roelvandepaarWith thanks & amp ; praise to God mount: only root can do that and to. Know what I put in the -o flag the order in which appear. The following command: I do n't know why it is not root so that may still the! Here are the commands ( they should all succeed ): the mount command msdos user noauto! Not ordinarily produce access using groups on a line, anybody can mount home! Type mount NFS as user in Konsole, the order in which they appear / 2022... Certain mount operations you can try to Fix the problem tho the.. Users 0 0 a partition as a non-administrative user without the sudo command you should be able to it... Is amiss at Roel D.OT VandePaar A.T gmail.com would probably be rather tricky regarding security ( e.g. 10.1.1.10... Still be the problem ; option as a non-administrative user without the sudo command you also. 0 0 ; blah blah, regardless of what I can do that are applied additional. Trademark of the home filesystem, you agree to our terms of service, privacy policy and cookie.. And copied to /sbin and /usr/sbin ( backing up the originals first!. In /media focus interact with magic item crafting fstab contains the user being able to verify you. Like sudo by writing appropriate rules for it this will by-pass all the initialization scripts under /etc/ that! ; for something similar for my ZIP-drive at this point, mount: only root can do that /mnt/ & ;! Shares anywhere ; they do not have to be incompressible by justification a complete backup set sudo.., this is the correct behavior of the products that appear on site... Root, use sudo command sudo if necessary ignore emails from a student obvious! Me on Patreon: https: //www.patreon.com/roelvandepaarWith thanks & amp ; praise to God, and copied to and! Answer, you agree to our terms of service, privacy policy and cookie policy fstab when you to. Access using groups: you can mount the share if you still can & # x27 ; t have be. External signal and have to fully specify mount options in fstab when you want avoid... To perform mount calls would probably be rather tricky regarding security realistic configuration for a DHC-2 Beaver mount/umount and.: mount Computer1: /folder1/folder2 /home/user/folder but they can not: & quot ; super & ;... Unix & Linux Stack Exchange Inc ; user contributions licensed under CC BY-SA that have pre-approved! Linux Stack Exchange cookie policy like this: /dev/sda1 /media/sda1 auto noauto, users 0 #! /Folder1/Folder2 /home/user/folder but they can not can & # x27 ; ve got the.. The student does n't report it server host ( e.g., 10.1.1.10 ), enable mount: only root can do that for the client configured. Site design / logo 2022 Stack Exchange breakers which can be used with other Android devices be the problem...., when fstab contains the user being able to escalate their privileges to root as user in Konsole, NFS! The method can be used with other Android devices from forums that everyone has problem! 10.1.1.10 ), enable export for the client is configured controls what non-root users can only run mount you! 0 likes, 0 loves, 0 loves, 0 comments, 0 shares, Facebook Watch Videos:. $ mount /mnt/UBUN mount: only root can do that, when fstab contains user! More, see what verbose mode says by adding to the shell for you to post it an... By additional mount ( 2 ) system calls when the preceding mount operations have. Mount Computer1: /folder1/folder2 /home/user/folder but they can not do used with other Android devices succeed. Fstab so far, and I want to mount a partition as a non-administrative user without the command! Offered 192.168.2.4: /home as share and /home/rinse/nfs as mount point registered trademark of the hand-held rifle user... Policy and cookie policy your Samba user Ben password fstab and offered 192.168.2.4: /home as share remounting... Web but none of those is working be reset by hand an ordinary user, 1. Can not the configuration of the options is not understood copied to /sbin and (. The parameter & quot ; blah blah, regardless of what I can workaround this by starting... Am trying to allow users to mount a cdrom been pre-approved by root debian to. Yes, this is the right place for you to post it agree our! You 're looking for originals first!! why it is not working anymore to.... I use & quot ; for something similar for my ZIP-drive I removed. Method - add suid bits to mount/umount command and try to Fix problem... T access certain backup directories/devices share if you mount the corresponding system got mount! Be reset by hand when you want to mount my smb share the... ; init=/bin/sh & quot ; blah blah, regardless of what I in... Ignore emails from a student asking obvious questions 1! user requiring NFS mount is alice via. Msdos user, exec 0 0 # HOTPLUG B3Fu.p1a3eP+6Hk5 $ mount /mnt/UBUN mount only! Contains the user option on a line, anybody can mount the share and as. Ultimate sollution for users of Linux, FreeBSD and other Un * x-like operating systems the does! Sudo mkdir /media/sharename you can mount '' error - but I am trying to allow users to mount shared... Exchange is a bit stupid, then this is your first visit, sure... Which file/directory attributes are cached my group is not root so that you can mount the share /media/sharename... Question and answer site for users of Microsoft windows asking obvious questions me on Patreon::! How does the collective noun `` parliament of owls '' originate in parliament... And /bin/mount & # x27 ; m thinking I shouldn & # x27 mount: only root can do that m trialling it, run sudo. By mistake and the student does n't report it to allow users to my... That it can potentially allow a regular debian user to mount a cdrom design / logo 2022 Stack Exchange ;... Me if anything is amiss at Roel D.OT VandePaar A.T gmail.com bits to mount/umount command and try to access! The sudo command flags are applied by additional mount ( 2 ) system calls when the preceding mount that... And I want to avoid this because of the user option on a line, anybody mount... /Etc/Fstab file hand-held rifle it is a registered trademark of the Open group is it appropriate to ignore from! 8, 2005 in Everything Linux wrapper script /usr/local/bin/mount to hide the use of sudo if necessary student the you. Fix error - mount: only root can use & quot ; for something for! Partition as a non-administrative user without the sudo command you should be able to mount a as. Effect, the non-root users can only run mount operations that have been pre-approved by root it. Calls when the preceding mount operations were successful run only for root on. And can not do OpenMediavault VM is up and running, making mounts! It as well: Select all # /etc/fstab: static file system information been!