Other users can't access my second SATA HDD until I have logged in and clicked on it (or saved or opened a file, etc) and it asks for a password. Once I enter a password then I can access it and so can other users.
I figure I need to auto mount the drive.
I can't seem to view the fstab. In a terminal it says 'permission denied'. I've tried changing to root but get 'Authentication failed'
P.S. I was sure under Kubuntu 7 or 9 you could right click on the icon and select 'automount'. Or was it MEPIS...?
I run ubuntu 9.10, and my wife runs winxp. I am trying to setup an automount of her storage (D) drive in my fstab. here is the line in fstab:
The share mounts with no errors, but when i go into palces and view the share, it is blank, totally empty. I can create and delete documents here, but the next time I open the share, i cant see anything. If i connect to the share using places>connect to server, everything is fine. If i connect using places, network, and browse to her machine, it works just fine.
Today i did a fresh install of karmic, installed smbfs, added the above line to fstab, same issue. I have searced and searched but I haven't found a problem exactly like this. This setup has been working fine until sometime recently. I cant be sure exactly when it stopped working, or why. The reason I need it to automount is I have several applications that point to that drive. It is worth noting i have tried several variations on the line in fstab, all with the same results.
I'm probably missing something noobishly obvious here. I recently did a fresh Lucid install on my main desktop box, which had previously been running Karmic. With Lucid I can no longer use fstab in my laptops to automatically mount the desktop's shared media drive. Using the mount command works fine. One laptop is running Karmic, the other is running Hardy.This is the line in fstab on both laptops:
Code: //192.168.0.123/multimedia /media/multimedia cifs username=x,password=y 0 0 This is unchanged since the desktop was running Karmic, where auto-mounting from the lappys worked just
I have been running a server for 3-4 years now, and my shares have been mounting just fine. Well, the network admin looked at a backup and seen that the last date backed up was june. I got to looking around and seen that the share is not mounting. I can mount it with sudo mount -a, which tells me my syntax is correct. I get an error about IPv4 socket not opened and it is aborting the operation when I run dmesg | tail, since I can use the above command to mount later, it sounds to me like it is trying to mount before the network connection is ready.
I have done some looking over some init scripts and found that in the /etc/rc.d/init.r/netfs script it has a line that states that it is checking to see if the network is up before it starts to mount the filesystems and the such. This is set to no, my question is, can I change this option to yes and get my desired results, waiting for the network to be up before it mounts the filesystems.
I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.
Here's an example of two: //IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0 //IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users
I can execute a command
Code: sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.
And right after I restart, all users have permission to read and write, and everything is fine. However, I have an automated backup utility (BackinTime) installed to back up particular (mounted network) directories every night, but whenever I check up on it the next day, I get the error "Unable to mount ..... Authorization required". (These network directories are mounted into the local filesystem in fstab as well.) Oddly enough, if I run BackinTime by hand as the users, it works fine. I'm running 10.04 LTS.
mc (Midnight Commander) in Kubuntu 9.10 (Karmic Koala) has a problem accessing .zip and other archives as a virtual file system. It has to do with a changed format of the output from unzip. Discussions offer a workaround, but that requires system (i.e. root) file access; my work box is locked down.
I have Ubuntu (without the K) 9.10 at home, and I downloaded the source package and made a code change that's a horrible hack (I would not dream of publishing) that would allow me to run my own correctly working copy of mc in a subdirectory of my $HOME. Alas, my "at home" box is configured differently, both in terms of processor(s) and KDE vs. Gnome; a transferred-over mc executable fails immediately with bus error.
Sometimes Linux just make you want to throw the PC out of the window, and get a new one with WINDOWS on it...Having only just "got" the idea that there are a nunber of ways of issuing chmod, I now find that there is yet another when in the fstab file. It is an easygoogle to find out a workaround to make this drive RW, but doing that way one does not learn what is actually happening.how do I find out UID and GID? fmask and dmask, how do I find out what the current settings mean, and what they should be to allow RW access for various groups/users or for everyone?
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:
- Debian Lenny - Archlinux 64bit
Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:
I read that there will be a plugin for Amarok to access the Ubuntu One Music Store, but haven't heard anything of it since. Will the plugin be ready before 10.04 or when 10.04 launches? Or will there be another way to access the Music Store from Kubuntu without installing Rhytmbox?
I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.
When I plug in a removable device, KDE automounts it, but I prefer to do this manually (also perhaps not liking the idea that any user could plug a device in and have it mounted). I've searched around and looked at KDE -> System Settings -> Removable Devices, and "Enable automatic mounting of removable devices" is already unchecked
Original HOWTO can be found at: [URL]... So the other day I was in IRC and someone had brought up a problem where they created a new Administrative user, but didnt have rights to use sudo. Looked into the problem a little bit to figure out what was wrong, and it turns out that when you create a new user through the user manager (in kubuntu, anyways. Havent tested in Gnome.) the user gets added to the adm group, however, a quick look at the sudoers file shows that its looking for users in the admin group to allow the use of sudo. So, to solve the problem we do the following: If youre on the new admin user (which Im assuming you are) use the following commands:
Code: su [insert username of old account without brackets] sudo usermod -G admin [username of new admin account without brackets] exit
Then simply logout, and then log back in (not always necessary, but the easiest way to flush the permissions.)
Code: su [insert username of old account without brackets] Means were going to Switch User to the old admin account Code: sudo usermod -G admin [username of new admin account without brackets] This simply adds the admin group to the secondary group list for the new user Code: exit Pretty self explanatory
I have two OS in my system. Windows& and Kubuntu. Both are in separate hard disks. I was using both. In between i have upgraded my system. now when i am giving priority to hard disk containing kubuntu, i can login to kubuntu, but cant get in to windows7. i have upgraded grub but not working. when i am giving priority to hard disk containig windows7 it enters and work properly. but not working in the previous.
Tri-booting. They were installed in the order I listed above. I ran into a few bugs with Kubuntu, so I no longer want to use it. I want to use GParted on a LiveCD to format Kubuntu and expand my Ubuntu home partition to sit on top of Kubuntu's space right now. If I nuke Kubuntu, will Grub still exist with my Ubuntu/XP entries to boot?
But now I'm trying to figure out how to make it auto mount on boot. I understand I need to add a new entry to /etc/fstab, so I perform: $ sed -i '$ a/dev/xvdf /mnt/mongo xfs defaults 1 1' /etc/fstab But, after reboot, it seems that the auto mount didn't work. The device didn't appear in the df -h list.
For whatever reason /dev/sda3 (at /tydelik) does not mount itself (like all the other partitions) when the system reboots.
In YaST's expert partitioner it says that:
An asterisk (*) after the mount point indicates a file system that is currently not mounted (for example, because it has the noauto option set in /etc/fstab).
Here is the /etc/fstab :
I don't see a noauto option. Is it hiding somewhere?
Also, if I say the following then it seems that /dev/sda3 is ext2 and not ext3 (as YaST says).
Firstly, how do I specify /dev/sda3 to be mounted by default (because I thought it would unless there is a noauto specified), and secondly, why is YaST not showing the same settings as when I say "mount" ?
(Using ubuntu 9.04) I really don't want to trash my system! I have an external usb hard drive I want to automount on bootup / startup. Not 100% sure of the best / safest way: here is some info on my drives
ONCE MOUNTED THROUGH FILE MANAGER AND RUNNING DF AGAIN HERE IS THE DRIVE
Here is my fstab file
So the drive is a NTFS drive and it's /dev/sdb1 and label is /media/Mybook
proposed mountpoint for NIS client home dir for 'user': /shared/home/user
auto mounting to /home/user works fine BUT if i want to automount to different location; it still looks for /home/user directory to mount to. So I get an error and i get directed to the '/' dir. Is there someway for me to edit the passwd file that is being exported by the NIS server? because if I change the local passwd of the user in the NIS server then he wont be able to see his home dir when logging in locally. (although this does seem to be a good idea; since he wont need to login directly into the NIS server....)
I need to do some changes to fstab,so i wondering is it possible to test it does it work without restating?Because if add something wrong then linux wont start ssh and i wont be able to access server remotely.What i want to do,is to mount /dev/shm with noexec,nosuid instead none.
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?
I have a removable SATA Mobilerack which i use to play with.It has redhat linux loaded on a 500GB disk and i made a new partition using fdisk and then made an ext3 filesystem with mkfs. I then tried to edit fstab to add the new partition but have obviously stuffed it up. When I tried to reboot I get the error fsck ext3: UNABLE TO RESOLVE `LABEL=/mnt'.
On Ubuntu, there was this very sane feature (for laptop/desktop user): when you insert a thumbdrive or external usb media, the system mounts the media and sets all the correct permissions for the current non-root logged in user.
What do I have to change/edit/configure to make Fedora 15 behave like this?