SOLVED: Locally mounted Shares not showing any files
Posted: Sun Aug 10, 2014 7:46 am
So, I recently posted about getting all of my media over from my old hard drive (from WHS) to my new one (with A7) here viewtopic.php?f=16&t=5516 and I now have it all copied over. Greyhole has kicked in, and cleared out the LZ, so all of the files are on the drive, in their appropriate shares. I am able to access the shares from a W7 computer and I can play video files and view pictures from the W7 computer, so I know that permissions are set correctly.
I followed this guide https://wiki.amahi.org/index.php/Mount_Shares_Locally to mount the shares locally on the server. The mnt folder shows up, but when I navigate to the folder, there are no files. All the files are located at /var/hda/files/Movies, or the respective folder. I'm not sure if it was setup correctly, because this line results in:
and when I actually start the mount service, it asks me for the root password at each of the current directories, even though I am logged in as the SU, and have used chown to change the ownership of everything in samab and below to my username. I also made the .smb_credentials file correctly.
Like I said, if I log in with my username on another computer, I have only tried one with W7, the shares show up fine. I will mention that I have added a second user, that is having issues accessing the shares on W7, but it could just be coincidence because I originally had issues even getting my first user to connect properly.
Here are the permissions of the /mnt/samba folder
I followed this guide https://wiki.amahi.org/index.php/Mount_Shares_Locally to mount the shares locally on the server. The mnt folder shows up, but when I navigate to the folder, there are no files. All the files are located at /var/hda/files/Movies, or the respective folder. I'm not sure if it was setup correctly, because this line
Code: Select all
yum install cifs-utils
Code: Select all
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.fdcservers.net
* updates: mirror.fdcservers.net
Package cifs-utils-6.3-2.fc19.x86_64 already installed and latest version
Nothing to do
Like I said, if I log in with my username on another computer, I have only tried one with W7, the shares show up fine. I will mention that I have added a second user, that is having issues accessing the shares on W7, but it could just be coincidence because I originally had issues even getting my first user to connect properly.
Here are the permissions of the /mnt/samba folder
Code: Select all
[root@localhost samba]# ls -la
total 52
drwxr-xr-x 13 rbrown root 4096 Aug 9 22:19 .
drwxr-xr-x. 3 root root 4096 Aug 9 12:03 ..
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Books
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Docs
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Movies
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Music
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Owncloud
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Pictures
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Public
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 rbrown
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Software
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 TV
drwxr-xr-x 2 rbrown root 4096 Aug 9 22:19 Videos