Hello List, I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but assoon i restart the system the defaul value is set again. I have tryed to put a rule into /etc/permission or /etc/permission.local but nothing will work. Could anybody tell me where it is written down that the devices have to have readonly for the Group Greats Michael
Michael Schueller wrote:
Hello List, I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but assoon i restart the system the defaul value is set again.
I have a similar problem, only with video0 and dsp and not hdb. I unfortunately do not have a working solution.
I have tryed to put a rule into /etc/permission or /etc/permission.local but nothing will work.
This is, I think, meant to set the permission of files rather than devices. It is not read at boot, but while running SuSEconfig --module permissions.
Could anybody tell me where it is written down that the devices have to have readonly for the Group
There is a file in /var/lib/ named pam_devperm that holds values for at least some devices, and it is read at boot time. I haven't rebooted my computer after changing this as I only recently found the file and have no reason to reboot just jet. This is therefore an untested solution and may not work. I just hope somebody with more knowledge in this jumps in with a correct solution. Cheers Gulli -- Guðlaugur Jóhannesson http://www.hi.is/~gudlaugu Phone: +354 849 8405
Guðlaugur Jóhannesson wrote:
Michael Schueller wrote:
Hello List, I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but assoon i restart the system the defaul value is set again.
I have a similar problem, only with video0 and dsp and not hdb. I unfortunately do not have a working solution.
I have tryed to put a rule into /etc/permission or /etc/permission.local but nothing will work.
This is, I think, meant to set the permission of files rather than devices. It is not read at boot, but while running SuSEconfig --module permissions.
Could anybody tell me where it is written down that the devices have to have readonly for the Group
There is a file in /var/lib/ named pam_devperm that holds values for at least some devices, and it is read at boot time. I haven't rebooted my computer after changing this as I only recently found the file and have no reason to reboot just jet. This is therefore an untested solution and may not work. I just hope somebody with more knowledge in this jumps in with a correct solution.
Cheers Gulli
Just an ideia, as i'm not sure. The workaround could be done in the /etc/fstab file The matter is, if you can set permission for some filesystems (umask=0002, etc.), i don't know if it is correct for ReiserFS. i read that when you have an parameter in fstab as "user" (user id, UID), you can apply the permissions, in the same logic, on a specific GID (Group Id), as yours is your local "Group Disk". Hope this can help, and if it is not the correct approach, please tell, for Michael to have his issue resolved. Cheers, Patrick M.
Am Samstag, 1. Oktober 2005 00:36 schrieb pmoellon:
Guðlaugur Jóhannesson wrote:
Michael Schueller wrote:
I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but assoon i restart the system the defaul value is set again. I have a similar problem, only with video0 and dsp and not hdb. I unfortunately do not have a working solution. I have tryed to put a rule into /etc/permission or /etc/permission.local but nothing will work. Could anybody tell me where it is written down that the devices have to have readonly for the Group
Hi pmoellon, case 1 disable the resmgr service, set the permissions you want and reboot. If your perms are not changed again, you have a problem with resmgr. OR case 2 look in /etc/logindevperm and change the 0600 to 0660 -- mdc
Am Samstag, 1. Oktober 2005 03:00 schrieb meister@netz00.com:
Hi pmoellon,
case 1 disable the resmgr service, set the permissions you want and reboot. If your perms are not changed again, you have a problem with resmgr. OR case 2 look in /etc/logindevperm and change the 0600 to 0660
Hello meister, case 2 is what i did to overwrite the systemsettings to my needs, and what i recomment Gulli to solve his dsp Problem (even when i dont know what exactly the Problem is, also see "Sound not available when a new user session started") Greetings Michael
On Sat, Oct 01, 2005 at 03:00:48AM +0200, meister@netz00.com wrote:
Am Samstag, 1. Oktober 2005 00:36 schrieb pmoellon:
Guðlaugur Jóhannesson wrote:
Michael Schueller wrote:
I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but assoon i restart the system the defaul value is set again. I have a similar problem, only with video0 and dsp and not hdb. I unfortunately do not have a working solution. I have tryed to put a rule into /etc/permission or /etc/permission.local but nothing will work. Could anybody tell me where it is written down that the devices have to have readonly for the Group
Hi pmoellon,
case 1 disable the resmgr service, set the permissions you want and reboot. If your perms are not changed again, you have a problem with resmgr.
resmgr does not touch permissions or ownership at all, so this advice is wrong. That the permissions are set on every boot is because the devices are recreated by "udev" at every boot. Udev is configurable via magic configuration files /etc/udev.d/
OR case 2 look in /etc/logindevperm and change the 0600 to 0660
Might work... But the real and first question is: What do you really want to do? Ciao, Marcus
Am Samstag, 1. Oktober 2005 12:57 schrieb Marcus Meissner:
On Sat, Oct 01, 2005 at 03:00:48AM +0200, meister@netz00.com wrote:
Am Samstag, 1. Oktober 2005 00:36 schrieb pmoellon:
Guðlaugur Jóhannesson wrote:
Michael Schueller wrote:
I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but as soon i restart the system the defaul value is set again.
[...]
OR case 2 look in /etc/logindevperm and change the 0600 to 0660
Might work... But the real and first question is:
What do you really want to do?
Hi Marcus, if you ask me why i want to change the defaults of the group Permissions to read/write, the answer would be that i want to include a physikal disk into a VirtualMashine. For this a Member of the Group Disk needs read & write Permissions onto the device ... Greets Michael
Ciao, Marcus
On Sat, Oct 01, 2005 at 02:13:25PM +0200, Michael Schueller wrote:
Am Samstag, 1. Oktober 2005 12:57 schrieb Marcus Meissner:
On Sat, Oct 01, 2005 at 03:00:48AM +0200, meister@netz00.com wrote:
Am Samstag, 1. Oktober 2005 00:36 schrieb pmoellon:
Guðlaugur Jóhannesson wrote:
Michael Schueller wrote:
I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but as soon i restart the system the defaul value is set again.
[...]
OR case 2 look in /etc/logindevperm and change the 0600 to 0660
Might work... But the real and first question is:
What do you really want to do?
Hi Marcus, if you ask me why i want to change the defaults of the group Permissions to read/write, the answer would be that i want to include a physikal disk into a VirtualMashine. For this a Member of the Group Disk needs read & write Permissions onto the device ...
Ok, then changing the permission is the right way. Either logindevperm, or via udev (where I do not know it exactly how to, sorry). Ciao, Marcus
Am Samstag, 1. Oktober 2005 12:57 schrieb Marcus Meissner:
On Sat, Oct 01, 2005 at 03:00:48AM +0200, meister@netz00.com wrote:
Am Samstag, 1. Oktober 2005 00:36 schrieb pmoellon:
Guðlaugur Jóhannesson wrote:
Michael Schueller wrote:
I´m trying to change the Permission of the Device dev/hdb2 to read/write for the Group Disk, but assoon i restart the system the defaul value is set again. I have a similar problem, only with video0 and dsp and not hdb. I unfortunately do not have a working solution. I have tryed to put a rule into /etc/permission or /etc/permission.local but nothing will work. Could anybody tell me where it is written down that the devices have to have readonly for the Group case 1 disable the resmgr service, set the permissions you want and reboot. If your perms are not changed again, you have a problem with resmgr. resmgr does not touch permissions or ownership at all, so this advice is wrong.
Hi Marcus, sorry for that.
That the permissions are set on every boot is because the devices are recreated by "udev" at every boot. Udev is configurable via magic configuration files /etc/udev.d/
ok, I will read some documentation.
OR case 2 look in /etc/logindevperm and change the 0600 to 0660
Might work... But the real and first question is:
What do you really want to do?
That's a philosophical question :-) Ask Michael, who started this thread. -- mdc
participants (5)
-
Guðlaugur Jóhannesson
-
Marcus Meissner
-
meister@netz00.com
-
Michael Schueller
-
pmoellon