General :: Set Up Usb Device To Be Available To Mount And Not For Other Users?

May 18, 2010

I am trying to set up my usb device to be available to mount and umount only for me, not for other users. Using Slackware 12.2Entry in fstab is as follows:

Code:
/dev/disk/by-label/USB /media/usbvfat auto,group,user,noexec,gid=usb,umask=007 0 0
device information:

[code]....

View 3 Replies


ADVERTISEMENT

Ubuntu :: How To Mount A Device For All Users

Sep 12, 2010

OS: Ubuntu 10.04 (in VirtualBox virtual machine) how to mount a device for all users. I tried everything and can mount it only for root.
I'm trying to mount shared device in VirtualBox virtual machine.I added record in `fstab` file:

shared /mnt/shared vboxsf rw 0 0

I got /mnt/shared permissons: drwx------I've tried to add options 'rw,user' in fstab, but the option 'user' is not supported by mount program in my system.

View 1 Replies View Related

General :: Possible To Mount USB External Drive As R/W For Multiple Users

Jan 12, 2010

I would like to mount a (permanently) attached external USB drive so that it is writable by multiple userids. Currently HAL is mounting the drive as writable to my owner user and readable for group and others. My m/c also runs as an FTP server and I would like said FTP server to be able to write files to the external drive. Just being able to specify a gid would probably do the job for me.

I have googled HAL and UDEV and also attempted to configure usbmount to do this, all to no avail. I am running SLES 10.3. So in summary, can I & how do I either make HAL mount the drive with gid=nnn, or should I not use HAL and simply make an entry in /etc/fstab and make sure a I get the same device address for this USB drive each time I boot?

View 4 Replies View Related

General :: Cannot Find USB Device To Mount?

May 23, 2011

How can I find which /dev/? device to mount my USB hard drive on redhat 3 taroon, I've been googling a lot and checked log files and still no clue. I'm trying my last chance with you experts, # /sbin/fdisk -lgives nothing about the USB drive

# lsusb -vv
Bus 004 Device 005: ID 059f:0951 LaCie, Ltd
Device Descriptor:

[code]....

View 4 Replies View Related

General :: Allow Normal Users To Mount Tmpfs Under Subdirectories Of Their Home Directory?

Oct 11, 2010

How can I allow normal users to mount a tmpfs under any subdirectory owned by them?

View 3 Replies View Related

General :: Can't Mount Usb Disk - It Just Create /dev/sg Device But No /dev/sd

Dec 23, 2010

I have a Corsair R60 ssd disk which is a disk with both sata and usb connectors. But the usb thing seems to be a bit non-standard, or maybe its just my fedora linux.When I insert the disk using a usb cabel to a running Fedora 14 linux system, a device called /dev/sg3 is added but that is all. No new /dev/sd* device is created so I can't mount the disk.

If I look at

cat /proc/scsi/sg/device_strs

I get

ATA Hitachi HTS54321 FB2O
HL-DT-ST DVDRAM GSA-T50N RP05
Seagate Desktop 0130
Corsair CSSD-R60GB2

So the disk is there. (The last entry) but my linux will for some reason not see it as a usb hard disk. When I insert other usb disks they work fine. It is only this specific disk which causes problems. I have tried on 3 different computers with the same result.

A hint to the problem may be that if I add the disk to a windows system(With usb) the disk is called "A fixed disk" and not a portable disk as expected. The disk works fine with linux If i connect it with the sata cabel, but I would really like to have it working with usb too. (To mount it on computers without sata).

Added:I did try to mount /dev/sg3 but mount say that its not a block device. (File say Its a character special device).

Added output from dmesg:

[ 97.454073] usb 7-1: USB disconnect, address 2
[ 105.913055] hub 2-0:1.0: unable to enumerate USB device on port 3
[ 107.048054] usb 2-3: new high speed USB device using ehci_hcd and address 5
[ 107.162900] usb 2-3: New USB device found, idVendor=1b1c, idProduct=1ab8

[code]....

I found an other guy with exactly the same problem [URL] so I think its beginning to look like a bug in the drives firmware or in the linux kernel.

Final update:Corsair have said that the disk design is broken and there does not seem to be any way to make it work.

View 1 Replies View Related

General :: Cannot Mount Hotpluggable Device In Xfce

Mar 27, 2010

i can't mount my USB flash disk using GUI... trough normal "mount" command it works fine, but i want to make it automatic. here is error output:

