run "mount" with no-user-root en get RW rights

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

 



Hello.

I have a problem.

By my station I need to run the command "mount"  to access folders "smbfs" in a server.

$ mount -t smbfs -o username=sambauser //server/sambauser /home/localuser/H

If I run like "root", it works. While "root" I have full access RW in the mounted folder.
But like a "localuser" I have problems: I don't have RW access if mounted using "root".

Ok... the solution would be to run the command "mount" like "localuser".

I found in documentation the command "sudo". I wrote the configurations. Now, the "localuser" can run the command with success.

$ sudo mount -t smbfs -o username=usuariosamba //servidor/usuariosamba /home/usuariolocal/H

The problem is: "sudo" run the commando like "root". And the problem above continues.

Question: how can I run the command "mount", without use the "fstab" file, like a "localuser", with RW rights on the folder shared to "localuser"?




Thank you.


--


Moisés Bites - bites@xxxxxxxxxxxx
Gerente de TI (Informática)
Vesle Móveis e Eletrodomésticos Ltda
ICQ:2153978 - MSN:mbites@xxxxxxxxxxx

"Jesus Cristo é a corporificação do Único Deus Verdadeiro"

	--------------------------------------Usando Linux
	**** Linux Fedora Core    ***
	**** Mozilla Thunderbird  ***
	Use também - Você vai se impressionar-------------







--


Moisés Bites - bites@xxxxxxxxxxxx
Gerente de TI (Informática)
Vesle Móveis e Eletrodomésticos Ltda
ICQ:2153978 - MSN:mbites@xxxxxxxxxxx

"Jesus Cristo é a corporificação do Único Deus Verdadeiro"

	--------------------------------------Usando Linux
	**** Linux Fedora Core    ***
	**** Mozilla Thunderbird  ***
	Use também - Você vai se impressionar-------------


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]