[SOLVED] Unable to create file with proper privileges
Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
/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]
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.
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.
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.