Code:
Rejected send message, 1 matched rules;
type="method_call", sender=":1.13" (uid=1000 pid=2301 comm="exo-mount)
interface="org.freedesktop.Hal.Device.Volume"
member="Mount" error name="(unset)" requested_reply=0
destination="org.freedesktop.Hal" (uid=0 pid=1488 comm="/usr/sbin/hald))

View 3 Replies View Related

General :: Mount Error 6 = No Such Device Or Address

Feb 10, 2011

[root@servers guest]# /bin/mount -o -uid=root,gid=root,username=userid,password=user1passwd //172.16.1.212/backup/user1backup /mnt/tmp

retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@servers guest]#

I also tried:

[root@servers guest]# /bin/mount -t cifs -o -uid=root,gid=root,username=user1,password=user1pass //172.16.1.212/backup/user1backup /mnt/tmp

but no luck!

View 4 Replies View Related

General :: Fstab Line For Auto Mount Drive That All Users Can Read/write?

Jan 4, 2011

I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection.I would like to be able to swap drives on the ESATA connection and have all users be able to read and write to these drives.I have created the directory /archive/ where I would like the drive(s) to mount.The drives are all formatted Fat 32 - but in the future I may use HFS for formatting.When I used the command (as root):mount /dev/sdc1 /archivethe drive was mounted (but read only)What can I use in my /etc/fstab file that will allow drives to be mounted and unmounted by all users on the system? (both reading and writing)Also, will I be able to mount and unmount these drives without shutting down? or will I need to reboot every time I want to change drives?

View 2 Replies View Related

General :: Get Fstab To Auto-mount A Removable Device?

Feb 23, 2010

I'm trying to get fstab to auto-mount a removable device when its plugged in? Is this possible and if not what is the easiest way to auto-mount a removable device?

View 3 Replies View Related

General :: Mount - Filesystem Handling For Embedded Device?

Jan 21, 2011

I am developing a device that will run Linux as its operating system.The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any other PC running Linux.For several good reasons I am building my own "distribution", instead of using an existing one.What confuses me is how mount/umount of the root file system is handled.I boot my kernel with the commandline "root=/dev/sda1 rw" which works fine. But everytime I do poweroff or reboot Busybox complained about no /etc/fstab, so I decided to build one.Should I have an entry for my root file system? It seems like this is shadowed by the rootfs anyway. I.e. if I have the fstab entry "/dev/sda1 / ext2 1 1" mount still reports rootfs on / type rootfs (rw)/dev/root on / type ext2 (rw,relatime,errors=continue)My questions are:Do I need to worry? Will the drive be correctly unmounted by the kernel on poweroff/reboot?If I want to perform file system checking on boot, can I do that without resorting to an initrd?

View 1 Replies View Related

General :: Alias A Device For The Mount Command In RedHat 9?

Aug 9, 2011

I have a program which mounts /dev/sdb1 for which I lack the source code. This device does not exist on my RedHat 9 system and I want to create /dev/sdb1 such that it's an alias for /dev/hdb1 Can I do this? with MAKEDEV?

I need to have an alias which will allow it to mount, not create a symbolic link to an already mounted directory. i.e. 'mount /dev/sdb1 /mnt/harddrive' should actually mount /dev/hdb1

View 7 Replies View Related

General :: Mount: Special Device /dev/scd0 Does Not Exist

Jul 3, 2010

mount: special device /dev/scd0 does not exist

View 1 Replies View Related

General :: Mount USB Drive - Device Pointers Static?

Jun 6, 2011

I'm using an external USB drive to perform system backups. The script I'm using has a mount command - mount /dev/sdcx /systembak, it works fine until the external drive is mounted into a different USB port which causes the device path to change and the script needs to be modified to reflect that change. Looking in the /dev/disk/ directory I see ./by-id ./by-label ./by-path ./by-uuid. I've been able to mount the disk using one of the device pointers in those directories; are any of those device pointers static or do they change every time the USB disk is plugged into a different USB port.

OS: RHEL/CentOS

View 4 Replies View Related

General :: Unable To 'mount' And Use Itouch 8Gig Device / Fix It?

Jan 7, 2010

What do I call this device in /etc/fstab. Currently the line I'm using is... code...

Having made a mount directory (/media/ipod) an error message tells me
... mount: special device /dev/sdc0 does not exist...
when I try to mount it.

I cannot see it in 'gparted' or 'disk utility' but I can see it on sys log and kern log when I plug it in and remove it.

I have visited several help forums and loaded several types of recommended software (ifuse-libs and mux's etc) but with no satisfactory result.

I have successfully 'Jail broken' the device using 'Blackra1n' on a windows machine.

It used to appear on the desktop but alas...no more. I've obviously broken something!

View 14 Replies View Related

General :: View Contents Using Dolphin Before Mount Device

Oct 14, 2010

How come I can view the contents of the drive using Dolphin before I mount the device? I cannot see the contents using the bash shell until the device is mounted.

View 4 Replies View Related

Ubuntu :: Fresh 9.10 Install Reboot Error No Device - Mount Partition Mount: Can't Fin?

Jun 24, 2010

what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab

so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)

View 1 Replies View Related

General :: Permissions - Mount Device With Specific User Rights?

Aug 8, 2011

How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:

dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000

View 1 Replies View Related

General :: Command To Display The Device-fs-uuid-mount Point?

Oct 26, 2010

I need a command to display the next info from my hdd:

device name - filesystem - uuid - mount point

I found blkid but the mount point is not displayed, I've already look in man but there is no parameter for that

View 2 Replies View Related

General :: Mount -t Vfat /dev/sda1 /var/card - No Device Or Address

Jun 23, 2010

Found a raw device for my card when reading through the /proc/partition list but got a "no device" message when mounting the card - mount -t vfat /dev/sda1 /var/card though there is sda in the list.How to know if sda1 exists?

View 1 Replies View Related

General :: Cannot Mount Hard Disk: Block Count Exceeds Size Of Device

May 11, 2011

I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. Last night I did a clean install of Ubuntu 10.10 on my primary hard disk (call her HDB) and from there proceeded to upgrade directly to Ubuntu 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive. When mounting from file browser:

Code:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so The end of dmesg said the following:

Code:

dmesg | tail
[ 82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)

my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:

Code:

# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks

[code]....

this is as far as I've gotten. This drive holds over a decade's worth of work for me and is extremely valuable. I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. What is it that I need to do to restore my drive to working status?

View 9 Replies View Related

Ubuntu :: Current Users Mounts USB Device As Read Only?

Dec 18, 2010

I am trying to add/delete files from my HTC Evo through ubuntu via enabling file sharing on the device. Ubuntu detects the drive, and mounts it up so that I can browse/read files off the device. However, I am not able to do any writing to the device because it is mounted as "read-only". The only wierd thing is that it worked last week, and I have not changed any settings on my system. Where should I start? Is the auto-mount for USB drives located in "/etc/fstab"? because here is the contents of that file, and I dont see anything for usb mounts:

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name

[Code]....

View 1 Replies View Related

General :: Mount Custom Device Node (ex: "/dev/mydevice")

Jun 16, 2010

I'm trying to mount a custom device node for each usb port of my pc. For example: Every pen drive connected to my usb 1-1.2 will be called /dev/usb2 and mounted on /mnt/usb2, on usb 1-1.3 port the device node will be called /dev/usb3 and mounted on /mnt/usb3.

I'm using an embedded linux, the device handler is mdev. Editing mdev.rules I'm able to manage new devices and write special rules for them (on /bin/hotplug.sh I can mount the /dev/udisk device on anywhere I wanna):

Code:
# This will be called after scsi emulation, so the
# new device (sda1, sdb1 ...) will be managed by /bin/hotplug.sh
mmcblk0p10:00600=sdcard */bin/hotplug.sh
sda10:00600=udisk * /bin/hotplug.sh

[Code].....

Is there anyway to change scsi emulation configurations or code? I want to call my pen drive on my way (/dev/usb1 instead of /dev/sd*)!

View 4 Replies View Related

General :: Created Users In Pureftpd And The Users Are Stored In Mysql Database?

Dec 19, 2010

How to created users in pureftpd and the users are stored in mysql database. I tried when i try to connect i got like this error authentication failed error

View 1 Replies View Related

Fedora :: Regular Users Not Able To Mount / Unmount Floppy

Jun 17, 2009

I had this all hashed out in previous versions of Fedora, but since I have moved the Mrs over to F10 this problem has come to the surface yet again.The Mrs is a strait user. She does not do command line and there is not a chance in a hot place that I could convince her to do it. Now we have her on the F10 system and we, once again, can't get her to have the right Kung Fu to be able to moun/unmount the floppy drive using the computer icon on the Gnome desktop.

What has changed and how do I get this function back for her? She uses this for business files, so this is somewhat on the urgent side.

View 14 Replies View Related

Ubuntu :: Allow All Users To Mount Internal Media Without A Password?

Oct 9, 2010

Is there a way I can allow all users to mount internal media without entering a password, without using sudo, and without making edits to my /etc/fstab file.

View 9 Replies View Related

OpenSUSE :: Mount NTFS By Normal Users So Used The Entry In Fstab?

May 20, 2011

i want to mount NTFS by normal users so i used the following entry in fstab /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0 however when i try to mount the partition i get the following error Unable to mount Mostafa

Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sda6': Permission denied
Failed to mount '/dev/sda6': Permission denied
Please check '/dev/sda6' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
NTFS-3G Questions at Tuxera

[Code]...

View 6 Replies View Related

OpenSUSE Install :: Allowing Users Other Than Root To MOUNT Devices?

Dec 28, 2009

I have a non-super user on my box which I'd like to give it MOUNT and UMOUNT permissions but I don't know how.For example purposes, the user name is "USER".I don't want to make it into a SuperUser, just give it rights to be able to issue the MOUNT and UMOUNT commands at the terminal.

View 6 Replies View Related

Ubuntu Servers :: Windows Users Can't Mount Share Folders?

Mar 25, 2010

When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.

When I connect to the same server from windows box, I get this error message:

Quote:

Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Last two days I was googleing a lot about this but all I tryed didn't work.

Is there somebody share folder works from windows connection?

View 2 Replies View Related

General :: Only Limited Users Should Login In NIS (not All Nis Users) RHEL 5.4?

Aug 1, 2011

i have a NIS master server and 4 NIS clients. out of 4 nis clients two are acting as login servers ie users will login and do all their stuffs and the remaining two are application servers. But sometimes users login into applications servers and started doing all their developer's job. i want to allow only a limited number of users tointo this application users not all the users who are all part of the nis domain.all the systems are running RHEL 5.4 on hp's proliant x86_64 based servers. Please advice me how should i proceed? enabling ip tables is not possible in my environment.

View 1 Replies View Related







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