LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2006, 02:23 AM   #1
he_the_great
LQ Newbie
 
Registered: Sep 2006
Location: EWU
Distribution: Debian Testing
Posts: 16

Rep: Reputation: 0
full access permissions (resolved)


I'll first ask, then I'll explain.

I want to get a 2nd reiser hard-drive to mount with permissions of 777. The owner can be root or the user.

My ultimate goal is to mount my drive to the directory that VMware uses to store it's guest machines (/var/lib/vmware/Virtual Machines). I was able to mount the drive just fine by using this line in my fstab:
Code:
/dev/hdd1       /var/lib/vmware/Virtual\040Machines reiserfs defaults  0       0
I've tried it with several umask (umask=000) options, but when they are added I get an options error. VMware is not accepting the default permissions.

I can use a different filesystem, but I don't know why that would matter. PS I am running on Debian Testing.

Last edited by he_the_great; 08-28-2008 at 11:57 PM. Reason: Status update
 
Old 09-23-2006, 04:26 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
umask is only for newly created files...
go to the mount point of your 2nd hdd and do
chmod u+rwx,g+rwxs,o+rwx /path/to/where/2nd-hdd/is/mounted (e.g. /home/foo/fibble/vmware if you ran
mount /dev/hdb1 /home/foo/fibble/vmware
 
Old 09-23-2006, 12:30 PM   #3
he_the_great
LQ Newbie
 
Registered: Sep 2006
Location: EWU
Distribution: Debian Testing
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you

That seems to have worked. I didn't think that it would keep those permissions after the drive was remounted.
 
  


Reply

Tags
chmod, filesystem, fstab, mounting


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Windows Shares With Full Permissions Woodsman Slackware 3 01-09-2006 07:28 PM
I want full access fannymites Linux - Security 24 12-07-2004 08:59 AM
Release full access to NT user ust Linux - Software 0 10-05-2004 09:13 PM
How do I change permissions for a full Stevetgn Linux - Newbie 3 05-15-2004 03:15 PM
Full FTP Access - Oh No Lucasite Linux - Security 2 03-12-2004 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration