Solved

Easy FSTAB Question - How do I set read, write, and execute permissions on a USB drive?

Posted on 2009-07-10
3
649 Views
Last Modified: 2013-12-06
I am just learning how FSTAB works. Here's currently what my line looks like in FSTAB specifying what to do with my USB drive. I just need to make sure that all users, guests, and even their pet rats for all I care to have read, write, and execute permissions on this drive automatically. I want the system (I'm using Ubuntu 9.04) to boot up and give all users and guests read, write and execute permissions for folders and files that are currently on the drive, and any other files and folders that any other use would create.

I'm using this for a server application, and this application (Fog Project) needs everything blown wide open on this drive. Please don't lecture me on security. I'm well aware of the "risks" involved with such permissions. I can lock those down after I get this thing working if I decide that is necessary. :-)

So in short, when I do ls -l I want to see everything that currently is, or ever will be, on this drive to show up in GREEN. :-) Thanks to whoever helps!

Here's my FSTAB line as it is currently:

/dev/sdb1      /images/USB_Storage auto      0       0
0
Comment
Question by:oakridgeschools
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
savone earned 350 total points
ID: 24828492

This is how you can add file and dir permissions in /etc/fstab

/dev/sdb1      /images/USB_Storage auto      file_mode=0777,dir_mode=0777           0       0


But if I remember correctly (since I was the one that helped you) you formatted this USB drive in ext3.  You should be able to set the permissions from the command line.  

chmod -R 777 * while in the top directory of the USB drive will set everything on the drive to have read write and execute for everybody.
0
 
LVL 1

Author Comment

by:oakridgeschools
ID: 24840145
I'll try this out later today. Thanks savone!
0
 
LVL 1

Author Closing Comment

by:oakridgeschools
ID: 31602281
Thank you!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question