Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
02-22-2017, 04:59 PM
#1
LQ Newbie
Registered: Jan 2012
Location: CO , USA
Distribution: Redhat, Oracle Linux6, Ubuntu16 & CentOS.
Posts: 28
Rep:
Permission denied error
A cifs share that is mounted on our Ubuntu docker servers. Share is defined with same exact permissions on both servers, but we are getting permissions denied trying to access one specific DIR on Server1 but Server2 works just fine.
Any ideas on what to check ?
Output of fstab and df from both servers:
Code:
docker01:/opt/syncs/emc/DAM_MQ_Assets$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.9G 12K 7.9G 1% /dev
tmpfs 1.6G 744K 1.6G 1% /run
/dev/dm-1 36G 2.7G 31G 9% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 7.9G 772K 7.9G 1% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 100M 124M 45% /boot
/dev/mapper/VG00-opt 118G 61G 52G 55% /opt
//10.129.37.94/vod 9.9T 1.1T 8.3T 12% /opt/mount_dest
//10.129.37.210/Product_Highlights_Images 50G 31G 19G 63% /opt/syncs/emc
//seg.corp.root/applications 50G 31G 19G 63% /opt/syncs/emc
//denpwfiles2.encore.corp.root/SQL_Backups 2.0T 2.0T 102G 96% /opt/syncs/emc/SQL_Backups
//denntapclstr01/DAM_MQ_Assets 75G 70G 5.2G 94% /opt/syncs/emc/DAM_MQ_Assets
-----
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu1404--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=d101a84c-6fb5-483b-b2c1-2fe2450d4d5e /boot ext2 defaults 0 2
/dev/mapper/ubuntu1404--vg-swap_1 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/VG00/opt /opt ext4 defaults 1 2
#//mqassets.encore.corp.root/Product_Highlights_Images /opt/syncs/emc cifs auto,credentials=/root/.smbpasswd_emc,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777,nocase 0 0
#//192.168.170.97/vod /home/envadm/vod cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=env_ops,file_mode=0777,dir_mode=0777,domain=encore
# //10.129.37.210/Product_Highlights_Images /opt/syncs/emc cifs auto,credentials=/root/.smbpasswd_emc,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777,nocase 0 0
//seg.corp.root/applications /opt/syncs/emc cifs auto,credentials=/root/.smbpasswd_emc,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777,nocase 0 0
//10.129.37.94/vod /home/envadm/vod cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore
//starz-3170-2/mpeg2 /opt/mpeg2 cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore 0
//10.129.37.94/vod /opt/mount_dest cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore 0
Code:
docker02:/opt/syncs/emc$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.9G 4.0K 7.9G 1% /dev
tmpfs 1.6G 1.1M 1.6G 1% /run
/dev/dm-1 36G 2.8G 31G 9% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 7.9G 3.4M 7.9G 1% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 68M 156M 31% /boot
/dev/mapper/VG00-opt 118G 81G 32G 72% /opt
//10.129.37.94/vod 9.9T 1.1T 8.3T 12% /opt/mount_dest
//10.129.37.210/Product_Highlights_Images 137G 63G 74G 46% /opt/syncs/emc
//seg.corp.root/applications 137G 63G 74G 46% /opt/syncs/emc
//denntapclstr01/DAM_MQ_Assets 75G 70G 5.2G 94% /opt/syncs/emc/DAM_MQ_Assets
-------
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu1404--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=d101a84c-6fb5-483b-b2c1-2fe2450d4d5e /boot ext2 defaults 0 2
/dev/mapper/ubuntu1404--vg-swap_1 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/VG00/opt /opt ext4 defaults 1 2
#//mqassets.encore.corp.root/Product_Highlights_Images /opt/syncs/emc cifs auto,credentials=/root/.smbpasswd_emc,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777,nocase 0 0
#//192.168.170.97/vod /home/envadm/vod cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=env_ops,file_mode=0777,dir_mode=0777,domain=encore
# //10.129.37.210/Product_Highlights_Images /opt/syncs/emc cifs auto,credentials=/root/.smbpasswd_emc,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777,nocase 0 0
//seg.corp.root/applications /opt/syncs/emc cifs auto,credentials=/root/.smbpasswd_emc,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777,nocase 0 0
//10.129.37.94/vod /home/envadm/vod cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore
//10.129.37.94/vod_DTVhome/Staging /opt/vod_DTVhome/Staging cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore
//starz-3170-2/mpeg2 /opt/mpeg2 cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore 0
//10.129.37.94/vod /opt/mount_dest cifs auto,credentials=/root/.smbpasswd_starzcom,uid=envadm,gid=envadm,file_mode=0777,dir_mode=0777,domain=encore 0
02-22-2017, 05:03 PM
#2
LQ Newbie
Registered: Jan 2012
Location: CO , USA
Distribution: Redhat, Oracle Linux6, Ubuntu16 & CentOS.
Posts: 28
Original Poster
Rep:
Noticed there is a minor difference on release, can that be an issue ?
Code:
docker01:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
docker02:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
02-24-2017, 11:29 AM
#3
LQ Newbie
Registered: Jan 2012
Location: CO , USA
Distribution: Redhat, Oracle Linux6, Ubuntu16 & CentOS.
Posts: 28
Original Poster
Rep:
One of the system admins made changes in AD to permission on a group, we reverted back and everyone is happy, for now :-).
All times are GMT -5. The time now is 08:15 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News