[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] droit d'acces au port serie



Francois Dessart wrote:
> 
> Bonjour,
> 
> j'utilise un des ports serie pour elier mon Palm. Mais seul le root y a
> actuellement acces. Comment changer les permissions pour que tous les
> utilisateurs puissent y acceder?


la commande est chmod, des droits d'acces sont "a+rw" (All can Read and
Write)
pour plus de renseignement : man chmod

le port serie est un des 4 : /dev/ttyS[0-4]

/dev/ttyS0 etant le COM1

Il y a aussi les HOW-TO, voir /usr/doc/HOWTO/Serial-HOWTO

une recherche sur chmod me donne :

12.7.  "Cannot open /dev/ttyS?: Permission denied"

  Check the file permissions on this port with "ls -l /dev/ttyS?"_ If
  you own the ttyS? then you need read and write permissions: crw with
  the c (Character device) in col. 1.  It you don't own it then it
  should show rw- in cols. 8 & 9 which means that everyone has read and
  write permission on it.  Use "chmod" to change permissions.  There are
  more complicated ways to get access like belonging to a "group" that
  has group permission.


LES MAN ET LES HOWTO SONT TES AMIS

> 
> merci d'avance.
> 
> Francois.
> --------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/

-- 

Linux : May the sources be with you !
KeyLinux
Alain Spineux
 Linux System Engineer
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/