Comments (10)
Your problem is permissions of the storage pool drives.
Ref: https://github.com/gboudreau/Greyhole/wiki/Permissions-Data-Drives
Make sure you're working as root, or use sudo for commands to chown.
I'm not sure how using NTFS drives using ntfs-3g
affects permissions, but the symptoms you describe mean that the user you are using to connect to Samba from Windows (fred
I guess) is not allowed to read files and/or folders in your storage pool drives.
You can test that by looking at the symlink of a missing file in your landing zone (eg. /var/hda/files/Downloads
for the Downloads share), and then, using the fred
user on ssh, try to navigate all parent folders of that file, on your storage pool drive.
eg. if /var/hda/files/Downloads/file1
symlink points to /var/hda/drives/HDD1/gh/Downloads/file1
, then as fred
(or whatever user you connect with, from Windows), do:
cd /var/hda/drives/HDD1
ls
cd gh
ls
cd Downloads
ls
md5sum file1
from greyhole.
from greyhole.
This is most probably how ntfs-3g behaves on permissions; it simply makes everything 777.
So maybe the problem is the folders containing your storage pool drives.
Try to navigate /var/hda/drives
using your fred
user:
cd /var
ls
cd hda
ls
cd drives
ls
cd HDD1
ls
from greyhole.
from greyhole.
That is not the same thing. You need to check you have read access to all parent folders.
from greyhole.
from greyhole.
You could look in the Samba logs /var/log/samba/*.log
for errors. You might need to change the log level to a higher number (5 or even 10), in smb.conf, to see the permission error. Don't forget to restart smbd when you change its config. With a log level high enough, try to list files in a test folder should log the permission errors.
If you can't find the problem with that, try this command to gather your system info and post the resulting URL in a new comment: https://github.com/gboudreau/Greyhole/wiki/GetHelp#gather-system-information
from greyhole.
from greyhole.
from greyhole.
Thanks for the follow-up. I'll update the documentation to mention that those missing lines could result in this behaviour.
Good day.
from greyhole.
Related Issues (20)
- Error: failed to initialize Greyhole database HOT 2
- Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). HOT 5
- Greyhole slow when transferring things via Radarr/Sonarr etc. HOT 3
- greyhole timezone=-13:00 vs ubuntu 18 (mysql 5.7) HOT 2
- MySQL server has gone away HOT 2
- No access to files from shares. HOT 11
- Change fsck cron timing HOT 1
- Debian 12, samba 4.17 and VFS not building HOT 2
- VFS errors HOT 9
- logrotate is already installed HOT 6
- daemon: Greyhole VFS module warning HOT 2
- Greyhole won't start after update - SQL error Can't DROP 'uniqness'; HOT 4
- Makefile error Samba 4.18.6 HOT 5
- DEBUG read_smb_spool: Directory created: / WARN read_smb_spool: Failed to create directory HOT 1
- Can't add drive to drive selection group! HOT 16
- Ownership of share-folders inside gh folder HOT 6
- Accidentally Copied Lots of Small Files - Recovering from a Blown Out log and Spool. HOT 5
- fsck parallelism HOT 1
- Failed file copy (using rename) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greyhole.