Displaying 7 results from an estimated 7 matches for "vfs_getwd".
Did you mean:
dos_getwd
2002 Feb 20
0
samba-2.2.3a bug, including fix
...foo/baz
echo hello > foo/baz/test.txt
then type the path to test.txt into Windows explorer (for example) -
can't browse to it as foo isn't readable, but you can get there by
typing the path as there's search permission. It works, but generates:
[2002/02/20 09:49:47, 0] smbd/vfs.c:vfs_GetWd(794)
vfs_GetWd: vfs_getwd call failed, errno Permission denied
in the samba log file. Note that a pwd in the UNIX world in the above
directory (foo/baz) succeeds (as search permission is enough), but
vfs_GetWd() fails.
Our setup here generates truck-loads of these error messages.
My fix is to...
2003 May 20
1
smbd - wide links / possible buffer failure??
...,("reduce_name: file path name %s is a
symlink\nChecking it's path\n", name));
if (*flink == '/') {
@@ -750,6 +751,24 @@
pstrcat(cleanlink, flink);
}
unix_clean_name(cleanlink);
+
+ if (!vfs_GetWd(conn,savedir)) {
+ DEBUG(0,("couldn't vfs_GetWd for %s
%s\n",name,cleanlink));
+ return(False);
+ }
+
+ if (vfs_ChDir(conn,cleanlink) != 0) {
+ DEBUG(0,("couldn't vfs_ChDir to %s\n&...
2003 Feb 27
0
access denied to home directory
...t.
Usually, if they log out and log back in everything is fine.
I haven't seen any error messages in the event viewer of the local
machine, and about the only thing I see in the samba logs is this:
Feb 26 16:18:08 stak smbd[25696]: [ID 702911 local7.error] [2003/02/26
16:18:08, 0] smbd/vfs.c:vfs_GetWd(687)
Feb 26 16:18:08 stak smbd[25696]: [ID 702911 local7.error] vfs_GetWd:
vfs_getwd call failed, errno Permission denied
Feb 26 16:18:08 stak smbd[25696]: [ID 702911 local7.error] [2003/02/26
16:18:08, 0] smbd/vfs.c:reduce_name(755)
Feb 26 16:18:08 stak smbd[25696]: [ID 702911 local7.error] co...
2020 Jan 02
2
Access Error for Roaming Profiles Share
...prominently
"connect to service Profiles initially as user MYDOMAIN\tc-mj00y2ps$
(uid=11128, gid=10515) (pid 1634)"
"../source3/smbd/uid.c:453(change_to_user_internal)"
"change_to_user_internal: chdir_current_service() failed!"
and
"../source3/smbd/vfs.c:898(vfs_GetWd)"
"vfs_GetWd: couldn't stat "." error Permission denied (NFS problem ?)"
Looks like our Win boxes connect to the roaming profiles share with
computer-account credentials initially. Other shares, such as 'Users', are
being accessed with respective user credent...
2020 Jan 07
0
Access Error for Roaming Profiles Share
...ice Profiles initially as user MYDOMAIN\tc-mj00y2ps$
> (uid=11128, gid=10515) (pid 1634)"
> "../source3/smbd/uid.c:453(change_to_user_internal)"
> "change_to_user_internal: chdir_current_service() failed!"
>
> and
>
> "../source3/smbd/vfs.c:898(vfs_GetWd)"
> "vfs_GetWd: couldn't stat "." error Permission denied (NFS problem ?)"
>
> Looks like our Win boxes connect to the roaming profiles share with
> computer-account credentials initially. Other shares, such as 'Users', are
> being accessed with r...
2002 Dec 04
0
question/problem - SAMBA server dies
...rted when the users come in and are ready
to begin accessing the server.
I also do notice that extensive reporting/errors such as:
Unable to open new log file /var/adm/samba_logs: Too many open files
and here's another, which almost occurs constantly while the server is
being used ...
vfs_GetWd: vfs_getwd call failed, errno Permission denied ...
Do I need to adjust my max files?? I read something about modifying a
local.h file? I'm not familiar with this file ... or process.
Any ideas/suggestions? Other than that, my server does what it is
supposed too but the periodic unavailabilit...
2002 Jun 12
0
Win2k oplocks and you
...ev = 801, inode = 359229
file_id = 6
Current oplocks_open (exclusive = 1, levelII = 0)
[2002/06/12 17:15:40, 6] lib/util_sock.c:write_socket(518)
write_socket(5,55)
[2002/06/12 17:15:40, 6] lib/util_sock.c:write_socket(521)
write_socket(5,55) wrote 55
[2002/06/12 17:15:40, 5] smbd/vfs.c:vfs_GetWd(800)
vfs_GetWd /share, inode 814, dev 2049
[2002/06/12 17:15:40, 3] smbd/sec_ctx.c:set_sec_ctx(314)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/06/12 17:15:40, 5] smbd/uid.c:change_to_root_user(216)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/06/12 17:15:40, 3] smbd/oplock....