Thursday, May 2, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 369  / 2 Years ago, sat, march 12, 2022, 1:53:56

I have two OS windows 7 and ubuntu.
Oracle installer for linux stored in




/media/sonnet/Main/oracle/disk1/




and




/media/sonnet/Main/oracle/disk2/




here "Main" is an windows(ntfs) drive.



when I'm trying to start installing it is replying




./runInstaller : Permission Denied




I have tried




chmod -R 777 runInstaller




also the same result.



Thanks in advance for reply.


More From » installation

 Answers
0

In your /etc/fstab how do you mount /media/sonnet/Main/oracle/ ? In other words, you should see some sort of line within /etc/fstab that may look like this:



/dev/sda$ /media/sonnet/Main/oracle    ntfs    defaults,umask=007,gid=XX  0       0


Where the $ in sda (or hda) represents the drive partition for your Windows drive and XX in the gid= represents the Group ID for 'sonnet'. the umask permissions are the allowed permissions for 'sonnet' when the drive is mounted.



In the example shown, the user and group have full read, write and execute permissions on the drive, while others are denied permission.



One other thing to note here in your statement:



chmod -R /runinstaller


This is incorrect, primarily because it would be looking for the runinstaller file on the root path. You have potentially made everything in root (/) world readable, writable and executable with that command. What you really wanted to do there was likely:



chown sonnet:sonnet /media/sonnet/Main/disk2/oracle/runinstaller


Then make the file executable by your user and group:



chmod 770 /media/sonnet/Main/disk2/oracle/runinstaller


Which should allow you to run that file (provided the partition is properly mounted) as user 'sonnet'.



Do HTH. Have a nice day. :)


[#29184] Saturday, March 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pipeag

Total Points: 489
Total Questions: 107
Total Answers: 115

Location: Iraq
Member since Fri, Jun 5, 2020
4 Years ago
;