Ubuntu Security :: Forbid Non-root To Unmount Fstab-mounted Partitions?

Jan 4, 2011

Is it possible to forbid a non-root to umount a partition that was mounted via fstab-entry?

View 2 Replies


ADVERTISEMENT

Ubuntu :: 9.04 - Mounted Partitions Disappeared (Fstab Is Bad)

Jan 14, 2011

My Laptop has Ubuntu 9.04 and I am using it for the past one year. I have four partitions. Gparted Screen Shot attached.
/dev/sda5 was mounted as "Laptop 2"
/dev/sda6 was mounted as "Laptop 3"

But from today morning I was not able to access any of the files from my hard disk. When I press the "Computer" Menu Item from the "Places" menu I could access all the files on my hard disk. It shows an error message attached with this thread. The system boots perfectly and work perfectly. "Laptop 2" and "Laptop 3" disappeared.

I searched the net and found ways to mount the Partitions with these following commands.
sudo nano /etc/fstab
# /etc/fstab: static file system information.
# 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. See fstab(5) .....

Is there any way I could use "Laptop 2" and "Laptop 3" as my mount points as it was earlier.

View 9 Replies View Related

Ubuntu :: Put A Line In /etc/fstab To Mount One Of Partitions With Owner And Group Not Root

Jan 9, 2010

According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.

View 9 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Ubuntu Servers :: Mounted NFS Share Will Not Unmount?

Jan 8, 2010

We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!

Code:
david@scatha $ mount | grep nfs
example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=123.123.123.123)
Now when I try to unmount it:

[Code]...

View 4 Replies View Related

Ubuntu :: Fai To Unmount / Some Drives In System That Appear To Be Always Mounted?

Feb 18, 2011

there are some drives in my system that appear to be always mounted (were at some point) that I cannot get rid of - i checked fstab, and do not appear there - 2 are related with the use of truecrypt, and 1 is from an exernal HD

I use Maverick 10.10 x64

View 3 Replies View Related

Fedora Security :: Root Access For Winows Partitions?

Oct 6, 2009

I'm currently running a dual boot (VistaFedora 11) system. I've noticed that the first time I access files on the Windows partition (via Nautilus GUI) I'm prompted for root access. However, on subsequent attempts to access the Windows partition I am NOT prompted for root access (even after I close/re-open Nautilus). My concern is that I'm leaving my root access "open".

View 4 Replies View Related

OpenSUSE Install :: Boot - Utorrent Starts Before Fstab And The Network Drive Is Unmount

Jul 9, 2011

I succeed in uTorrent server's install as a daemon in Opensuse 11.4 and it works great. I've already change my fstab file to add a network drive to be mount on startup localize in /mnt/freebox/. This is also working great. The issue is during the startup, utorrent starts before fstab and thus the network drive is unmount.
In my utorrent init.d daemon script, I ask for $Network starts in first time: Code: Required-Start: $network Is there any possibilities to order the startup and ask to fstab to start before uTorrent Daemon?

View 4 Replies View Related

Ubuntu :: Unmount/hide Unwanted Partitions?

Apr 20, 2010

I have a number of partitions in my Places menu that refer to either System Reserved or NTFS partitions which I have no interest in accessing and would just like to unmount/hide.

View 1 Replies View Related

Ubuntu Installation :: Failed To Unmount Partitions - Install From Iso?

Feb 9, 2011

I am attempting to install 10.10 from the iso because I have no working cdrom. I uncompressed the .iso to a ext3 partitions and put the correct entries in the menu.lst file. It starts ok. The problem occurs when I attempt to install to the hard drive. At a point I get the error,

Failed to unmount partitions The installer needs to commit changes to the partition tables, but cannot do so because partitions on the following mount points could not be unmounted./cdrom I have a choice of continue or go back. If I continue the install hangs. If I go back I cannot continue. How do I fix this problem?

View 1 Replies View Related

Ubuntu :: Mounted Partition Not Showing Up In Fstab

Jan 16, 2011

