summaryrefslogtreecommitdiff
path: root/lib/User/grent.pm
diff options
context:
space:
mode:
authorAndreas Koenig <a.koenig@mind.de>1997-04-15 16:01:07 +0200
committerChip Salzenberg <chip@atlantic.net>1997-04-15 00:00:00 +1200
commit8a37cc0e712cfd90de4a433c1b9be391b72daf86 (patch)
treec389ba7a2292eed2e41a38991ad714e88aa62652 /lib/User/grent.pm
parent5025c45a2e969afb692d1ff0cd507cc26230784b (diff)
downloadperl-8a37cc0e712cfd90de4a433c1b9be391b72daf86.tar.gz
Update File::Path
>>>>> Chip Salzenberg writes: > According to Andreas Koenig: >> I'd prefer to have consistent semantics on all platforms. My patch >> treats the third parameter ($safe) in a way that matches the current >> description in the pods better. This means, on all systems a chmod +rw >> is tried before removing a file or directory unless the $safe >> parameter is specified. > No, that's not useful. UNIX systems pay *no* attention to the > permissions of "x" when unlinking "/y/x"; all that matter are the > permissions of "/y". Ouch. Too-Quick-oh. <Blush> Sure thing is, I want to chmod 777 always for _directories_ before I remove them, because they may contain subdirectories that need to be removed recursively. So I want them both read- and writeable. Stupid thing was that I applied the same idea to files. >> In addition File::Path becomes strict clean. > Well, that would be useful. Could you separate that part of the patch > from the always-chmod part? I redid it. This time with a test that fails with current perl and works with my patch in place. p5p-msgid: 199704151401.QAA02556@anna.in-berlin.de
Diffstat (limited to 'lib/User/grent.pm')
0 files changed, 0 insertions, 0 deletions