Can't mount a cifs share

Tom H tomh0665 at gmail.com
Tue Jan 18 15:50:39 UTC 2011


On Tue, Jan 18, 2011 at 10:01 AM, Simon Andrews
<simon.andrews at bbsrc.ac.uk> wrote:
> On 18/01/2011 13:38, JB wrote:
>> Simon Andrews<simon.andrews<at>  bbsrc.ac.uk>  writes:
>>
>> Try debugging it:
>>
>> # echo 7>  /proc/fs/cifs/cifsFYI
>
> I would if I could!
>
> sudo echo 7 > /proc/fs/cifs/cifsFYI
> -bash: /proc/fs/cifs/cifsFYI: Permission denied
>
> sudo chmod 644 /proc/fs/cifs/cifsFYI
> $ sudo echo 7 > /proc/fs/cifs/cifsFYI
> -bash: /proc/fs/cifs/cifsFYI: Permission denied
>
> $ ls -l /proc/fs/cifs/cifsFYI
> -rw-r--r--. 1 root root 0 Jan 18 14:41 /proc/fs/cifs/cifsFYI
>
> $ sudo chattr -i /proc/fs/cifs/cifsFYI
> chattr: Inappropriate ioctl for device while reading flags on
> /proc/fs/cifs/cifsFYI
>
> $ lsattr /proc/fs/cifs/cifsFYI
> lsattr: Inappropriate ioctl for device While reading flags on
> /proc/fs/cifs/cifsFYI
>
> $ sudo /usr/sbin/getenforce
> Permissive
>
> That puts me out of ideas.  Is there an equivalent of sysctl for
> parameters not under /proc/sys?

You can't use chattr/lsattr on a proc filesystem.

Use "--debuglevel=7".


More information about the users mailing list