Re: Ubuntu SecurityFlags at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you so much for explaining what should have been utterly obvious. It worked perfectly when I did this:

% sudo -i
# echo 0x30030 > /proc/fs/cifs/SecurityFlags
# mount -t cifs //myoldtiredserver/lott /mnt

I'm still getting used to using echo for communicating with a kernel module but that's just gonna take time :)

On 10/01/2012 09:48 PM, Jeff Layton wrote:
The sudo in the above command just covers the echo command. The shell
redirection (and hence the write to SecurityFlags) is done as the
original user, which is why you're getting EACCES. You probably want
to do something like this to ensure that the shell redirection is done
as root as well:

     $ sudo sh -c "echo 0x30030 > /proc/fs/cifs/SecurityFlags"


--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux