OpenSUSE Install :: Mounting /windows Only For One User?
Jul 23, 2010
I have a dual boot system with OpenSUSE 11.3 and Windows XP. I would like to have OpenSUSE mount the windows drives (C,D,E) only when one particular user logs in, and not be accessible for the other users. I have tried playing with the fstab options (do not mount at startup + user can mount, creating a new user group 'mounters' and replacing the 'users' in th the fstab line with 'mounters' etc.) but this is not doing what I want.
there is a way to mount, encrypted partitions as a normal user and not as root so that i may copy files into it using the file manager itself? even in the case of normal partitions other than /home, i can't seem add any data in them. the mount points i used are seperate directories within the /home partition?? also, is there a way to create partitions in such a way that it can be accessed, just as how windows partitions are accessed in linux?
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit): "http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/" 2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin 3. Make them setuid root:
Code: linux-y5qw:~ # chmod u+s /sbin/mount.cifs linux-y5qw:~ # chmod u+s /sbin/umount.cifs 4. Mount your cifs shares as a normal user:
OpenSuse 11.2 64bit When I select a hard drive in Dolphin file manager it asks for the root password. I would like to gain easier access to the drives. The Yast Partition Manager lists all of the drives and has a dialog box to change this i.e. user can mount the drive. Can we change this feature on the run, while the system is running ? The Fstab file is not listing all of the drives, so I cannot just edit the config here.
When I try to save a new or edited file via OO I get the following error
Error savind the document doc: /c/windows/doc.odt does not exist
I assume that it is a mounting error but due to my newbieness dont know how to confirm this. I see that I can not copy to the windows drives via Dolphin either.
I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.
I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:
Code: $mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp password: (I have no password so I left it blank) Mount error (13): Permission Denied I tried all sorts of passwords we use around the office and none of them worked.
I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?
I want to setup a SSL encrypted WebDAV share on my OpenSUSE 11.4 server that is accessible from the internet. Everything is working fine when using Windows XP or Linux clients, but a connection with Windows 7 is not possible ("the selected folder is not valid").
I already searched for a solution to this problem I tried several setups: - with and without encryption - with Basic authentication - with Digest authentication - without authentication
I did not have success so far. Is there any solution to this (except not using Windows 7)? Or can anyone confirm that this should be working (and maybe my configuration is messed up)?
what is the correct way/procedure to re-create a user home directory. For instance, on a Mac/Windows machine, i would just rename the existing user profile [home dir], and then just log back in as the user - job done. On OpenSuse/Linux, it seems it does not work that way..?! When i try to rename my home folder to say me.old via root, and log back in as me, i get all kinds of errors. Opensuse does create a new home dir, but it appears not properly.
i have installed on a 8Gb disk /sdc solaris-2009.6 i cannot mount suse in solaris or solaris in suse. i have tried installing xfs and its supports. i want to copy the solaris installation to a partition in /dev/sdb
I haven't used encryption previously but through that for better security, I would enable it on one of my disks. I went though the process and when done, copied data to the device etc. My house had a powercut the other day and I noticed that the device did not mount automatically upon restart. Unfortunately, I have forgotten the de-cryption password and have lost access to my data. Is there a way of either recovering my password or getting the partition to mount without the password so I can access the data, copy/back up and then re-create the partition without encryption?
I want to mount my partition that was previously under Windows. I have mounted it through YaST2 to /docs with ext4, made formatting, the folder is shown, but I can not create any file or enter any folder on it (however I can enter folder /docs where only 1 folder "lost and found" exists.
I am having trouble getting my portable hard drive to mount after partitioning it for VFAT. I originally had it partitioned as NTFS but I realized that my Xbox 360 will only mount VFAT filesystems. I believe that I partitioned it correctly with yast. However I am still having trouble mounting it. Below is the output of fdisk, mount and dmesg.
# fdisk - l Disk /dev/sdc: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x1e371e37
I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:
i have 2 partitions on dmraid. I am not able to configure them to mount with yast; yast partitioner gives an error stating that it can't mount a file system of unknown type. I am able to start the dmraid devices manually and mount them manually.
See bug:
https://bugzilla.novell.com/show_bug.cgi?id=619796 for more detailed info.
I upgraded opensuse to its latest version. After the upgrade I can not any more mount my remote folder.I contacted network administrator and informed that there was no change in the network operation.
Hey guys by mistake I've deleted my root partition, now I'm trying to recover my data which is located in /home/user I was able to mount my home partition to /home by executing mount /dev/sdf10 /home and I was able to mount my external by executing mount /dev/sda1 /media The problem is I can not copy anything to it, it says "operation not permitted" I've tried the following
mount -o rw /dev/sda1 /media mount -o remount,rw /dev/sda1 /media
I've even tried -t with vfat, ntfs, fat32
and also chmod 777 /media
I get no errors while trying this but as soon as I try to copy or touch a file in the directory it denies me.
I have a very simple question I am creating a new partition for storing files, installers, documents, etc, I am going to make it ext4, now my question is, do I have to specify a mounting point?? I would not like to do that, but if I do not specify a mounting point, will I be able to access that partition? So in what cases you specify mounting point and when you do not specify mounting point?
I have got a Acer Aspire 9300 which came with one of Bill Gates unreliable operating systems and a recovery partition in case something goes wrong. I surely installed linux (now on opensuse 11.4) as quickly as possible. mounting this hidden recovery partition under linux? All I can see is this from "fdisk -l"printout:
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x34fe34fd [Code]....
I assume that the partition in question is between blocks 0 and 2047?
I have a raid 5 with 5 disks, I had a disk failure which made my raid go down, after some struggle I got the raid5 up again and the faulty disk was replaced and rebuilt itself. After the disk rebuilt itself I tried doing a pvscan but could not find my /dev/md0. I followed some steps on the net to recreate the pv using the same uuid then restored the vg(storage) using a backup file. This all went fine.I can now see the PV, VG(storage) and LV's but when I try to mount it, I get a error "wrong fs type" I know that the lv's are reiserfs filesystems, so I did a reiserfsck on /dev/storage/software, this gives me the following error:reiserfs_open: the reiserfs superblock cannot be foundNow next step would be to rebuild then superblock, but I'm afraid that I might have configured something wrong on my raid or LVM and by overwriting the superblock I might not be able to go back and fix it once I've figured out what I didn't configure correctly.
I decided to install windoze 7 and it finally worked. It was complicated, I have two HDD's on cable select and the one I wanted M$ installed on was second in the series. So I changed that around and it finally installed. I then changed it back to the way it was and now of course grub works for SUSE but not M$. I get error #13. My Windows drive also does not show up in sysinfo:/. I went to terminal and ran fdisk -l and
Code: Disk /dev/sda: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0004924b Device Boot Start End Blocks Id System /dev/sda1 * 1 262 2104483+ 82 Linux swap / Solaris /dev/sda2 263 9726 76019580 83 Linux
Disk /dev/sdb: 472.3 GB, 472345632768 bytes 255 heads, 63 sectors/track, 57426 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x30ceb02f
Disk /dev/sdb doesn't contain a valid partition table. And that is the outcome.
I'm having some problems with a hosted openSUSE 11.2 server. It was running fine until I did a "zypper up" to apply patches. This included a kernel update.
On reboot the root partition does not mount the / partition giving the following error:
Unrecognized mount option "defaults.noatime", or missing value mount: wrong fs type, bad option, bad superblock on /dev/md2.
Through an Ubuntu rescue disk (this is what Hetzner provides) the disk can be mounted without problems.
( I installed a fresh openSUSE 11.2 with a similar configuration and got the same results after the update)
The server is a hosted installation from Hetzner in Germany with just the basics for LAMP setup.
The disk setup is as follows using software raid1: swap /dev/md0 (/dev/sda1 /dev/sdb1) /boot /dev/md1 (/dev/sda2 /dev/sdb2) / /dev/md2 (/dev/sda3 /dev/sdb3)
I'm trying to install oracle (11g R2) on my OpenSuse (11.3), but when I do startup nomount, I got an error: ORA-00854: MEMORY_TARGET not supported on this system On web, I found that I need to increase tmpfs because of my memory_target oracle init parameter. I do it with: mount -t tmpfs shmfs -o size=3G /dev/shm (previous value to tmpfs (df -h) is 2G). After that 'startup nomount' runs well, but after reboot, values are the same. So, how to 'save' this new value?
I have a software RAID 1 (mirroring) on my 2 hard drives configured through OpenSuse 11.3 installer. When I boot from the OpenSuse 11.3 install DVD in rescue mode, the RAID isn't recognized, ie attempting to mount /dev/md0 results in 'bad superblock' messages. I can still mount individual disks in the array though (/dev/sda1, /dev/sdb1, I did it read-only so not to corrupt the array). I also tried booting from the Centos 5.5 install DVD in rescue mode on the same computer and it has no problems finding the RAID 1. I was able to mount /dev/md0. Is the OpenSuse 11.3 install DVD in the rescue mode not supposed to find the RAID 1 or am I doing something wrong here?
I would like to ask you if there is a robust way to mount as a drive a ext4 partition inside windows 7 and if it is possible to use it also to storing window's 7 data.