cannot change permissions on network drives

Asked by Uwe Kramer

Since kernel 2.6.27-7 I cannot change permissions of files which are on a network drive, error message "Not a directory". Same message for files and directories, doesn't matter if I use chmod on commandline or use nautilus. Trying chmod with sudo also the same EM. Verified on 2 machines, drives are mounted via cifs, line in fstab "//ip-adress/share /home/user/directory cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0". I also tried mounting on cmdline "mount //ip-adress/share /home/user/directory -o username=user", same result. Going back to kernel 2.6.24-21 works. Changing permissions from a windows PC also works. Happened since upgrade from 8.04.1 to 8.10. I can copy files to the share and delete them as long as they are writeable. Please help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
W. Prins (wprins) said :
#1

Sounds like a bug then. You should file a bug report on this, probably against the "kernel-package" source package in the Ubuntu project. Please try to outline the steps to reproduce as exactly as possible in the bug report. In the meantime you should use the previous version of kernel.

Can you help with this problem?

Provide an answer of your own, or ask Uwe Kramer for more information if necessary.

To post a message you must log in.