··· vfat partitions permissions wanishing too quickly
] vfat partitions permissions wanishing too quickly Hi! Sorry for this old pain. Some mecanisme in SuSE 8.0, absent in SuSE 7.2, switches off all necessary permissions to work in Windows partitions evry fifteen minutes, dont know precisely how much time. I have no fluency with permissions and it is really boring to be obliged to re-establish them. No doubt there is one or some simple commands to do that, thoses I cant memorise (real old newbie) But I should very much prefer find how, where, and by what mechanism thoses permissions are periodically modified against my will an how I could prevent that (or better: increase the delay before this untimely spurious resetting). Parts of my fstab: /dev/hda1 /C vfat rw,noauto,user,exec 0 0 /dev/hda2 /D vfat rw,noauto,user,exec 0 0 With this I mount Windows partitions but to be able to fiddle with the files in there I must chmod a little (the boring thing) with the button of FileRunner and at that point starts the countdown of ± 15 minutes à la con! Could somebody help me in my burden or should I change my nickname to Penelope or Nausicaa or rather Rachel or Maura to attract your learned attention? This little bitterly grumbling for having been ignored recently in my questionning. You are my beloved list. O. L.
olivier.lichtenberger@numericable.fr queried windows file permissions Hi try using : umask=000 example : /dev/hdb5 /windows/C vfat noauto,user,umask=000 0 0 best wishes ____________ sent on Linux ____________
On Wednesday 23 October 2002 07.06, ·· Ulysses ·· wrote:
Some mecanisme in SuSE 8.0, absent in SuSE 7.2, switches off all necessary permissions to work in Windows partitions evry fifteen minutes, dont know precisely how much time.
The only things I know that run that frequently are the scripts in /etc/cron.d. What do you have there?
Parts of my fstab:
/dev/hda1 /C vfat rw,noauto,user,exec 0 0 /dev/hda2 /D vfat rw,noauto,user,exec 0 0
It's a bit strange that you have to chmod at all. Do you mount the directories as user or root? What is your umask setting? you could try adding "umask=0" to the options in fstab. Anders
Anders Johansson wrote:
On Wednesday 23 October 2002 07.06, ·· Ulysses ·· wrote:
Some mecanisme in SuSE 8.0, absent in SuSE 7.2, switches off all necessary permissions to work in Windows partitions evry fifteen minutes, dont know precisely how much time.
The only things I know that run that frequently are the scripts in /etc/cron.d. What do you have there?
/etc/cron.d/awstats nothing else
Parts of my fstab:
/dev/hda1 /C vfat rw,noauto,user,exec 0 0 /dev/hda2 /D vfat rw,noauto,user,exec 0 0
It's a bit strange that you have to chmod at all. Do you mount the directories as user or root? What is your umask setting? you could try adding "umask=0" to the options in fstab.
Anders
The only trace of umask is in the /etc/profile unchanged as prescribed by SuSE: umask 022 In fstab I tried umask=0 or umask=000 with no effect and sevral flavors of uid and gid gleaned in the list neither. Presently with "rw,noauto,user,exec 0 0" evry single file and directory is -rwxrwxrwx and drwxrwxrwx. And only can I work happily there as root. O. L.
Hello Rachel, you know, I really like to help you ;-) I had the same problem before, but after I extracted from the wise comments on this list some wisdom, I changed my fstab to: /dev/hda1 /windows/C vfat auto,user,gid=6,umask=007 0 0 /dev/hde1 /windows/D vfat auto,user,gid=6,umask=000 0 0 and since then I work as user on these windows drives, no need to be root anymore. Maura, the gid=6 refers to the group with the id 6 (check in kusers for example) which in my case is the group disk. So you have to add Rachel and Maura and Penelope or Nausicaa to the group disk, if you haven't done so yet. Or use any other group you want. It should be the same with uid for a user instead of a group. The gid=6 did the trick to let the files and directories on my windows drive show the group (here "disk") as the owner, but the umask was needed as well, I just forgot why (yes, the age...). Penelope, I hope this will help you, and tell Rachel to ask again if she has more questions! Regards, ;-) On Wednesday 23 October 2002 12:06, ·· Ulysses ·· wrote:
] vfat partitions permissions wanishing too quickly
Hi!
Sorry for this old pain.
Some mecanisme in SuSE 8.0, absent in SuSE 7.2, switches off all necessary permissions to work in Windows partitions evry fifteen minutes, dont know precisely how much time.
I have no fluency with permissions and it is really boring to be obliged to re-establish them. No doubt there is one or some simple commands to do that, thoses I cant memorise (real old newbie)
But I should very much prefer find how, where, and by what mechanism thoses permissions are periodically modified against my will an how I could prevent that (or better: increase the delay before this untimely spurious resetting).
Parts of my fstab:
/dev/hda1 /C vfat rw,noauto,user,exec 0 0 /dev/hda2 /D vfat rw,noauto,user,exec 0 0
With this I mount Windows partitions but to be able to fiddle with the files in there I must chmod a little (the boring thing) with the button of FileRunner and at that point starts the countdown of ± 15 minutes à la con!
Could somebody help me in my burden or should I change my nickname to Penelope or Nausicaa or rather Rachel or Maura to attract your learned attention? This little bitterly grumbling for having been ignored recently in my questionning.
You are my beloved list.
O. L.
Matt T. wrote:
Hello Rachel,
you know, I really like to help you ;-)
I had the same problem before, but after I extracted from the wise comments on this list some wisdom, I changed my fstab to:
/dev/hda1 /windows/C vfat auto,user,gid=6,umask=007 0 0 /dev/hde1 /windows/D vfat auto,user,gid=6,umask=000 0 0
and since then I work as user on these windows drives, no need to be root anymore.
Maura, the gid=6 refers to the group with the id 6 (check in kusers for example) which in my case is the group disk. So you have to add Rachel and Maura and Penelope or Nausicaa to the group disk, if you haven't done so yet.
Or use any other group you want. It should be the same with uid for a user instead of a group.
The gid=6 did the trick to let the files and directories on my windows drive show the group (here "disk") as the owner, but the umask was needed as well, I just forgot why (yes, the age...).
Penelope, I hope this will help you, and tell Rachel to ask again if she has more questions!
Regards, ;-)
On Wednesday 23 October 2002 12:06, ·· Ulysses ·· wrote:
] vfat partitions permissions wanishing too quickly
Hi!
Sorry for this old pain.
Some mecanisme in SuSE 8.0, absent in SuSE 7.2, switches off all necessary permissions to work in Windows partitions evry fifteen minutes, dont know precisely how much time.
I have no fluency with permissions and it is really boring to be obliged to re-establish them. No doubt there is one or some simple commands to do that, thoses I cant memorise (real old newbie)
But I should very much prefer find how, where, and by what mechanism thoses permissions are periodically modified against my will an how I could prevent that (or better: increase the delay before this untimely spurious resetting).
Parts of my fstab:
/dev/hda1 /C vfat rw,noauto,user,exec 0 0 /dev/hda2 /D vfat rw,noauto,user,exec 0 0
With this I mount Windows partitions but to be able to fiddle with the files in there I must chmod a little (the boring thing) with the button of FileRunner and at that point starts the countdown of ± 15 minutes à la con!
Could somebody help me in my burden or should I change my nickname to Penelope or Nausicaa or rather Rachel or Maura to attract your learned attention? This little bitterly grumbling for having been ignored recently in my questionning.
Merci beaucoup Matt for the tip. But unless I am blind or deaf somewhere or mistyping something it does not work as I wish. With your lines: /dev/hda1 /C vfat auto,user,gid=6,umask=007 0 0 /dev/hde1 /D vfat auto,user,gid=6,umask=000 0 0 ... I have: drwxrwx--- and -rwxrwx--- for evrything in /C drwxrwxrwx and -rwxrwxrwx for evrything in /D it is not what I was expecting. You have certainly a recipe to obtain: drwx-rx-rx and -rw-r--r-- for evrything in my vfat partitions. With this, which I only find after this "evry-fifteen-minutes chmod" I can do what I am looking for. And I remember SuSE 7.2 where I could mount as user /C and /D and had thoses last permissions (I lost the fstab that did it). Merci Matt, I appreciate yous messages. Kept sevral in my personnal SuSE-archive. Olivier LICHTENBERGER (and the gynécée).
participants (4)
-
Anders Johansson
-
Matt T.
-
tabanna
-
·· Ulysses ··