Help!

/dev/st0 permissions change after reboot in RHEL 4 and fed..


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions (archive 1) RSS
Next:  [Samba] domain SID not changing  
Author Message
kevintest
External


Since: Apr 04, 2006
Posts: 3



PostPosted: Tue May 02, 2006 6:35 am    Post subject: /dev/st0 permissions change after reboot in RHEL 4 and fedor
Archived from groups: comp>os>linux>misc (more info?)

I would change the permissions on /dev/st0 to allow others write
permissions to tape drives, but the changes wouldn't remain after a
reboot.
to make the change permenent in RHEL 4, you should change the
/etc/udev/permissions.d/50-udev.permissions file. Look for a line with
the device you want to change permissions on. For me, it looked like
this:

# tape devices
ht*:root:disk:0660
nht*:root:disk:0660
pt[0-9]*:root:disk:0660
npt*:root:disk:0660
st*:root:disk:0666 <== This is the line I changed. it used to be 0660
nst*:root:disk:0666

In fedora core 5, I think the same thing is accomplished using
/etc/udev/rules/d/50-udev.rules.
The look is a little different, but you should be able to tell which
changes need to be made.
Back to top
Kevin the Drummer
External


Since: Mar 28, 2005
Posts: 245



PostPosted: Wed May 03, 2006 11:58 am    Post subject: Re: /dev/st0 permissions change after reboot in RHEL 4 and f [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

kevintest.TakeThisOut@gmail.com <kevintest.TakeThisOut@gmail.com> wrote:
> I would change the permissions on /dev/st0 to allow others write
> permissions to tape drives, but the changes wouldn't remain after a
> reboot.
> to make the change permenent in RHEL 4, you should change the
> /etc/udev/permissions.d/50-udev.permissions file. Look for a line with
> the device you want to change permissions on. For me, it looked like
> this:
>
> # tape devices
> ht*:root:disk:0660
> nht*:root:disk:0660
> pt[0-9]*:root:disk:0660
> npt*:root:disk:0660
> st*:root:disk:0666 <== This is the line I changed. it used to be 0660
> nst*:root:disk:0666
>
> In fedora core 5, I think the same thing is accomplished using
> /etc/udev/rules/d/50-udev.rules.
> The look is a little different, but you should be able to tell which
> changes need to be made.

Is this a replacement mechanism for /etc/security/console.perms ???

Thanks...


--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
Back to top
kevintest
External


Since: Apr 04, 2006
Posts: 3



PostPosted: Thu May 18, 2006 5:05 am    Post subject: Re: /dev/st0 permissions change after reboot in RHEL 4 and fedora core 5 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

No. I guess you could do something like it with console.perms, but I
don't want the permissions to change back and forth, I just want to
alter the default. Depending on your situation, I suppose one could use
either mechanism.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions (archive 1) All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum