On 03/10/10 23:41, Brett Parker wrote:
On 02 Oct 17:12, Chris Walker wrote:
I *think* I understand the stuff above but here's a typical problem for me.
I want to move stuff. In this case it's from a 1 gig SD card plugged into a reader. As me i.e. the 'normal' user, I select all the stuff on the card and now want to move it to my NAS drive. That's /mnt/server/...... and 3 directories down, I create a folder. When I come to paste the files, that option is greyed out. so how do I find out groups and stuff for that?
Paste? Ahh - nautilus? Right click on the folder, ask for it's properties, and it'll tell you the permissions...
Dolphin, not Nautilus. It says 'Owner, Group and Others' can all View & Modify Content with the User and Group shown as 503. But I as user created the folder by doing a right click and creating it. Where does group 503 come into it, if you look down below, I'm not in group 503.
If I type ls- ls for /mnt/server/Epox.... it just returns with 'total 0' which tells me naff all.
Is that actually where it's mounted? How have you got the NAS setup to mount? Are you using NFS? CIFS? Magic?
It's mounted at startup using the fstab file. This is one of the lines in it relating to the NAS drive :- //storage_server/Epox_Share /mnt/Epox_Share cifs credentials=/etc/samba/auth.storage_server.Epox 0 0
The /etc/samba/auth.storage_server.Epox file contains two lines, a user name and the relevant password.
If I do a 'id' as you did above, it tells me this :- gid=10001(chris) groups=10001(chris),500(raw1394),501(nas)
That just tells me there's a group called nas, it doesn't tell me what the filesystem permissions on the NAS are, or how it's mounted...
So I can see that I'm already in a nas group but why then am I not allowed to paste the files into the newly created folder?
How did you create the folder?
Right click in Dolphin as the only user of the system.
*You* might not think it's rocket science but it sure beats the hell out of me sometimes ;-)
It really isn't rocket science, but then, I suspect having started very much terminal based, I tend to not have had the luxery of laying behind a pointy clicky gui when starting out, so had to learn things the hard way (which is why after getting my sendmail config right, I didn't touch it for a while until I really really decided that I should be running exim... now I tend to be able to churn out a new mailserver config without having to think too hard... getting used to bash and generally using the console is very much a very useful thing to do, and means later on that you can more easily figure things out...)
I started using linux with Red Hat 4.2 but it hasn't got any easier ;-)