Operating System - Linux
1828171 Members
2544 Online
109975 Solutions
New Discussion

Re: Redhat file permission cannot open

 
SOLVED
Go to solution
Calvin Tan Tjin Wei
Occasional Contributor

Redhat file permission cannot open

hi all,

I have a a problem. i cannot open a file that is 2G in size. i am not able to tail, cat, move or copy the file.
The error that comes back is permission denied.
Would really need help on this.

Thank you in advance.

Regards,
Calvin
5 REPLIES 5
Sak
Occasional Advisor

Re: Redhat file permission cannot open

Hi Calvin,

Can you give me more information about are you root permission? or system log file when you try to copy or move file.

Somsak
Florian Heigl (new acc)
Honored Contributor
Solution

Re: Redhat file permission cannot open

What type of filesystem does the file reside on? there can be a few issues with 2GB files on ext2.
yesterday I stood at the edge. Today I'm one step ahead.
Ivan Ferreira
Honored Contributor

Re: Redhat file permission cannot open

Please post the output of:

id
ls -la /path/to/filename_of_2GB
ls -la /path/to/destination/directory

Where destination directory is the directory where you want to copy/move the file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Calvin Tan Tjin Wei
Occasional Contributor

Re: Redhat file permission cannot open

hi all,

The problem was solved as there was an antivirus installed on the box which doesn't allow large files to be open or altered.
after stopping the antivirus we were able to look into the log files.

Thank you for your support.

Regards,
Calvin
Calvin Tan Tjin Wei
Occasional Contributor

Re: Redhat file permission cannot open

thank you