That's true until now I can't get into the folder. I see the two folders in Nautilus and when starting to login it fails permanently.
Permissions when moving files to Openmediavault
-
- OMV 2.x
- openalf
-
-
Then go to users and set the password again for AM. If that doesn't work go to terminal and run
smbpasswd AM
enter the same password and try again in nautilus
-
I just set the password once more and did the test with Nautilus again, but nothing changed.
Afterwards I did smbpasswd AM on the PC and even that was successful or do I need to do that inside the NAS? -
you execute the smbpasswd in the nas, not in your laptop or desktop.
-
Yes I did both steps in the NAS now, but still the same problem I can't get into the folder/documents.
-
There is something very wrong with your system, is the OS installed in memory stick or similar ?
I want to see the whole tree from /media with permissions
tree -L 2 -pugd /media
if you don't have tree, install it with apt-get install tree
-
The system is running on a SSD so I followed the recommendation.
Zitatroot@NAS:~# tree -L 2 -pugd /media
/media
├── [drwxr-xr-x root root ] 4fcfda30-31ac-49ad-8d8c-d84723cbe1af
│ ├── [drwx------ root root ] lost+found
│ ├── [drwxrwsr-x root users ] Movies
│ ├── [drwxrws--- root users ] Multimedia
│ ├── [drwxrwxrwx plex nogroup ] plexmediaserver
│ └── [drwxrwx--- root root ] Users
├── [lrwxrwxrwx root root ] cdrom -> cdrom0
└── [drwxr-xr-x root root ] cdrom08 directories
-
the folder with problems is in users ?
can you do the same tree for /media/uuid/Users
The folder users is for home folders ?
the rest seems ok.
-
Damn sorry Users folder is not ok at all.
-
-
You can run chown root:users /media/uuid/Users
Try again in nautilus to access AM folder.
-
It really did the trick, now I can Enter my drive -- many thanks for that. Does it mean I had a wrong owner assigned?
But then I come to the next step, how can I do the assignment permanently, I guess I have to do that in the fstab.
And again I haven't yet been very successful with mounting how should the string look?
I built that in the gedit editor looks that totally wrong?
-
Not really, thing is only root was allowed to see the users folder.
look at the Ubuntu wiki on how to mount permanently samba shares. You might still have problems with the others home folders, like wrong ownership.
-
-
What's the line?
-
-
//192.168.10.27/Users /mnt/windowsshare cifs credentials=/home/snofla/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
-
Just changed the fstab; when running mount -a the following error message appear
.
When I look into the folder /mnt I can't see the windowsshare folder. When I try to create the folder by mkdir /mnt/windowsshare the answer is that the folder already exists. That's what I say I'm the master of disaster when it comes to mount.
-
Maybe there is already something mounted. Check with mount command.
-
Actually i don't know the name of the share in samba. Is this home folders or normal share?
can you post cat /etc/samba/smb.conf
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!