I'm totally new with linux and Ubuntu. I've just installed 10.10 yesterday and since then it's been an uphill struggle These forums has helped me out quite a bit already so I hope you can continue doing it with this problem I have.I got a single drive where the bootpartition is ext4 and the other "storage" partition is a remenant from a windows 7 installation I had, with NTFS. Decided I wanted to give Ubuntu a try! Now i've run into permission trouble though, mainly because I wanted to set up an FTP server (oh what a struggle THAT's been, I have some stories... ). I've done a "mount --bind" so that I can reach different resources directly from my chroot. It turns out though that the mounted partition isn't giving anyone except the owner (me) permission to see the resources. FTPing into the server gives the mount points but gives a 550 error and can't list anything inside of them.It works perfectly for me just running it at the prompt or using the mount points directly in the Ubuntu GUI though (since I'm the owner/admin/whatever).

My intended solution that I've found was that people with NTFS drives did a few magic tricks with the line of text in Fstab so they could access their NTFS drives. Problem for me is that my sda3 mount isn't showing up at all in fstab, even though fstab is supposed to (as far as I know) show all mounted devices on there. All the while, I have my sda3 totally accessible from /media/Storage/. Any pointers as to why this is?After I installed Ubuntu, I just mounted the sda3 with the Disk Utility from System->Administation and didn't think much of it afterwards until now.What's the best course of action here? remount the ntfs partiton using fstab? Convert the ntfs partition into an ext4? I have a lot of data on there I want to keep as well.

View 4 Replies View Related

Fedora :: Mount And Unmount Data Partitions

Jul 29, 2011

I'm in the process of building a new Fedora machine. I use the machine for a VMWare server, the file server for the house as well as a Linux desktop for work.My current machine has a single 1.5GB hard drive. The new machine will have a mirrored RAID drive(2TB). I'm also contemplating using a smaller 250GB drive for the OS installation. I would then divide up the 2TB drive into /home and /var/lib/vmware partitions where the bulk of the data would reside.The goal is to be able to unmount the /home and /var/lib/vmware partitions when I need to upgrade the OS version with the data intact and remount them once the new install is complete.

The goal is to keep the family network file shares and my Virtual machines intact while reinstalling the new Fedora OS from scratch. In theory it should work. I just want to mak an (in)sanity check to ensure it will work in practice.

View 2 Replies View Related

Ubuntu Installation :: Kubuntu 10.04 Not Installed - Failed To Unmount Partitions

Jun 4, 2010

When I try to install Kubuntu 10.04 from the live CD (ran the installer from the Live Desktop) I get this error:

I then get sent back to the partitioner after clicking continue. Nothing but the installer/live desktop is using the cdrom. How do I install it? I have also tried running the installer without the live desktop, and it still throws the same error at me.

View 4 Replies View Related

Ubuntu :: Can't Boot: One Or More Of The Mounts Listed In /etc/fstab Cannot Yet Be Mounted?

Jan 6, 2010

I "upgraded" to Karmic and now my computer won't start. It shows the grub menu, I select the first Ubuntu option, and it shows the white logo. Underneath the logo these words appear, and it does nothing:Quote:One or more of the mounts listed in /etc/fstab cannot yet be mounted: /boot: waiting for UUID=338c820e..Press ESC to enter a recovery shell

View 9 Replies View Related

Ubuntu :: Shared Folder Mounted On Startup - Fstab

Oct 27, 2010

I want to have a shared folder mounted on startup and I put the following in my fstab:
Code:
VMShare /media/VMShare vboxsf defaults,gid=1001,dmask=002 0 0
Where did 1001 corresponds to the virtual share group.

When I boot up the permissions are as follows(from ls -l):
Code:
drwxr-xr-x 1 root virtualshare 68 2010-10-27 15:45 VMShare/

So I'm curious why it's group permissions aren't the same as owner? In the fstab I put dmask=002 which should lead to rwxrwxr-x so basically full permissions for owner and group and read/execute for public. However thats not what I'm getting. Also once I get this working correctly am I going to have an issue if the virtualshare group isn't a users primary group? On some older unix servers I ran into this issue, hopefully it won't matter as long as the user in in the group.

View 3 Replies View Related

Ubuntu :: Eepc 900 16GB Disk Is Mounted But Not In Fstab?

May 18, 2011

ASUS eeepc900 Easy Peasy 1.6 (Ubuntu 10.04)

After I boot the 16GB second SSD disk is mounted as HOME on /media This seems to be a default. However there is no entry in /etc/fstab to do this. How does it happen?

I want to move my home directories to be on the 16GB disk so I need it to be mounted on /home rather than where it is by default which is /media/HOME

View 3 Replies View Related

Hardware :: Cannot Unmount From Hard-drive To Create Partitions

Feb 27, 2009

I am using a live-cd version of linux and want to install it to my hard-drive but when i try to unmount it and go into qtparted, it says it is still busy so i cant perform changes. This is my result when i type "mount"

Code:

aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

[code]....

View 3 Replies View Related

Ubuntu Installation :: Remove The 10.04 - Unmount Any Logical Partitions Having A Number Higher Than 5?

Feb 24, 2011

My partition table is as follows:

sda1 - WinRE - Something Windows uses
sda2 - Windows7
sda3 - Data

[code]....

I need to remove Ubuntu 10.04 and so I therefore need to remove sda5 and sda6, right? Upon deleting sda5 in Gparted it tells me to "unmount any logical partitions having a number higher than 5".

View 2 Replies View Related

Ubuntu :: Boot Up Failure - One Or More Of The Mounts Listed In Etc/fstab Cannot Yet Be Mounted

Aug 19, 2010

ubuntu 9.10. Won't boot. Not a new installation, no new hardware. When I boot it up into 2.5.31-22-generic safemode it says: One or more of the mounts listed in etc/fstab cannot yet be mounted: /home: wating for UUID...

Booted up w/ live CD, fsck says that /dev/sda3 is clean I have a 320 GB hard drive, 20 GB is the linux boot, 2 GB is swap, and the rest is /home. Palimpset Disk Utility can recognize the 20 & swap, but says the rest is unrecognized.

View 1 Replies View Related

General :: Manually Unmount Partitions Everytime Shutdown - Restart / Should I Do It?

Mar 21, 2010

I edited fstab file and added my hdd partitions to it. just wondering should i manually unmount my partitions everytime i shutdown or restart.

View 4 Replies View Related

General :: Owner Could Not Execute Files Until Mounted In Fstab?

Nov 17, 2009

I'm trying to understand the last few hours... I installed slackware 13 yesterday in a multiboot system. On a seperate hdd from all the OS's I have my mp3 collection......I could play the mp3's as root after manually mounting sdb, but as a user I was unable to play them even though I chown'ed and chmod'ed 777 until I mounted sdb in fstab. The second drive was formatted ntfs by vista.

View 3 Replies View Related

Ubuntu Installation :: Order Of Partitions For Root / Home And Swap With Respect To Windows Partitions?

Feb 9, 2011

I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?

View 1 Replies View Related

Ubuntu :: Unable To Unmount Usb Drives When Not Root

May 2, 2010

After upgrading from 9.10 to 10.04 I am unable to unmount usb drives when I'm not root. Every time I have to type "sudo umount /media/... " and give my password. When I right click the drive and click unmount, I get the following message:
Unable to unmount disk1 unmount: /media/disk1 not is not in the fstab (and you are not root)

View 9 Replies View Related

General :: Mounting The Partitions Without Fstab?

Jun 23, 2011

I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?

View 6 Replies View Related

Software :: Binding LVM Partitions In Fstab ?

Feb 18, 2011

I'm trying to bind a couple of LVM partitions to directories in the /export directory for NFS hosting. I just want to make it clear that the partitions I'm trying to bind are local LVM partions, the binding is to allow NFS export (they are not networked partitions).

My distro is Ubuntu 10.10 if that makes any difference.

I can bind the partitions perfectly manually using this as an example:

Code:

However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:

Code:

Are their subtleties with LVM that I do not understand?

Before setting up LVM, I previously had partitions bound in fstab with no issues using regular partitions (for NFS export again).

my fstab:

Code:

View 3 Replies View Related

Ubuntu :: FSTAB Timeout - Recover Lost Partitions ?

Feb 21, 2010

I woke up this morning to a non-booting 9.10 computer. After my grub screen disappears, I get the familiar Ubuntu b/w logo in the center of my screen. My hard drive cranks for an abnormally long time and then I get the following error:

I booted into a live CD and opened up GPARTED and my sdb4 (my /home location) partition shows up. I do a check on it and it seems ok.

I opened the Palimpsest Disk Utility to see what it said and it shows sdb4 as Unknown or Unused. I can not mount this drive using GUI methods.

I did some research on the forums looking to recover lost partitions. here is the output from fsck

Code:

and the abbreviated output from fdisk -l

Code:

Disk identifier:

This seems ok too.

My next step was to try testdisk. When I ran it, I was able to navigate this partition and apparently see all my files. I then tried to mount the partition manually.

Code:

That also worked.

It seems to me that I practically have this thing where I need it without too many worries.

My question is: What is the next step to get this back booting again? I'm afraid of rewriting the partitions in testdisk until I get some feedback on whether this will really solve my problem. Maybe the partition isn't the problem? Is it something else and I've been going down the wrong path?

View 4 Replies View Related

Ubuntu Servers :: VirtualBox - Partitions In Fstab Hosed

Jun 23, 2010

Every time my kernel is upgraded (happens often), I reboot and forget to reinstall the VirtualBox guest additions, so my partitions in fstab that use vboxsf (for shared folders) are hosed.

View 1 Replies View Related

Debian :: Mount NTFS Partitions In /etc/fstab?

Jun 29, 2010

Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.

a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.

b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?

c) Which options should I use?

d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).

View 5 Replies View Related

Ubuntu :: Max Amount Of Mounted Partitions

May 11, 2011

I'm just wondering because I'm going to to test out just how many partitions I can make and mount on GPT. Is there a theoretical limit on the amount of partitions or mounts allowed? I was thinking there would be depending on if you were running i386 or x86_64 because both can only handle up to a certain interger.

View 7 Replies View Related

Ubuntu :: Can't Unmount External Hard Drive Without Root Not Being Detected By GParted

May 26, 2011

I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.

It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:

Quote:

sudo mount /media/My Data
mount: can't find /media/My Data in /etc/fstab or /etc/mtab

Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).

The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved