Debian Configuration :: USB Mass Storage Permissions ?

May 20, 2011

When I connect a USB stick to my laptop, it is mounted as root:root. I want ot be able to use it as the logged in user

It has worked in the past (1+ month ago), but recently it just mount it as root:root.

My userid is 1000, so somewhere in the system it knows that the current user is relevant.

The directory created

The date is off System time is correct - so this could be an indication of what is wrong.

I have tried with my own custom compiled kernel and now I am using the latest 2.6.38 official image.

View 10 Replies


ADVERTISEMENT

Debian Multimedia :: Mount Android Mass Storage Device In Thunar

Apr 12, 2016

Since I use openbox with some packages from Xfce4 (mainly for convenience) I get most stuff "for free" as it were when using openbox, but I can't figure out how to mount android devices in a simple way. I can either do it manually, or install some other file manager that has this capability. This leads me to my question, I've noticed that if I install Nautilus, which automatically mounts android devices OotB, I get this functionality in Thunar as well. This leads me to believe that there is clearly a dependency package of some kind installed when running apt-get install nautilus that enables it, It'd be great to get this functionality in Thunar without having all the nautilus packages just littering about for no good reason. the required package is gvfs-backends, which I should have realized when I was unable to browse smb:// addresses. You forget a lot when you only make a fresh install once every 2 years or so.

View 0 Replies View Related

OpenSUSE Hardware :: USB Mass Storage Device Not Mounting

Nov 22, 2009

I am currently using opensuse 11.2 with kde 4.3.1. I am having a problem when I connect my samsung R450. It will not mount or show up as a usable device in either Dolphin, Amarok, or on the device notifier. I have tried manually mounting but I get an error saying it cannot find such device. I did not have any issues using it in 11.1 with KDE 4.2. It is being recognized by my system, but not allowing it to show up as a storage device or being mounted.

output of dmesg:

PHP Code:

output of lsusb:

PHP Code:

When I shut of the usb mass storage on the samsung R450 it switches to modem and is properly detected and usable as modem by my system.I don't have any other problems with other usb devices, such as a digital camera or flash drives, so I don't know if I just missing a system setting or configuring something wrong.

View 9 Replies View Related

Ubuntu :: Kernel Lock With Usb Mass Storage Device ?

Feb 2, 2010

I just discovered that inserting any USB drive causes an immediate hang of the system. The keyboard caps lock and scroll lock lights blink. Only recourse is to power cycle the system. This is after installing Kubuntu 9.10 in January, I don't believe I had occasion to insert a USB drive until tonight. 100% reliable. No entries in logs, presumably because it hangs the kernel when it happens. The /var/log/kern.log file has been corrupted due to file system damage (1+ sectors of some other file inserted into chain) and probably other files as well.

I've not had occasion to report other bugs, but I've found no way to report anything other than application bugs. I tried using "ubuntu-bug kernel" which helpfully said there was no such application as 'kernel' and has been busy "collecting problem information" for the last half hour or more. Somehow I don't think its ever going to finish.

The crash only happens when booted into Kubuntu 9.10. If I boot off of 9.04 then USB drives work fine. Both USB drives I've tried reliably produce the crash. One is a random cheap USB thumb drive (imprinted "Cisco"), the other is a 16GB Corsair Voyager.

View 2 Replies View Related

Ubuntu :: Plug My Usb Mass Storage - Get Nothing As Id I Haven't Plugged It

Sep 22, 2010

I have a problem with my Ubuntu which is when I plug my usb mass storage I get nothing as id i haven't plugged it. Nothing appears in the Computer , and when I do the command fdisk -l.. the usb mass storage isn't there to mount it and when i press lsusb

Code:

Here is the dmesg

Code:

My ubuntu is lucid 10.04, and my mother board is Gigabyte GM31.

View 2 Replies View Related

General :: Mounting Mobile Phone's Mass Storage?

Feb 23, 2011

I have a problem when trying to mount a memory card in my cell phone. I connect the phone with an USB cable, select mass storage as the phone prompts it, but no luck.

dmesg shows

Code:
[ 200.673190] usb 3-1: new full speed USB device using ohci_hcd and address 4
[ 200.823377] usb 3-1: New USB device found, idVendor=05c6, idProduct=1000
[ 200.823386] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[Code].....

Just to be sure I tried the same thing with FreeBSD, though I knew from past experiences what to expect from it. It just worked(tm) flawlessly, but I'd rather not keep FreeBSD just for the sake of one device I can't seem to get working with Linux. All I can guess it must either be a kernel bug that has persisted for far too long or a faulty udev rule.

View 7 Replies View Related

Hardware :: Steps To Block Usb Mass Storage Devices?

Sep 7, 2010

steps to block usb mass storage devices in linux

View 2 Replies View Related

General :: Handle Bad Block In Mass Storage Device?

Nov 2, 2009

* I am implementing mass storage device on a test board.

* It contains NAND flash.

* Using corresponding "udc driver" and "g_file_storage" I could make my test board enumerate as mass storage device on my Linux machine.

* my 16 MB pen drive (test board) is now ready for read/write.

But there are some Bad Blocks on the NAND.Hence copy is not complete. Although on Linux machine there is no error message. Now , what is there in a normal pen drive which manages the Bad Block or what am I missing so that such Bad Blocks are managed.

Here is the error I get on my test board :

mtdblock: erase of region [0x2c0000, 0x4000] on "Bon 2" failed
end_request: I/O error, dev mtdblock2, sector 5664
Buffer I/O error on device mtdblock2, logical block 708

[code]....

View 3 Replies View Related

Ubuntu Security :: Assign Read-only Permission On Mass Storage And CD-ROM?

Jan 7, 2010

I have Ubuntu9.10 installed in my laptop, and I want to give read-only permission on mass storage device (USB flash & external HD) & CD-ROM.
please guide me how this is possible. It should be automatically.

It's necessary for security purpose.

View 5 Replies View Related

Ubuntu Multimedia :: USB Mass Storage Class Music Players?

Feb 4, 2010

I am so completely frustrated with this and can't seem to find any solid answers. I have a Google Nexus One phone. I want to also use it as a portable music player. I can find no player for Linux that can do ALL of the following:

- copy music
- transcode when necessary
- transfer cover art in appropriate format
- transfer playlists (music files AND .m3u playlist files)

Banshee is the closest, but it is so painfully slow, has many problems with tags and also doesn't transfer playlist files. Banshee advertises support "out of the box" for this device. I've tried overriding with an .is_audio_player file, but it is ignored. Rhythmbox will transfer song files and transcode as necessary, but no artwork, no playlists. Exaile doesn't recognize this device for some reason.

View 4 Replies View Related

General :: Working Of Read & Write Request To Mass Storage

Jan 18, 2011

How does the read & write request from a command prompt go to usb & retrieve the file ? When a read request is given , I/O manger sends the request to file system manager (FSM) and from FSM to mass storage device drivver and from there to mass storage , is this right in Linux ?

View 1 Replies View Related

General :: Remove Kernel Lock From Unmounted Mass Storage USB Device

Jun 3, 2010

I've searched high and low, and can't figure this one out. I have a older Olympus Camera (2001 or so). When I plug in the USB connection, I get the following log output:
$ dmesg | grep sd
[20047.625076] sd 21:0:0:0: Attached scsi generic sg7 type 0
[20047.627922] sd 21:0:0:0: [sdg] Attached SCSI removable disk

Secondly, the drive is not mounted in the FS, but when I run gphoto2 I get the following error:
$ gphoto2 --list-config
*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***

What command will unmount the drive. For example in Nautilus, I can right click and select "Safely Remove Device". After doing that, the /dev/sg7 and /dev/sdg devices are removed.

The output of gphoto2 is then:
# gphoto2 --list-config
/Camera Configuration/Picture Settings/resolution
/Camera Configuration/Picture Settings/shutter
/Camera Configuration/Picture Settings/aperture
/Camera Configuration/Picture Settings/color
/Camera Configuration/Picture Settings/flash
/Camera Configuration/Picture Settings/whitebalance
/Camera Configuration/Picture Settings/focus-mode
/Camera Configuration/Picture Settings/focus-pos
/Camera Configuration/Picture Settings/exp
/Camera Configuration/Picture Settings/exp-meter
/Camera Configuration/Picture Settings/zoom
/Camera Configuration/Picture Settings/dzoom
/Camera Configuration/Picture Settings/iso
/Camera Configuration/Camera Settings/date-time
/Camera Configuration/Camera Settings/lcd-mode
/Camera Configuration/Camera Settings/lcd-brightness
/Camera Configuration/Camera Settings/lcd-auto-shutoff
/Camera Configuration/Camera Settings/camera-power-save
/Camera Configuration/Camera Settings/host-power-save
/Camera Configuration/Camera Settings/timefmt

Some things I've tried already are sdparm and sg3_utils, however I am unfamiliar with them, so it's possible I just didn't find the right command.

# mount | grep sdg
# mount | grep sg7
# umount /dev/sg7
umount: /dev/sg7: not mounted
# umount /dev/sdg
umount: /dev/sdg: not mounted
# gphoto2 --list-config

*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***

View 4 Replies View Related

Ubuntu Multimedia :: Disable Mass Storage Device Mounting In Rhythmbox?

Oct 15, 2010

I have a 1TB external HDD which I use to store my music library of roughly 40 gigs. Therefore I would normally import music directly from it to my Rhythmbox library while keeping everything stored on the removable drive. In recent versions of Rhythmbox this is no longer needed as the application integrates my external HDD into the side pane and lists the music automatically. This is great although when closing Rhythmbox and reopening it, the drive has to be scanned all over again. This is a huge pain when it has to scan through 40+ gigs of music.

Therefore I would like this feature disabled and removed from my side pane. It is not needed and causes quite a large annoyance. Either I want it removed or the ability to keep the index of music from the drive in Rhyrhmbox at all times. Achieving this would be fantastic and would switch me back to Rhythmbox. recently I have been using Exaile which I love but rhythmbox not working bugs me.

View 1 Replies View Related

Ubuntu :: Switch The Mass Storage Device Into Modem In The Terminal Window ?

Nov 4, 2010

I am beginner in UBUNTO 10.04 LTS. I have a mobile broadband of Relience which use the device of Huawei EC 1262. I have a problem with this modem. when i installed required packages for this device like usbswitch, wvdial etc, my internet connect works fine but as i switch off the PC and restart, PC can not detect the modem, it detect as mass storage device. Is there any command/option that i switch the mass storage device into modem in the terminal window or on the GUI platform mean on the desktop screen.

View 2 Replies View Related

OpenSUSE Hardware :: Cell Phone Mass Storage Device Doesn't Show Up?

Feb 14, 2010

It doesn't show it on the device-notifier, or fdisk, and not sure if this will be any use to you. In windows it appears immediately as a MSD, doesn't show as a modem or anything first.

Code:
linux-gg0e:/home/Chris # tail -f /var/log/messages
Feb 14 10:20:09 linux-gg0e smartd[2752]: Device: /dev/sda [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 51 to 50
Feb 14 10:20:09 linux-gg0e smartd[2752]: Device: /dev/sda [SAT], SMART Usage Attribute: 195

[Code]....

View 1 Replies View Related

Ubuntu Multimedia :: Unnable New E2120 Samsung Phone As A Mass Storage Device?

Jul 17, 2010

I need to enable my new E2120 samsung phone as a mass storage device. but I think I need a USB driver. Had a good look round the forums but can't seem to find any posts. Its quite a new phone but hopefully the solution is already about. When I plug it into the USB the phones screen has a hashed out 'mass storage' option.

View 1 Replies View Related

General :: Manually Mount A PC To Access A Samsung Galaxy S Phone Mass Storage?

May 27, 2011

I would like to download a few (591)images from the Galaxy S phone. Samsung have advised me that to do that I need to place the Galaxy S phone on Mass storage, whivch I can do and plug the phone USB cable to the PC and manually mount the USB. The Galaxy S firmware 2.1-update1 doesn't support automatic mounting! The Galaxy S has an Android platform Kernel version 2.6.29 with root @SE-S604 #2. I'm running Ubuntu 10.04 on a AMD Athlon(tm) XP 1700+ with 1G of ram. It's the manual mounting of the USB connection

View 1 Replies View Related

Programming :: What Are The Series Of Files That Are Called When A User Make Copy Operation From Usb Mass Storage To Hard Disk

Mar 20, 2010

what are the series of files that are called when a user make copy operation from usb mass storage to hard disk?i have reached the code of the usb mass storage in linux kernel 2.6.33 and i want the exact code the make the copy how can i do that?

View 2 Replies View Related

Ubuntu :: Mass Change File Permissions?

Dec 26, 2010

I recently backed up my home folder onto another HD. When I tried to transfer the files from the other HD back to the original HD after a fresh ubuntu install I noticed all my files were restricted to root access. Even after moving the files back via root access I can still only access them that way. Is there a way to mass change the permissions to all the files and folders within my original home folder?

View 9 Replies View Related

Hardware :: Retrofitting A Device File For A Mass Storage Device?

Jan 7, 2010

here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as

Code:
UDEV [1262910483.475886] add /class/video4linux/video0 (video4linux)
lsusb tells:

[code]...

View 4 Replies View Related

Ubuntu Servers :: Mainboard And Storage System - How Both Storage Devices Will Be Supported By Debian

Mar 11, 2011

I'm interested in buying a new hardware for my company. The old server (now 10 years old) should be replaced with a new one. Till now, I was looking on different hardware suppliers, boards and different other places. I found a Tyan board [URL]. The hardware spec is quite interesting and the board would fullfill our claims.

how both storage devices will be supported by Ubuntu or Debian??

- SATA-Controller: AMD SP5100
- SAS-Controller: LSI 1068E

View 4 Replies View Related

Debian Configuration :: Can't Start X - Repairing Permissions

May 29, 2011

my ENTIRE hard drive now has user AND group permissions root. I can't start X and are having various permissions issues. although ive been using linux for a long time.

long story long, I did a debian netinst to my netbooks SSD. got everything EXACTLY as I wanted it, was very happy with my first go at debian but of course being a linux dork im always willing to tweak. I installed onto btrfs which I recently learned supports compression which not only saved precious SSD space (only 8GBs) but according to some benchmarks also improved performance. this was a boot option and would only start compressing new files. this, of course, could not be good enough. so I formatted my SD card btrfs, mounted it with compress option + my SSD defaults and copied over all files that weren't a mount (i.e. proc, dev, sys,...) however I forgot to copy permissions. so every file was copied with root:root ownership and I didn't realize this when booting to the SD card to verify things were working as I assumed ( never do this ) that getting to a login terminal was enough. So now I need to fix all permissions and I would really prefer it be without a clean install.

A netinst can take a dec amount of time and I had a lot of tweaking to do since I only used Xorg + i3 tiling wm. there has to be a way to fix this...I started trying to reinstall all the packages but kept running into issued where aptitude wasn't able to reinstall things like bash or perl-base, presumably bc they were in use or had incorrect permissions set

View 10 Replies View Related

Debian Configuration :: LAMP Server And Permissions To Www/

Jul 30, 2011

I just installed LAMP server and it works. Anyway, I have problems with permissions to www/. I can't access it! Its located in /srv/www.

What do you suggest? I need to be able to freely add/modify/remove files under www/ as 'dagrevis' (not 'root').

View 1 Replies View Related

Debian Configuration :: Setting Permissions For USB Device On Boot?

Mar 23, 2011

I am trying to figure out what needs to be done to automatically set read/write permissions for everyone for my proprietary USB device on system boot. I have created a udev rules file which changes the permissions for the device when it is connected, but it does not change the permissions when the system is booted with the device already connected. The file looks like this:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="our vendor id", MODE="0666"

Does something else need to be added to the rules file to make it work when the system boots with the device connected? Is there some other script which needs to be created somewhere?

View 1 Replies View Related

Debian Configuration :: Udev Rules To Change R/W Permissions?

Mar 28, 2011

I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':

KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""

[code]....

However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?

View 7 Replies View Related

Debian Configuration :: Permissions & Fuse - Mount A Remove Filesystem Onto Own Server

Feb 10, 2011

I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.

I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse    user,idmap=user 0 0

What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....

View 1 Replies View Related

Debian Configuration :: Getting Error Message With System On KDE LENNY 'don't Have Permissions To Start Pppd'

May 4, 2010

my iwlist scan is normal. ethernet connection ok, wirless not working but does seem to receive. wifi radar lists my router ssid. Does this say I have the correct router for my wireless is my question? I am also getting this error message with this system on KDE, LENNY. From KWLAN a wpasupplicant front end.

"you do not have permissions to start pppd or pppd was not found. Dial up networking will not work."

[code]...

View 2 Replies View Related

Debian Configuration :: Error "mount Exited With Exit Code 1: Helper Failed With: Mount: Wrong Fs Type" Mounting Any External Storage Media

Feb 27, 2011

I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:

Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.

View 4 Replies View Related

Ubuntu Servers :: Vsftpd (+apache2) Permissions Configuration

Oct 13, 2010

how to configure vsftpd server, to enable users upluoad files with right permisions. I create user like this:

Code:
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/<newUser>.domain.com
a2ensite <newUser>.domain.com
/etc/init.d/apache2 restart

[Code].....

So, in summary, how to make ftp to create files with permisions e.g. +rwxrwxr-x or smth more clever..

View 4 Replies View Related

Ubuntu Networking :: Samba Configuration And Setting Permissions

Nov 16, 2010

First let me say that Lubuntu is a lightweight version of Ubuntu, so there is not much point in loading it up with unnecessary packages. If you just want to share printers on a Linux network, you don't need Samba. And if you just want a way that users can "push" files to others on a network, use Giver (+ Avahi) as this is a better option. Especially as it sorts out file permissions for you.

To enable file sharing on a Lubuntu 10.10 machine, go to Preferences > Synaptic Package Manager and add the following:-
* samba
* system-config-samba
* gvfs-bin
* gvfs-backends
...accepting any dependancies, 11 packages in total.

I suggest you re-boot now. As an initial test, go to file manager (pcmanfm) and enter:-
smb://localhost
You should see the local print$ folder listed.

To access folder shares remotely
* open file manager (pcmanfm)
* enter the IP address or computer name of the machine you wish to access
e.g. smb://192.168.0.99 or smb://print-server

To share a folder:-
Go to: Preferences > Samba (enter password when requested)
In the Samba Configuration screen:-
* File > Add Share
* use Browse... to select folder to be shared
* Tick "Visible" and (if required} "Writable"
* In the "Access" select "Allow access to everyone"
Set the Linux permissions:-
* locate the folder to share in file manager
* right click on the folder and select Properties > Permissions
* set the required permissions, e.g. Other: Read & Write (to allow anyone full access)

View 7 Replies View Related







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