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:
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):
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.
I'm using fedora8.When i mount shared folder on windows,it was mounting and i can browse the files and directories in terminal as i have full permissions on that.But,when i open the mounted directory in GNOME Environment,it was saying you did not have permissions to see the contents,every directory and file has been locked.
I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.
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.
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.
I have two partitions: one for Ubuntu 64-bit and another one with the format NTFS only for keeping documents. I have shared one folder of this NTFS partition, but every time I reboot the PC (or shutdown and start again for that matter) the folder is no longer shared.Why?How can I prevent this folder to be un-shared when I reboot the computer?
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
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.
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.
I have an external HD attached to my desktop and setup as a shared resource. I want to be able to access it from my laptop as well. After much trying and drinking, I ended up with this in fstab:
//crackbox/seagate /seagate -o
then began giving me an error about not recognizing the file system type. I've been reading everything I can find and trying to get it to work, and have come up with very little. My fstab now contains this line instead of the above:
Now, when I reload fstab with "sudo mount -a", I get this output:
I want to give a mounted folder /mnt/folder access so that 'root and the group test have read write access' and all other users have read access I understand most of the chmod command, the users groups world etc but where in the 'command' do you specify which 'group' or 'user' you are giving the read / write access to? in all the tutorials i've seen no where do you specify the actual group or user.
I am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.
I wanted to enable file sharing in for one of my folders under the home directory. I noticed that the 'not shared' and 'shared' always defaulted back to 'not shared'. And now I see what looks like an electrical plug icon symbol over the folder icon symbol like I might see used for some of the root folders. What does the new icon indicate about the folder attributes and why does file sharing default to 'not shared'?
For example we have a PC with Linux and, let's say, ext4. It is connected to another PC with Linux and Samba-shared dir.First PC mounted shared dir of the second one. So it's in the filesystem, for example in "/mnt/000/". What will happen if I unplug the net cable from first PC? Will ext4 on the first PC crash so I'll have to perform fsck? I know that hot unpluging of mounted HDD probably will make filesystem read-only available and generally damaged.
no idea what went wrong. computer was apparently shutdown halfway through installing major system updates. now booting into terminal(gnome?), and displaying error messages: one or more of the mounts listed in fstab cannot yet be mounted: (esc for recovery shell) /: waiting for /dev/disk/by-uuid/[loooooong string of aplha-numeric(a/#) babble] /tmp: waiting for (null) swap: waiting for uuid-[another (diffrent-but-similar) string of A/# babble]~~user input: esc (the phrase: '^] pops up)
i'm over my head. i tried everything from chmod on 'lock' to gethost (which turned out to not be installed.) nothing is working yet.
I mount the shared drives (on a Windows Server 2003) and I can access them from my home directory. Everything is mostly fine. But I also get desktop icons for the shared drives, which I don't like since I prefer a bare desktop. Sometimes I have deleted desktop icons from /usr/share/dist/... but these are not there.
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
I CAN mount them by first executing sudo umount -a (which tells me that the two partitions in question cannot be unmounted, because they are not mounted) and then sudo mount -a (which correctly mounts the two partitions). The mount does not work, if I omit the umount command.
My computer has three drives: one with windows7,one as a storage drive, and an ide drive. I have ubuntu 10.04 installed on a seperate partition on the storage drive (+swap partition).I have "/etc/fstab" automatically monut these drives on startup:
I have two ext4 partitions: one with Ubuntu 10.10 64-bits and the other just for storing files.When I log on to Ubuntu, my second partition is not mounted. Shouldn't Ubuntu mount my second partition by default (since it recognizes it as ext4)?If it should, why is this happening to me?If it shouldn't, how can I get my second partition to be mounted at startup? Should it be by using the same solution provided by prayag_pjs (first reply)[URL]
I have 2 partitions on my computer:one is "64 GB ext4" (with Ubuntu 10.10 64-bit)and the other one is "Data 436 GB NTFS" (just for storing files)On startup the second partition is not mountedefore I click on "Locais" this is in Portuguese (the button between Applications and System on the top bar) > "Data".
using suse 11.3 and kde 4.4.4 on the mounted fat32 partition I cannot change icons partition is mounted in fstab in this way:/dev/sda8/ /dati vfat user, users, gid=users, umask=0002, utf8=true, 0, 0.I can create files folders modify, move and save them on the partition but if I try to change the icon (in dolphin right click>properties>click on icon) of the /eros folder (or any other folder or link) system gives me this error:impossibile salvare le proprieta' , non hai accesso sufficiente per scrivere su /dati/eros/.directory tha in english is something like this: impossoble save properties, you havent enough permission access to write on /dati/eros/.directory this happen also as superuser I remember that with suse 11.0 or 10.3 I was able to change icons on fat32 partitions, now with 11.3 I cannot, there ought to be a way to do what I did with the previous version with this 11.3 brand new ad more advanced version shouldn't it?
I've been searching for a solution get mount my NTFS FakeRAID automatically when 9.10 64-bit starts, but haven't managed to find a solution.Currently, after boot, dmraid activates my RAID automatically but does not map the partitions on the drive:
Code: $ ls /dev/mapper/ control isw_bibdafajea_Vault
i reinstalled opensuse yesterday.when i turn on my system every time i need to enter my root password to mount my partitons.please see the following image.i want to automount all partitions on startup without giving root password(before reinstalling opensuse it didn't ask root password to mount my partitions)
I added a 1TB USB drive to a Red Hat 5.3 system. I added the following line to the /etc/fstab to automount the drive at startup.If I manually the mount the drive (mount /mnt/external), I can access and read/write to the external USB drive without any issues. My problem is that during the startup process after a reboot, the drive is not being mounted automatically.
We have an Iomega StorCenter ix4-200d in our office. for past two days the shared public folder is not getting mounted. but it's working fine through the web interface i.e user can upload/download.that rules out the permissions problems.
I am providing the output of mount command:
t227@t227:/var/log$ sudo mount -t cifs --verbose //220.127.116.11/public /mnt/public/ -o username=shrey [sudo] password for t227: Password:
in fact i can't access any of the folder which I am having permissions to rw.but it's working fine through the web interface.