On Wed, 2006-08-16 at 10:34 +0100, David Howells wrote:
> Andrew Morton <[email protected]> wrote:
>
....
> What is going on here?????????????????????????????????????????????????????
>
> stracing the automount daemon, I see:
>
> [pid 3803] mkdir("/net", 0555) = -1 EEXIST (File exists)
> [pid 3803] stat64("/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> [pid 3803] mkdir("/net/trash", 0555) = -1 EEXIST (File exists)
> [pid 3803] stat64("/net/trash", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
> [pid 3803] mkdir("/net/trash/usr", 0555) = -1 EACCES (Permission denied)
>
> I think that would be the problem. Ian?
I guess, but it's also possible that multi-entry mounts similar to those
generated by the auto.net script need mount point directories created.
The same code is used for all.
I guess that I could check if the fs is autofs4 and only mount the
mounts for directories that exist, as I do in v5. However, people may
have come to rely on this so it would be a regression, for v4 at least.
Thoughts?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]