LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-21-2010, 05:13 AM   #1
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Rep: Reputation: 32
Unable to create file with proper privileges


Code:
   RW-00022: Error: - Unable to create file with proper privileges:
		JAVA_TOP
		Mount Point = /media/SAMSUNG/d01/oracle/vis/apps/apps_st/comn/java/classes   test using command: su applmgr -c "touch /media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst"
touch: cannot touch `/media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst': Permission denied
I am trying to install Oracle ebs on my machine and I keep getting the above error. Any ideas?
 
Old 07-21-2010, 05:41 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
Just as hint.
If I'm not mistaking your /media/SAMSUNG/ folder, is your CD/DVD drive right?

If this is the case this is normal that you can't create any file in there.
As it says
Code:
touch: cannot touch `/media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst': Permission denied
check if you can specify an installation location.

Last edited by angel115; 07-21-2010 at 05:43 AM.
 
Old 07-21-2010, 05:44 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

What is the file system used on /media/SAMSUNG/d01/oracle/vis/apps/apps_st/comn/java/classes and how is it mounted?

Post output of mount -l | grep "/media"

Hope this helps.
 
Old 07-21-2010, 06:39 AM   #4
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Original Poster
Rep: Reputation: 32
Here is the output
Code:
/dev/sda1 on /media/hd type vfat (rw) [DellUtility]
/dev/sda2 on /media/hd2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) [RECOVERY]
/dev/sda3 on /media/hd3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) [OS]
/dev/sdb1 on /media/SAMSUNG type vfat (rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=500,utf8,shortname=lower) [SAMSUNG]
 
Old 07-21-2010, 06:41 AM   #5
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by angel115 View Post
Just as hint.
If I'm not mistaking your /media/SAMSUNG/ folder, is your CD/DVD drive right?

If this is the case this is normal that you can't create any file in there.
As it says
Code:
touch: cannot touch `/media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst': Permission denied
check if you can specify an installation location.
No it is an external hardrive. My PC itself does not have enough space to install Oracle ebs
 
Old 07-21-2010, 09:38 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You are trying to install on a vfat file-system (windows!!), that is probably the base of the problem (or one of the mount options). I'm pretty sure a linux file-system (ext2/3/4 or similar) is needed. That is assuming that you run linux and try to install a linux oracle package.

Hope this helps.
 
Old 07-21-2010, 09:45 AM   #7
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by druuna View Post
Hi,

You are trying to install on a vfat file-system (windows!!), that is probably the base of the problem (or one of the mount options). I'm pretty sure a linux file-system (ext2/3/4 or similar) is needed. That is assuming that you run linux and try to install a linux oracle package.

Hope this helps.
Thanks for that. The reason why I am trying to use the external hard drive as my PC does not have that much memory. Is it possible to change the vfat system to a linux one? It does not have anything on it I want to save - apart from the samsung software.
 
Old 07-21-2010, 09:57 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Changing your disk partition(s) to another FS is possible. You will loose all(!!!) data that is on those partitions. Make sure everything you need (the samsung software??) is relocated to a save place before you start.

I'm not a mandriva user, so I don't know which tools are present but either of the following can do the job (there are more):

- fdisk
- parted

Parted has the option to resize your current vfat partition and create a new ext2/3/4 partition next to the original one.

I just did a search and parted is on the Mandriva install cd (don't know if it is installed by default). I also noticed that by default mandriva uses ext3, so go for that one.

Hope this helps.
 
Old 07-22-2010, 05:58 AM   #9
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Original Poster
Rep: Reputation: 32
Thanks a lot I will try that.
 
Old 07-22-2010, 08:42 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You're welcome
 
Old 08-04-2010, 12:25 AM   #11
ykerb
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
VFAT mounted without Write rights

Quote:
Originally Posted by druuna View Post
You are trying to install on a vfat file-system (windows!!), that is probably the base of the problem (or one of the mount options). I'm pretty sure a linux file-system (ext2/3/4 or similar) is needed. That is assuming that you run linux and try to install a linux oracle package.
I had the same situation. I have been told that it was not possible to change the rights on a FAT32 partition as root or what ever are the settings (umask, GSID, etc.).
Can this be confirmed for sure?

And if someone could explain why (i mean apart from saying that FAT partition can't be managed by GNU/Linux because of discrepancies in the FS) because as a basic person i would have thought that as 'root' you can do what ever you want.
 
Old 08-04-2010, 03:31 AM   #12
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ykerb View Post
I had the same situation. I have been told that it was not possible to change the rights on a FAT32 partition as root or what ever are the settings (umask, GSID, etc.).
Can this be confirmed for sure?
Yes, that is correct and confirmed.
Quote:
And if someone could explain why (i mean apart from saying that FAT partition can't be managed by GNU/Linux because of discrepancies in the FS) because as a basic person i would have thought that as 'root' you can do what ever you want.
FAT32 (windows file-systems in general) doesn't support linux/unix-style permissions, so you can only apply permissions to the entire Windows file-system, not to individual files and directories. The default permission for a FAT32 volume at mount time are rwx for root, but only rx for normal users.

It does come down to differences in the specific file-systems, which are implemented on a low level and tailored to the specific OS. Even root cannot do anything about that. Root is king of its own linux/unix domain, but just a guest on other domains (root has to play by the rules of that specific domain).

Hope this helps.
 
1 members found this post helpful.
Old 08-20-2010, 03:02 PM   #13
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Original Poster
Rep: Reputation: 32
Thanks that solved.
 
Old 08-20-2010, 03:42 PM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You're welcome
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Unable to create channel for file: Ook Slackware 2 10-14-2009 01:49 AM
unable to create file & folder on fat32 file system while similiar other drives work sumeet inani Linux - Newbie 1 06-27-2009 11:46 AM
unable to create modem lock file sarrab20 Fedora 3 10-28-2006 05:02 AM
unable to create imapd.pem file manish_2479 Linux - Networking 0 09-13-2004 03:55 PM
mogrify: Unable to create temporary file. steelgrave Linux - Software 5 05-31-2003 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 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