LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2011, 12:13 PM   #1
captain_sensible
Member
 
Registered: Apr 2010
Posts: 73

Rep: Reputation: 0
pen drive permissions


its a bit of a trivial one but its narking me.

when you attache a pen drive with windows you can drag from the pen drive to the desk top, and visa versa.

with Linux logged in as normal user I can drag files from pen drive to Desktop but not the other way around

my pen drive is TITANIUM and at /dev/sdb1 mounted at /media/TITANIUM so I have to use
cp /home/user/Desktop/file /media/TITANIUM as root

bit of a drag. If I log in as root I can drag files from pen drive to desktop and also from Desktop to pen drive. is there an easy way to give permissions for normal user. I had a look a groups and it has scanner, printer etc listed ,can I amend groups somehow to enable same permissions for pen drive access as root ?
 
Old 03-20-2011, 12:34 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
What filesystem is the pendrive formatted with ?
Which version ("Distro") of linux are you running ?
What is the output of
Code:
ls -l /media/
?

Last edited by tredegar; 03-20-2011 at 12:36 PM.
 
Old 03-20-2011, 01:50 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,665

Rep: Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259Reputation: 2259
I was thinking it was formatted in ntfs but that doesn't make any sense.

How are you mounting it?
 
Old 03-20-2011, 04:16 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You probably need to change the permissions &/or ownership levels of the pen drive. I can tell you only that the usual mechanism for doing that is the udev system. I'm not well enough acquainted with the system to coach you on the exact way to configure it. There is generally a system of files and directories in /etc/udev.... which control how devices get various attributes applied. The organizations used seem to vary significantly from distro to distro. There is probably also a connection to the hotplug system, which allows the event of a device being plugged in to trigger the udev configuration process.

---- rod.
 
Old 03-21-2011, 11:15 AM   #5
captain_sensible
Member
 
Registered: Apr 2010
Posts: 73

Original Poster
Rep: Reputation: 0
pen drive

hi



thanks for replies the usb pen drive mounts automatically and label name displays on desktop.thus i can just left click on icon to open drive

the file system is fat 32 the pendrive being 8gig. the distro is Zenwalk, gnome version

yes I know i should ask zenwalk forum but there are more of you guys and therefore more chance of answer here

from what theNbomr is saying its not that simple then to fix.tredegar will give result of comand but will have to do few day when fly back to Uk from Ghana . my computer does not have internet and am at a cyber cafe using windows with a keyboard that not configured

yuk what a dredful combination !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pen drive and cd drive is not working !!!!!! abhattacharya Fedora 1 08-23-2009 03:21 AM
Using Pen Drive thebhanu Linux - Newbie 1 08-14-2009 04:01 PM
Boot iso on pen drive by grub installed on pen drive jena Linux - Hardware 2 11-01-2008 10:09 AM
USB Pen Drive / Flash Drive Unmounted but the power is there teluguswan Linux - Hardware 11 10-04-2008 04:36 PM
USB flash drive (Pen drive) mounts read only prabhatsoni Linux - Hardware 24 07-02-2007 02:28 PM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration