How Do I Set Default Permissions
(SuSE Linux 10.0, Nautilus 2.12, Gnome 2.x) I can't seem to locate info on how to set default permissions for a folder and it's contents. For example, let's say I want all new folders and files under a given folder as well as files moved into a folder to take on the permissions of the parent folder. First, is this even possible and, if so, where would I find info on how to do it? Thanks for any advice. Donald D. Henson, Managing Director West El Paso Information Network The "Non-Initiation of Force Principle" Rules
* Donald D Henson
I can't seem to locate info on how to set default permissions for a folder and it's contents.
look at: http://www.linuxforums.org/security/file_permissions.html -- 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
On Wed, 2006-04-12 at 15:24 -0400, Patrick Shanahan wrote:
* Donald D Henson
[04-12-06 14:37]: I can't seem to locate info on how to set default permissions for a folder and it's contents.
look at: http://www.linuxforums.org/security/file_permissions.html
-- 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
Thanks for the reference. It looks like the answer to my question is in there somewhere but it also looks like I'm going to have to spend some time in there. Donald D. Henson, Managing Director West El Paso Information Network The "Non-Initiation of Force Principle" Rules
On 13/04/06, Donald D Henson
On Wed, 2006-04-12 at 15:24 -0400, Patrick Shanahan wrote:
* Donald D Henson
[04-12-06 14:37]: I can't seem to locate info on how to set default permissions for a folder and it's contents.
look at: http://www.linuxforums.org/security/file_permissions.html
-- 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
Thanks for the reference. It looks like the answer to my question is in there somewhere but it also looks like I'm going to have to spend some time in there.
Donald D. Henson, Managing Director West El Paso Information Network The "Non-Initiation of Force Principle" Rules
I've got the feeling that Donald is after the file or area that SuSE stores its 'default' set of permissions that it refers to when it automatically creates a new entry in fstab. Am I correct? If so, I would be very interested in knowing this myself. I did ask a few weeks ago but presumed that nobody knew as it went unanswered. I too know about stuff like running chmod 777 as an example of giving full read, write and execute permissions to everybody. It's just where that default file actually is? -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Xmas may be over but, PLEASE DON'T drink and drive you'll make it to the next one that way. Kevan Farmer Linux user #373362 Cheslyn Hay Staffordshire WS6 7HR
On Thursday 13 April 2006 9:40 am, Kevanf1 wrote:
I've got the feeling that Donald is after the file or area that SuSE stores its 'default' set of permissions that it refers to when it automatically creates a new entry in fstab. Am I correct? If so, I would be very interested in knowing this myself. I did ask a few weeks ago but presumed that nobody knew as it went unanswered. I too know about stuff like running chmod 777 as an example of giving full read, write and execute permissions to everybody. It's just where that default file actually is?
Kevan Farmer
How about the /etc/permissions* files? Especially /etc/permissions.local to keep specific settings over various YOU, synaptic, smart updates and upgrades. Stan
On 13/04/06, S Glasoe
On Thursday 13 April 2006 9:40 am, Kevanf1 wrote:
I've got the feeling that Donald is after the file or area that SuSE stores its 'default' set of permissions that it refers to when it automatically creates a new entry in fstab. Am I correct? If so, I would be very interested in knowing this myself. I did ask a few weeks ago but presumed that nobody knew as it went unanswered. I too know about stuff like running chmod 777 as an example of giving full read, write and execute permissions to everybody. It's just where that default file actually is?
Kevan Farmer
How about the /etc/permissions* files? Especially /etc/permissions.local to keep specific settings over various YOU, synaptic, smart updates and upgrades.
Stan
Cheers Stan. I'll take a look. -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Xmas may be over but, PLEASE DON'T drink and drive you'll make it to the next one that way. Kevan Farmer Linux user #373362 Cheslyn Hay Staffordshire WS6 7HR
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2006-04-13 at 15:40 +0100, Kevanf1 wrote:
I've got the feeling that Donald is after the file or area that SuSE stores its 'default' set of permissions that it refers to when it automatically creates a new entry in fstab. Am I correct? If so, I would be very interested in knowing this myself.
You mean hotplugged devices, like usb drives? Look under /etc/udev and perhaps /usr/share/hal - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEQCrttTMYHG2NR9URAkIpAJwJmd2mMEgrwv7Y6PwyTV95YpXyRACfeSrT pabFOdD8ifLj+YBxvwtInyk= =DHye -----END PGP SIGNATURE-----
On 15/04/06, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Thursday 2006-04-13 at 15:40 +0100, Kevanf1 wrote:
I've got the feeling that Donald is after the file or area that SuSE stores its 'default' set of permissions that it refers to when it automatically creates a new entry in fstab. Am I correct? If so, I would be very interested in knowing this myself.
You mean hotplugged devices, like usb drives? Look under /etc/udev and perhaps /usr/share/hal
- -- Cheers, Carlos Robinson
Mmmm, yes and no, Carlos. I'd like to know where the area is that SuSE actually holds the file with it's permissions set. As an example, if I were to install a brand new clean SuSE 10 where are the actual device permissions held that the install refers to then? -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Xmas may be over but, PLEASE DON'T drink and drive you'll make it to the next one that way. Kevan Farmer Linux user #373362 Cheslyn Hay Staffordshire WS6 7HR
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2006-04-15 at 11:01 +0100, Kevanf1 wrote:
Mmmm, yes and no, Carlos. I'd like to know where the area is that SuSE actually holds the file with it's permissions set. As an example, if I were to install a brand new clean SuSE 10 where are the actual device permissions held that the install refers to then?
Depends on which devices. The initial default for the /dev directory depends on devfs, as implemented by the udev daemon, with configuration in /etc/udev/; remember that the /dev tree is now dynamic, not static as it was. Sure, there is a static tree coming from devs-...rpm, but it gets completely overwritten once the kernel starts the devfs, very early in the bootup process. Then, some may get modified by /dev/devperms. Some may get modified by the /etc/permissions* files. And some get modified on every single local login according to /etc/logindevperm. Not to forget those plugable devices depending on the hald daemon, with configuration under /usr/share/hal. See? Not a single place. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEQNiFtTMYHG2NR9URAo8PAJ9+lb9xy3fxghceqMGfRbxJv7HuUwCgjOR6 q+cyfZvaVfkTiy5j756nvVs= =Cyg/ -----END PGP SIGNATURE-----
participants (5)
-
Carlos E. R.
-
Donald D Henson
-
Kevanf1
-
Patrick Shanahan
-
S Glasoe