Problem mounting a drive via mount point under home
I have a secondary hard disk, /dev/sdb1, which I want to mount using a mount point which is a directory under my user home. In my fstab I have the following entry:
/dev/sdb1 /home/myhome/secondarydisk ext2 rw,suid,dev,exec,auto,user,sync 0 0 I can read/write to the drive, but when I build an app on this drive I can't execute it. The app has the following permissions: -rwxr-xr-x Which I thought gave me permissions to execute the app. What have I done wrong? Thanks, CB |
Check the permissions for the /home/myhome/secondarydisk directory. Make sure that it allows program execution.
-------------------- Steve Stites |
It does...
CB Quote:
|
What happens when you try to run the application? eg error messages.
|
I get this:
bash: /home/myhome/secondarydisk/myapp: Permission denied The permissions of /home/myhome/secondarydisk is: drwxrwxr-x It seems that the owner of the /home/myhome/secondarydisk directory is user 505, which is not listed in the table of users or groups. CB Quote:
|
Quote:
|
Quote:
/home/myhome/secondarydisk/bin/myapp ---------------------- Steve Stites |
Actually the app is not in the root directory...it is several down
something like... /home/myhome/secondarydisk/development/projects/newproj/thisone/trunk/bin CB Quote:
|
Ding Ding Ding.... We have a winner.... the user option was over riding the previous options... I removed 'user' and now it is all working like I thought it should....Thanks,
CB Quote:
|
All times are GMT -5. The time now is 05:41 AM. |