Diamond Home Page
  • Diamond Home Page
  • About Us
  • For Users
  • Industry
  • Public
  • Science
  • Instruments
  • Careers
  • More
Search

On this website

About Diamond

  • About Diamond
  • About Synchrotron
  • News and Features
  • Events
  • Contact Us
  • FAQ

For Users

  • Apply for beamtime
  • User guide
  • Diamond Users Commitee
  • FAQ

Industry

  • Techniques Available
  • Industry Research
  • Industry Case Studies
  • News
  • Meet the Industry Team

Science

  • Research
  • Computing
  • The Machine
  • Publications
  • Research Expertise
  • Membrane Protein Laboratory
  • Additional Facilities

Instruments

  • All the Instruments
  • Macromolecular Crystallography
  • Soft Condensed Matter
  • Imaging and Microscopy
  • Biological Cryo-Imaging
  • Magnetic Materials
  • Structures and Surfaces
  • Crystallography
  • Spectroscopy

Careers

  • Vacancies
  • Info for applicants
  • Company Benefits
  • Apprenticeships
  • PhD Studentships
  • Work Placement

Public

  • News
  • How Diamond Works
  • Multimedia
  • Features
  • Visits Us
  • For School

Procurement

  • Non-OJEU Tender Notices
  • OJEU PINs
  • OJEU Tender Notices
  • Registration Form

Software & Tools

  • Publications Database
  • iSpyB
  • User Administration System

Main Content

For Users
Sub-navigation
  • Users
  • Apply for Beamtime
  • Experiment at Diamond
  • Policy Documents
  • EU Funding for Structural Biology
  • Diamond Users Committee

In This Section

Sub Navigation
  • Before you Arrive
  • Diamond's COVID-19 working arrangements
  • Safety Requirements
  • Your time at Diamond
  • After you Leave
  • Frequently Asked Questions
  • IT User Guide
    • I am on-site
      • Access your data
      • Back-up your data
      • Bring your own kit
      • Linux help
      • Printing help
    • I am off-site
    • FAQs
    • Diamond IT Policies
    • Software

Users from the EU: Submitting proposals and visiting Diamond post-Brexit

Users from European organisations continue to be welcome to submit proposals to Diamond. The same funding policy and procedure for expenses remains in place for any visit to Diamond as was in place before Brexit.

Contacts

During beamtime:
Ask your Local Contact

User Office: (08.30 - 16.30) - FedID & Passwords Only  
useroffice@diamond.ac.uk
Ext. 8571 / 01235 778571

IT support queries:
ITsupport@diamond.ac.uk
Urgent queries: Ext. 8271

  1. Users
  2. Experiment at Diamond
  3. IT User Guide
  4. I am on-site
  5. Linux help

Linux help

  • Copy direct link to clipboard Get a direct link

    Linux workstations at Diamond are configured with Red Hat 6 (currently) and the Gnome GUI. Login with your FedID or with a task specific user id (e.g. i99-detector) when directed.

     

    Many of our workstations use high-performance networked file systems to store and access your data. For this, and other reasons, workstations must not be re-booted or shutdown without guidance from the Scientific Computing team. 

     

     

  • Copy direct link to clipboard Get a direct link

     

    Your work may entail using either applications that are part of the Gnome GUI (e.g. DLS_launchers) or you may be running work directly in a shell (command line interface) environment.

     

    Most applications can be found by clicking on 'Applications' and in the submenus then displayed - This is similar to a Windows 'Start' menu. For example, to access your visit data using Nautilus, click 'Applications' -> 'System Tools' -> 'File Browser. In the File Browser window, select 'File System from the left hand panel and then the 'dls' file icon on the main panel, then select your beamline, select 'data' then the current year and you should now be able to see your visit.

     

    To access a shell, either select 'Applications' -> 'System Tools' -> 'Terminal'  or move the cursor to a blank part of the desktop, right-click and select 'Open in Terminal'.  To access your visit data from this shell, simply enter

     

    cd /dls/(beamline)/data/(year)/(visit) 

    e.g.

     

    cd /dls/i06/data/2016/ab12345-1

     

  • Copy direct link to clipboard Get a direct link

    Home directory: (~, /home/fedid) Your home directory is your own personal file storage area. No one else can write here; you can set who has read access (by default everybody has read access). This area is served from a central location and is therefore visible from any Diamond Linux computer. The home directories are backed up regularly - You can find copies taken at various times in /home/fedid/.snapshot  

     

    Your Home directory may not contain more than 1 Gigabyte of data. You can check how close you are to your quota with the following command:-

     

    quota-check.sh fedid

    Where fedid is your login name.

     

    If you are close to your quota, you can see where the space is being used with your home directory with the following commands:-

     

     

    First, check that you are in your home directory with pwd:-

    [fedid@ws342 ~]$ pwd               
    /home/fedid                   


    [fedid@ws342 ~]$ du -m --max-depth=1 --exclude .snapshot ~ | sort -k1nr


     This will display the subdirectories in your home directory in decreasing order of size with the size in Megabytes in the left most column - e.g.

     

    [fedid@ws342 ~]$ du -m --max-depth=1 --exclude .snapshot ~ | sort -k1nr
    821    /home/fedid
    245    /home/fedid/Videos
    210    /home/fedid/Downloads
    116    /home/fedid/.mozilla
    111    /home/fedid/.cache

      You have to be aware that whenever a new Linux user account is created, its home directory permission is set to 755, which allows everyone to read your files. Permission 755 means that when people login with ssh or directly on the Linux box, they can browse, read and execute other people's files.


    If you're really concerned about it, you can change it with

    chmod -R 700 /home/fedid

     


    Where:
    fedid is your login name,
    700 – if you do not want other people to see your files

  • Copy direct link to clipboard Get a direct link

    Access to files/directories via Linux is set at the user and group level.

    You will have access to your home directory and the directory assigned to your visit in the beamline filesystem e.g.

     

    /dls/i31/data/2016/ab12345-1

     

    You will have access to your home directory as you are defined as the 'Owner'

     

    [fmx47643@ws342 ~]$ ls -la /home/fmx47643/
    total 2860
    drwxr-xr-x.  71 fmx47643 fmx47643   16384 Jun 13 14:17 .


      

    You will have access to the experiment directory because you are a member of the group that has access.

     

    [fmx47643@ws342 ~]$ ls -la /dls/i31/data/2016/ab12345-1
    total 6528
    drwxrws---+ 42 gda2        ab12345-1    16384 Jan 14 23:45 .

    getent group ab12345-1
    ab12345-1:*:115997:fmx47643,xyz54321 

     

  • Contact Us
  • About Diamond Light Source
  • Careers
  • Procurement
  • Legal notices & Cookie policy
  • Supply Chain Transparency

Diamond Light Source

Diamond Light Source is the UK's national synchrotron science facility, located at the Harwell Science and Innovation Campus in Oxfordshire.

Copyright © 2022 Diamond Light Source

 

Diamond Light Source Ltd
Diamond House
Harwell Science & Innovation Campus
Didcot
Oxfordshire
OX11 0DE

See on Google Maps

Diamond Light Source® and the Diamond logo are registered trademarks of Diamond Light Source Ltd

Registered in England and Wales at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom. Company number: 4375679. VAT number: 287 461 957. Economic Operators Registration and Identification (EORI) number: GB287461957003.

feedback