Re: probably a simple problem with permissions

2005-02-20 Thread Loren M. Lang
On Mon, Feb 14, 2005 at 11:53:57PM -0500, David Wassman wrote:
> I am probably understanding this problem incorrectly meaning there is a 
> simple explanation that is escaping me. My /dev/cd0 is owned by root so  
> I have tried to change both the owner and the group so I can use it as a 
> user.
> 
> I have tried:
> chmod 777 /dev/cd0
> chmod -R 777 /dev/cd0
> chgrp 777 /dev/cd0

It should at best be 666, and probably only 644 since cds are read-only.
I don't know if a cd burner needs to be 666 for ordinary users to burn
though.  device files, AFAIK, have no use for execute permissions.  And
I don't think 777 is a valid group name unless you decided to add it for
some reason.  If your cdrom device is cd0 then add "perm cd0 0644" to
/etc/devfs.conf

> 
> The problem is that when I reboot the system the old permissions return 
> and I have to su and change the permissions back. How do I make these 
> changes permanent? There is probably a security reason for  this but it 
> is very inconvenient on a desktop station. Any help would be 
> appreciated. I am running 5.3.
> 
> David
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: probably a simple problem with permissions

2005-02-15 Thread Peter Risdon
On Mon, 2005-02-14 at 23:53 -0500, David Wassman wrote:
> I am probably understanding this problem incorrectly meaning there is a 
> simple explanation that is escaping me. My /dev/cd0 is owned by root so  
> I have tried to change both the owner and the group so I can use it as a 
> user.
> 
> I have tried:
> chmod 777 /dev/cd0
> chmod -R 777 /dev/cd0
> chgrp 777 /dev/cd0
> 
> The problem is that when I reboot the system the old permissions return 
> and I have to su and change the permissions back. How do I make these 
> changes permanent? There is probably a security reason for  this but it 
> is very inconvenient on a desktop station. Any help would be 
> appreciated. I am running 5.3.

You need to make appropriate entries in /etc/devfs.conf

Read the file - it has some examples.

Peter.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


probably a simple problem with permissions

2005-02-14 Thread David Wassman
I am probably understanding this problem incorrectly meaning there is a 
simple explanation that is escaping me. My /dev/cd0 is owned by root so  
I have tried to change both the owner and the group so I can use it as a 
user.

I have tried:
chmod 777 /dev/cd0
chmod -R 777 /dev/cd0
chgrp 777 /dev/cd0
The problem is that when I reboot the system the old permissions return 
and I have to su and change the permissions back. How do I make these 
changes permanent? There is probably a security reason for  this but it 
is very inconvenient on a desktop station. Any help would be 
appreciated. I am running 5.3.

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"