LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-06-2011, 08:45 PM   #1
BeyondSora
LQ Newbie
 
Registered: Feb 2011
Location: Waterloo, Ontario, Canada
Distribution: Ubuntu 10.10, Arch
Posts: 11

Rep: Reputation: 0
question regarding to file permission and shared folder in virtualbox


hey guys
so I have virtualbox installed, and arch set up as the guest OS
now i have made my home folder shared folder with the guest OS
but at first my arch couldnt read my home folder
i realized the permission setting for the home folder is set as rwx to myself, and nothing to everyone else
so i chmod -R 755 to everything
and that seemed to have solved the problem
now i want to make my home folder readonly to my guest OS
do i just do chmod -R 744 to my home folder?
i already messed up something when i set 644 to everything in my home folder, as my dropbox stopped working
so im afraid of something like that happening to me again, otherwise i d love to experiment

another question is, are .so files supposed to be executable?
I googled it, and it seems they dont have to be
But my dropbox stopped working after the .so files in /home/myhomefolder/.dropbox got assigned 644 D:
 
Old 02-06-2011, 10:13 PM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
You need to make a difference between files and directories. A directory requires the read and execute bits to be set if someone is to have access to it.
A file on the other hand only requires read bit set assuming it is not to be executed or able to be changed.

As for:
Quote:
another question is, are .so files supposed to be executable?
As these are libraries I would have said they do not have to be executable but should be able to be read.
Quote:
But my dropbox stopped working after the .so files in /home/myhomefolder/.dropbox got assigned 644 D:
My guess here is that you used -R again and changed a file that should still be executable.

Maybe throw file (command) at each file in .dropbox directory and see which ones come back saying they are executables then don't change them to 644
 
Old 02-06-2011, 11:09 PM   #3
BeyondSora
LQ Newbie
 
Registered: Feb 2011
Location: Waterloo, Ontario, Canada
Distribution: Ubuntu 10.10, Arch
Posts: 11

Original Poster
Rep: Reputation: 0
oh yes, actually there is one executable file in /.dropbox, that got assigned to 644
thank you very much
 
  


Reply


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
[SOLVED] problem using shared folder Virtualbox ken poy Linux - Software 5 12-16-2010 09:30 AM
virtualbox and wine shared folder angelo_maci Linux - Virtualization and Cloud 1 09-23-2010 10:51 AM
Virtualbox could not map shared folder from CentOS host sokha Linux - Virtualization and Cloud 8 07-13-2010 02:41 PM
NAS shared folder permission problem Alex_trebek Linux - Server 5 10-24-2008 05:23 PM
virtualbox shared folder phantom_cyph Linux - Software 10 08-09-2007 01:14 PM

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

All times are GMT -5. The time now is 08:36 AM.

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
Open Source Consulting | Domain Registration