Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146457
b: refs/heads/master
c: f55ed1a
h: refs/heads/master
i:
  146455: 52eb003
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed May 26, 2009
1 parent e677e47 commit 75dbce4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46a7574caf5bc533c24b315800ed323c187614f5
refs/heads/master: f55ed1a83d099f275c9560ad7d4c4700d1e54bdd
6 changes: 3 additions & 3 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,9 @@ cifs_parse_mount_options(char *options, const char *devname,
vol->target_rfc1001_name[0] = 0;
vol->linux_uid = current_uid(); /* use current_euid() instead? */
vol->linux_gid = current_gid();
vol->dir_mode = S_IRWXUGO;
/* 2767 perms indicate mandatory locking support */
vol->file_mode = (S_IRWXUGO | S_ISGID) & (~S_IXGRP);

/* default to only allowing write access to owner of the mount */
vol->dir_mode = vol->file_mode = S_IRUGO | S_IXUGO | S_IWUSR;

/* vol->retry default is 0 (i.e. "soft" limited retry not hard retry) */
vol->rw = true;
Expand Down

0 comments on commit 75dbce4

Please sign in to comment.