1830212 Members
1625 Online
109999 Solutions
New Discussion

mc command

 
Anthony khan
Frequent Advisor

mc command

Hi,

I am trying to run mc -p /dev/picker -s S1 -d D1 but I am getting permission denied error, /dev/picker is a link file to /dev/rac/c5t0d0
crw------- 1 bin sys 231 0x050000 May 27 05:55 c5t0d0

Is there any way i can run the above command as a user coz one of the user will run this command from his script.

Thanks
4 REPLIES 4
Christopher McCray_1
Honored Contributor

Re: mc command

You need to open up the permissions; 666

crw-rw-rw- 1 bin sys 231 0x050000 May 27 05:55 c5t0d0


Chris
It wasn't me!!!!
Helen French
Honored Contributor

Re: mc command

Check and set the proper permissions to these files:

/dev/picker
/dev/rac/c5t0d0

The 'mc' command has execute permission to everybody.
Life is a promise, fulfill it!
Sanjay_6
Honored Contributor

Re: mc command

Hi Anthony,

How about using the picker device itself rather than the link,

mc -p /dev/rac/c5t0d0 -s S1 -d D1

Do you have schgr driver configured into the kernel. Also try this command,

mc -p /dev/rac/c5t0d0 -r IDSM

Hope this helps.

Regds
Lucien Wolfs
Valued Contributor

Re: mc command

To move a tape in a library you need to be root. Other users may not move a tape.
Happened to me also....