Mount issue. How do i mount as a different user?
Im mounting a directory, that I need to be accessible from a normal user's desktop.
mount -t cifs -o credentials=/root/.creds //192.168.100.226/mountpoint/ /mnt/mountpoint/ But it is giving /mnt/mountpoint permissions as 770, root:1003 How do I change that group to... 501? |
Just my loose thoughts...but, how about putting the contents of .creds in a central spot (/opt perhaps?) and make a symlink per user to that spot, chmod the proper rights to it...
By the way, is'nt it somewhat "iffy" to grant a day-to-day user access to the Root's creds? Of course, I can be a wee paranoid at times... :) But...I am a Linux newbe too (ar'nt we all?) :D Thor |
and the answer is:
Code:
mount -t cifs -o uid=500,gid=500,credentials=/root/.creds //192.168.100.226/dir/ /mnt/dir/ |
Quote:
Thanks for the help. |
Thanks dude :) I learned something here! You lit up my day!
Thor |
All times are GMT -5. The time now is 05:11 PM. |