[Xfce-bugs] [Bug 724] xfce fails on automounted (NFS) home-directories.

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jan 19 22:14:27 CET 2005


http://bugzilla.xfce.org/show_bug.cgi?id=724





------- Additional Comments From joel at it.uu.se  2005-01-19 21:14 UTC -------
> right, because it's a generic implementation of mkdirhier() - taken verbatim
> from glibc, actually, IIRC.  or maybe it's BSD's libc.  still, if we assume that
> $XDG_CONFIG_HOME's parent is already available (and properly mounted), it will
> work properly as-is.

According to the code, xfce_mkdirhier() originates from the mkdir-command in
FreeBSD.

So just for fun I ported mkdir from FreeBSD to solaris with a minimum of changes.
And sure enough, freebsd_mkdir can't create directories in my home-directory.

  First, just a test to see that it works ...

% freebsd_mkdir -p /tmp/foo
% ls -ld /tmp/foo
drwxr-xr-x   2 joel     it           117 Jan 19 22:03 /tmp/foo

  Verify that my home-directory exist ....

% ls -ld /home/joel
drwx--x--x 218 joel     it         69632 Jan 19 21:53 /home/joel

  Trying to create a directory, the "-p" flag must be used so that the
  mkdirhier-code is used.

% freebsd_mkdir -p /home/joel/foo
mkdir: /home/joel, Operation not applicable
% ls -ld /home/joel/foo
/home/joel/foo: No such file or directory

  And finally use solaris mkdir

% mkdir -p /home/joel/foo
% ls -ld /home/joel/foo
drwxr-xr-x   2 joel     it           512 Jan 19 22:08 /home/joel/foo/


The mkdir command from FreeBSD does not work under Solaris !!!


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list