Making files generally available on Linux system (when security is relatively unimportant)?

Posted by Ole Thomsen Buus on Ask Ubuntu See other posts from Ask Ubuntu or by Ole Thomsen Buus
Published on 2011-02-06T16:07:56Z Indexed on 2011/02/06 23:35 UTC
Read the original article Hit count: 317

Filed under:
|
|

Hi,

I am using Ubuntu 9.10 on a stationary PC. I have a secondary 1 TB harddrive with a single big logical partition (currently formatted as ext4). It is mounted as /usr3 with options user, exec in /etc/fstab.

I am doing highspeed imaging experiments. Well, only 260fps, but that still creates many individual files since each frames is saved as one png-file. The stationary is not used by anyone other than me which is why the default security model posed by ubuntu is not necessary.

What is the best way to make the entire contents of /usr3 generally available on all systems. In case I need to move the harddrive to another Ubuntu 9.x or 10.x machine?

When grabbing image with the firewire camera I use a selfmade grabbing software-utility (console based) in sudo-mode. This creates all files with root as owner and group.

I am logged in as user otb and usually I do the following when having to make files generally available to otb:

sudo chown otb -R *
sudo chgrp otb -R *
sudo chmod a=rwx -R *

This takes some time since the disk now contains individual ~200000 files.

After this, how would linux behave if I moved the harddrive to another system where the user otb is also available? Would the files still be accessible without sudo use?

© Ask Ubuntu or respective owner

Related posts about filesystem

Related posts about security