Re: Re: Re: Can't mount pendrive on testing

2011-03-10 Thread Marcelo Laia
> Install the package 'pmount'. Plug in the stick and, as a user, do
>
> pmount /dev/sdb1


OK! It worked. Thank you very much! They could access it by Nautilus.
However, only one user can have access... Not both logged users!

But, why in the multseat (multhead) it isn't automatically mounted
with privileges to both logged users?

-- 
Marcelo Luiz de Laia


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTikVds=Dahba3kFLbL+U3V5zU4Y4X=4kdur57...@mail.gmail.com



Re: Can't mount pendrive on testing

2011-03-10 Thread Celejar
On Thu, 10 Mar 2011 19:07:30 +
Brian  wrote:

> On Thu 10 Mar 2011 at 12:39:16 -0600, Jason Hsu wrote:
> 
> > pmount is included with Puppy Linux.  Is this the reason I've found Puppy
> > Linux to be the best at copying files from failing hard drives when other
> > distros fell short on this task?
> 
> I would have thought not. From pmount(1):
> 
> pmount  ("policy  mount")  is a wrapper around the standard mount program
> which permits normal users to mount removable devices without a matching
> /etc/fstab entry.

And pmount is in Debian, too.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310150809.70b6d801.cele...@gmail.com



Re: Can't mount pendrive on testing

2011-03-10 Thread Brian
On Thu 10 Mar 2011 at 12:39:16 -0600, Jason Hsu wrote:

> pmount is included with Puppy Linux.  Is this the reason I've found Puppy
> Linux to be the best at copying files from failing hard drives when other
> distros fell short on this task?

I would have thought not. From pmount(1):

pmount  ("policy  mount")  is a wrapper around the standard mount program
which permits normal users to mount removable devices without a matching
/etc/fstab entry.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310190730.GO7935@desktop



Re: Can't mount pendrive on testing

2011-03-10 Thread Jason Hsu
pmount is included with Puppy Linux.  Is this the reason I've found Puppy Linux 
to be the best at copying files from failing hard drives when other distros 
fell short on this task?

On Thu, 10 Mar 2011 18:10:15 +
Brian  wrote:
> 
> This won't please your wife and children but may help narrow down where
> the problem lies.
> 
> Install the package 'pmount'. Plug in the stick and, as a user, do 
> 
> pmount /dev/sdb1
> 
> List files on the drive with
> 
> ls -l /media/sdb1
> 
> If that works the problem would appear to be with the automounting
> software.
> 
-- 
Jason Hsu 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310123916.c2a2a731.jhsu802...@jasonhsu.com



Re: Re: Can't mount pendrive on testing

2011-03-10 Thread Brian
On Thu 10 Mar 2011 at 13:22:04 -0300, Marcella Laia wrote:

> Yes, setting uid and gid options I could give write privileges to an
> user. But, I would like to plug the pendrive and all two current users
> could write in it. This 3 users is not familiarized with command line.
> 
> One user is my wife and others two are my son and my daughter. They
> are want to kill me! ;)

This won't please your wife and children but may help narrow down where
the problem lies.

Install the package 'pmount'. Plug in the stick and, as a user, do 

pmount /dev/sdb1

List files on the drive with

ls -l /media/sdb1

If that works the problem would appear to be with the automounting
software.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310181015.GN7935@desktop



Re: Re: Can't mount pendrive on testing

2011-03-10 Thread Marcella Laia
>>> plugdev:x:46:inael,marcella,janaina
>>
>>Is JANA a user too?
>>
>>
>
> I'd guess it's a volume label of the vfat partition.

Yes! JANA is the vfat partition label.

My users are inael,marcella,janaina

Any suggestion? The problem persist.

Yes, setting uid and gid options I could give write privileges to an
user. But, I would like to plug the pendrive and all two current users
could write in it. This 3 users is not familiarized with command line.

One user is my wife and others two are my son and my daughter. They
are want to kill me! ;)

Thank you very much

Marcelo Luiz de Laia


Re: Can't mount pendrive on testing

2011-03-10 Thread Camaleón
On Wed, 09 Mar 2011 19:00:16 -0300, Marcelo Laia wrote:

> When I plug a Kingston 1Gb pendrive on my desktop, was popup a
> information:
> 
> Don't was possible to mount "JANA"
> Not authorization
> 
> dmesg output

(...)

> [26096.736220] FAT: invalid media value (0xb9) 
> [26096.736225] VFS: Can't find a valid FAT filesystem on dev sdb.

(...)

Those messages look "suspicious".

