Browsing all 9 posts in Miscellaneous.

mount.cifs and permissions problems under ubuntu linux

1 Comment

Recently, I’ve had an issue using mount.cifs from the command line in linux to mount shares, on Ubuntu Linux (as a client).

The problem was, mounting a samba share using CIFS and using only the samba username/password would render the entire mount unwriteable, except by root.

The dead simple solution to this is as follows.

Instead of doing just this:

mount.cifs //<server>/<share> -ouser=<username>,pass=<password>

Try this:

mount.cifs //<server>/<share> -ouid=<localuser>,gid=<localgroup>,user=<username>,pass=<password>

So if your samba username is joe.bloggs, and your username and group on your local machine are just “joe”, you’d do this:

mount.cifs //<server>/<share> -ouid=joe,gid=joe,user=joe.bloggs,pass=<password>

This simply tells CIFS that user ‘joe’ on the local machine should be the owner of the mounted share, and then subject to whatever permissions the samba server has set.

Easy as!

Continue reading...

Wow.

1 Comment

Jonathan Xavier Walker was born 2:41pm, 30th October 2008, at a healthy 3.84kg (8lbs 8 ounces for those of you still wallowing in the labyrinthine and archaic grasp of the imperial system!).

It’s been a LONG 60 hours. Krissy went into labour around 2:00am on Thursday morning, and then it was just all systems go from there.

Those of you who are in the loop Facebook-wise, there’ll no doubt be a multitude of photos hitting the pages very very soon!

Nothing further for now….. everyone concerned is absolutely WRECKED and I’ve got an epic amount of work to catch up on….. once things settle down a bit, I’ll have more.

Continue reading...

Online Payday Loans - Anime