Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 202051 Details for
Bug 221081
{file,dir}_mode bug on CIFS shares with unix_extensions=no
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch -- don't override the mode when unix extensions aren't enabled
cifs-nounix-mode.patch (text/plain), 904 bytes, created by
Jeff Layton
on 2007-09-21 13:05:15 UTC
(
hide
)
Description:
proposed patch -- don't override the mode when unix extensions aren't enabled
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2007-09-21 13:05:15 UTC
Size:
904 bytes
patch
obsolete
>diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c >index db5287a..777814b 100644 >--- a/fs/cifs/dir.c >+++ b/fs/cifs/dir.c >@@ -242,7 +242,6 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode, > rc = cifs_get_inode_info(&newinode, full_path, > buf, inode->i_sb, xid); > if (newinode) { >- newinode->i_mode = mode; > if ((oplock & CIFS_CREATE_ACTION) && > (cifs_sb->mnt_cifs_flags & > CIFS_MOUNT_SET_UID)) { >diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c >index 552d68b..ae22abf 100644 >--- a/fs/cifs/inode.c >+++ b/fs/cifs/inode.c >@@ -1030,8 +1030,6 @@ mkdir_get_info: > eg CIFSSMBWinSetPerms(xid, pTcon, full_path, mode, > -1, -1, local_nls); */ > if (direntry->d_inode) { >- direntry->d_inode->i_mode = mode; >- direntry->d_inode->i_mode |= S_IFDIR; > if (cifs_sb->mnt_cifs_flags & > CIFS_MOUNT_SET_UID) { > direntry->d_inode->i_uid =
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221081
: 202051