Home
Thursday, October 19, 2017
7:21:52 AM
Users online: 0   You are here >> Home > Open Source OS

Forums | Open Source OS Forums search
Forum FAQ
   
  1  
permission reset on ttyACM0
espionage 
31/7/08 3:54:55 PM
Master
i've been having this issue with gnokii on my vm. it use to work perfectly with my normal user account. all of a sudden it started giving me permission errors when tried to run either 'gnokii --identify' or 'gnokii --sendsms'. The errors were:
'gnokii serial_open: open : permission denied'
'couldn't open FBUS device : permission denied'

so i checked the permissions on ttyACM0 and gave 'others' rw permission. now everytime i reboot the permissions default back to original and i cannot run gnokii commands. Is there a way to fix this?

-----

wilsontc 
31/7/08 4:31:24 PM
Guru

Yes, there is a way to change this. I believe you'll have to make some config changes to udev, assuming you're using Linux. Which distribution are you using? The location of the config file is probably distribution specific.

-----
Quote by Kothos
More importantly, do any of you girls like arse hair??



espionage 
1/8/08 10:07:30 AM
Master
Quote by wilsontc
Yes, there is a way to change this. I believe you'll have to make some config changes to udev, assuming you're using Linux. Which distribution are you using? The location of the config file is probably distribution specific.



i'm using ubuntu 8.04 server on a vm. any idea why it stopped working all of a sudden?

-----

AnthraxPants 
2/8/08 1:52:08 PM
Overlord

I think you should of given 'users' rw permissions. Not sure, I'll have to check it out as I don't use gnokii, but I can cook gnocchi.

Who has ownership of the ttyACM0, root?





Edited by AnthraxPants: 2/8/2008 1:53:33 PM

-----
Intel Q6600@3.2GHz /Ultra 120 Extreme
2x 1GB Dominator DDR2 1066MHz
EVGA 8800GTS 320MB 605/890MHz
650W CoolerMaster PSU
Gigabyte GA-P35C-DS3R
Debian Lenny/XP 32/Vista 32

espionage 
4/8/08 8:00:05 AM
Master
Quote by AnthraxPants
I think you should of given 'users' rw permissions. Not sure, I'll have to check it out as I don't use gnokii, but I can cook gnocchi.

Who has ownership of the ttyACM0, root?

Edited by AnthraxPants: 2/8/2008 1:53:33 PM



root it is.. now that you've given me an idea i'll try changing the owner to my default user and see how it goes. i'll post the results soon.

-----

espionage 
7/8/08 3:13:36 PM
Master
tried changing the owner to default user but still no luck. everytime i reboot it resets back to default. please help.

-----

Redhatter 
9/8/08 12:26:57 PM
Hero
Titan


Check the ownership of ttyACM0... it'll be owned by some group that your user needs to be a part of.

Can you run and post the contents of:
ls -l /dev/ttyACM0 
id


It should show you which group owns the file ... likely a group called "dialout" or maybe "uucp". Once you know that, run sudo vigr , locate the group name in the left column, jump to the end of the line and add yourself there.

-----
Stuart Longland (aka. Redhatter, VK4FSJL)
I haven't lost my mind it's backed up on a tape somewhere...
http://atomicdoc.yi.org <-- AtomicDOC Wiki
Resident Coolie-hatted Gentoo geek. (Gentoo MIPS & Mozilla herd member)

  1  
Forums | Open Source OS