Originally Posted by
MonoAM
So I tried this before mounting:
Code:
sudo touch /media/phoenix/test.txt
and file is there:
Code:
ls -la /media/phoenix/
total 8
drwxr-xr-x 2 root root 4096 Nov 15 23:38 .
drwxr-xr-x 10 root root 4096 Nov 12 23:25 ..
-rw-r--r-- 1 root root 0 Nov 15 23:38 test.txt
After mounting:
Code:
ls -la /media/phoenix/
total 8
drwxr-xr-x 2 root root 4096 Nov 15 23:38 .
drwxr-xr-x 10 root root 4096 Nov 12 23:25 ..
-rw-r--r-- 1 root root 0 Nov 15 23:38 test.txt
And file is still there.
This means the share is not being mounted. The file would be obscured with the share mounted at /media/phoenix.
Normally I would make the mount point (/media/phoenix) be owned by a group that all users can use. Ubuntu has a group that does just this for Samba. It is called sambashare. You should already be a member. You can check with this command
Code:
getent group |grep sambashare
... you should be in that group.
To change the group ownership of the mount point we should use this command
Code:
sudo chgrp sambashare /media/phoenix
... check it using
Code:
ls -ld /media/phoenix
Now lets change the permissions on that mountpoint so you will have access
Code:
sudo chmod 775 /media/phoenix
Use this incantation to mount the share
Code:
sudo mount -t cifs //PHOENIX/hitachi /media/phoenix -o username=amguerra
I notice your login is alfredo but your valid user is amguerra. This may be part of the problem. You need to be consistant in naming. My local login and my share login are the same on all of my machines.
I have tested this on my network (using my server and share names). I even used the mount point /media/phoenix. It works as expected so you should have no problems mounting the share.
Bookmarks