[SOLVED] Files hidden in Bash and Samba, but not in X
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a raspberry pi running Raspbian Wheezy. This has a 100GB SATA ext4 formatted hard drive connected via a USB/SATA converter, which is mounted at /media/SHARE. This directory is shared using Samba, and Pydio, using an Apache2 server.
Everything was working fine until I restarted the Pi. Now, only one folder is visible in this directory, owned by my user (pi) and in the www-data group. The files that are now missing are all owned by www-data and in the www-data group. All the files and directories are chmod to 777 recursively
The strange thing is that when I am in the X environment, everything shows up fine, but when using Bash, SSH, Samba, or Pydio, only the one folder shows up. Even as root, nothing shows up, but does in X.
Any help would be much appreciated, as I am completely baffled by this :S
I think the power of usb port is not switched off during reboot therefore the external drive will not recognize the reboot, its state is unclear (at least for me). I always had to unplug and plug it in again.
if it was mounted at all it should have shown up in df.
as to why its mounting there that would be a distro specific issue.as the RPi has its OS on the SD card that is a bit understandable. did your distro setup multi partitions? if so then that is probably a standard procedure for your distro.