I am trying to use groisofs in a kornshell script called by cron to backup a user's files to my dvd burner. the script with growisofs works fine if run as root but when I try running it as a 'normal' users I get permission denied on the device. I went to fstab and on the /dev/dvdrecorder line added the wr option. What am I missing? Jim Hanks ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ------------------------------------------------------------------------------
Hi, On Mon, 11 Sep 2005, James Hanks wrote:
I am trying to use groisofs in a kornshell script called by cron to backup a user's files to my dvd burner. the script with growisofs works fine if run as root but when I try running it as a 'normal' users I get permission denied on the device. I went to fstab and on the /dev/dvdrecorder line added the wr option. What am I missing?
You have to change the permissions on /dev/dvdrecorder (where it is pointing to) directly, or better give the user the additional group "disk". Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)
Hello, Am Montag, 12. September 2005 03:29 schrieb Eberhard Moenkeberg:
On Mon, 11 Sep 2005, James Hanks wrote:
I went to fstab and on the /dev/dvdrecorder line added the wr option. What am I missing?
You have to change the permissions on /dev/dvdrecorder (where it is pointing to) directly, or better give the user the additional group "disk".
I don't consider this a good idea. Just have a look into /dev/ - all hd* and sd* devices are writeable by members of "disk". This means you could (accidently) clean up your hard disks. If you want to solve this with group permissions, create a new group, and chgrp /dev/cdrecorder. Oh, and please don't post HTML and vCards to this mailinglist. Regards, Christian Boltz -- Das 42te Gebot des Usernetzes besagt: "Du sollst nicht süchtig siggen eines Süchtigen Signatur. Auf das du selber nicht siggsüchtig werdest." Wahrscheinlich wird das jetzt wieder gesiggt. [WoKo in dag°]
* James Hanks <HanksJF@ldschurch.org> [09-11-05 20:23]:
What am I missing?
Perhaps using html to communicate in a text only forum. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
participants (4)
-
Christian Boltz
-
Eberhard Moenkeberg
-
James Hanks
-
Patrick Shanahan