What does "fdisk -l /dev/sdb" command (has to be run as root) say?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.03.10.16.01...@gmail.com



Re: Can't mount pendrive on testing

2011-03-10 Thread Andrej Kacian
On Thu, 10 Mar 2011 13:45:05 +
Brian  wrote:

>On Thu 10 Mar 2011 at 08:09:33 -0300, Marcelo Laia wrote:
>
>> But, only root gain access to write in the mass storage. Plus,
>> automount continue not working. When I plug the pendrive, a popup
>> show:
>> 
>> Wasn't possible to mount JANA
>> Not Authorized
>
>>From an earlier post of yours these are the users who can mount the
>drive:
>
>> plugdev:x:46:inael,marcella,janaina
>
>Is JANA a user too?
>
>

I'd guess it's a volume label of the vfat partition.

-- 
Andrej Kacian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310150624.0117351d@penny



Re: Re: Can't mount pendrive on testing

2011-03-10 Thread Brian
On Thu 10 Mar 2011 at 08:09:33 -0300, Marcelo Laia wrote:

> But, only root gain access to write in the mass storage. Plus,
> automount continue not working. When I plug the pendrive, a popup
> show:
> 
> Wasn't possible to mount JANA
> Not Authorized

>From an earlier post of yours these are the users who can mount the
drive:

> plugdev:x:46:inael,marcella,janaina

Is JANA a user too?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310134505.GM7935@desktop



Re: Re: Can't mount pendrive on testing

2011-03-10 Thread Anand Sivaram
On Thu, Mar 10, 2011 at 16:39, Marcelo Laia  wrote:

> > You could try:
> >
> > # mount /dev/sdb1 /media/pen
> >  ^
>
> Thank you! It worked!
>
> But, only root gain access to write in the mass storage. Plus,
> automount continue not working. When I plug the pendrive, a popup
> show:
>
> Wasn't possible to mount JANA
> Not Authorized
>
> This message appear in both monitor (I have a multseat system).
>
> Thank you very much!
>
>
> --
>   O__   --- Marcelo Luiz de Laia  Rodovia MGT 367, Km 583
>  c/   /' _ -- Dep. de Engenharia Florestal  nº 5000, Alto da Jacuba
> (*)   \ (*) - UFVJM, Diamantina, MG, Brasil  Ph: (+55) 38 3532 1248
> ~~- (www.ufvjm.edu.br/floresta)   FAX: (+55) 38 3532 1200
> ^^- Linux user number 487797  CEP: 39.100-000 - Brazil
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/aanlktiklej6cbotfedr1-6od6qeq1re0y3n8v...@mail.gmail.com
>
>

For vfat, you can set the uid=value,gid=value options.  This sets the
uid/gid of all files to the value given.
Alternatively, update fstab with a line for the device and mount point with
"user" option.


Re: Re: Can't mount pendrive on testing

2011-03-10 Thread Marcelo Laia
> You could try:
>
> # mount /dev/sdb1 /media/pen
>  ^

Thank you! It worked!

But, only root gain access to write in the mass storage. Plus,
automount continue not working. When I plug the pendrive, a popup
show:

Wasn't possible to mount JANA
Not Authorized

This message appear in both monitor (I have a multseat system).

Thank you very much!


-- 
  O__   --- Marcelo Luiz de Laia                  Rodovia MGT 367, Km 583
 c/   /' _ -- Dep. de Engenharia Florestal      nº 5000, Alto da Jacuba
(*)   \ (*) - UFVJM, Diamantina, MG, Brasil  Ph: (+55) 38 3532 1248
~~- (www.ufvjm.edu.br/floresta)           FAX: (+55) 38 3532 1200
^^- Linux user number 487797          CEP: 39.100-000 - Brazil


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTikLej6cBOTFeDR1-6Od6qEq1re0Y3n8V8M==h...@mail.gmail.com



Re: Can't mount pendrive on testing

2011-03-09 Thread Brian
On Wed 09 Mar 2011 at 19:00:16 -0300, Marcelo Laia wrote:

> [26223.501248] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> [26223.501254]  sdb: sdb1
> [26223.517267] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> [26223.517272] sd 9:0:0:0: [sdb] Attached SCSI removable disk
> 
> 
> I try to mount it by command line as root:
> 
> # mount -t vfat -o umask= /dev/sdb /media/pen/
> mount: wrong fs type, bad option, bad superblock on /dev/sdb,
>missing codepage or helper program, or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so

You could try:

# mount /dev/sdb1 /media/pen
^


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110310001423.GL7935@desktop