LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2009, 03:09 PM   #1
teodor_b
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 1
help with udev rules and write permisions


Hi !

I have slackware 12.2. And I am trying to mount automatically my flash when plug it. I wrote this rule :
Quote:
SUBSYSTEM=="block", ATTR{removable}="1", NAME="%k", RUN+="/usr/local/bin/mount_script /dev/%k /media/%k"
and the flash mounts automatically, but I don't have permissions to write on it. I tried to change the permissions of the file with adding MODE="0777", also MODE="0666" and OWNER="my_user_name", but it didn't worked. I still can't write on my flash.

What I have to do ?

Tanks
 
Old 08-16-2009, 06:12 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
you may need to add yourself to some more groups
Code:
(username) cdrom floppy audio dip video plugdev users scanner netdev fuse vboxusers
plugdev is the main one

Last edited by aus9; 08-16-2009 at 06:13 PM.
 
Old 08-17-2009, 03:00 AM   #3
teodor_b
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 1
Wow it really works with my scanner. Tanks a lot. But I still have problem with the write permissions

Last edited by teodor_b; 08-17-2009 at 05:27 AM.
 
  


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
How to edit "/etc/udev/rules.d/40-basic-permissions.rules" file cygan Linux - Newbie 11 03-09-2009 05:22 AM
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory rcg1984 Linux From Scratch 2 09-17-2008 07:02 AM
How to write two snort detection rules to alert on packets to those rules romafiel *BSD 0 06-08-2007 07:00 PM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
need help fixing my udev rules or ivman rules hedpe Linux - Hardware 2 03-18-2006 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 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