

NOTE: If you are not associated with the College of Engineering, this is NOT FOR YOU. See ‘man chmod’ or ‘man chgrp’ for syntax details and more information.įor remote access to many CADE/CoE IT services or systems, you need to use the Campus VPN (Virtual Private Network) with a valid uNID. To verify the groupname for setting the directory permissions, find out which groups you’re a member ~]$ groupsĬsugrad telerobotics mediashare src cs6090 cei manuĪnd assign one to the ~]$ chgrp telerobotics ~]$ ls -ld TeamSamba/ĭrwxr-xr-x 2 warthogs telerobotics 4096 Oct 9 12:47 TeamSamba/įinally, set the permissions so the group can write files, but no other users can see in the ~]$ chmod 2770 ~]$ ls -ld TeamSamba/ĭrwxrws- 2 warthogs telerobotics 4096 Oct 9 12:47 TeamSamba/


The directory inherits the default permissions, in this case rwx (read-write-execute for the owner, your username read-execute for group read-execute for everyone/all ~]$ ls -ld TeamSamba/ĭrwxr-xr-x 2 warthogs csugrad 4096 Oct 9 12:47 TeamSamba/ If you don’t have a directory to share, create one with something ~]$ mkdir TeamSamba By default, you start in your home directory (/home/username) and it may appear with a prompt to the left of the cursor indicating that (a user’s ‘home’ may be represented by the ‘~’ char). Once logged in to a linux machine, open a Terminal and you’ll issue a few commands.
