LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-22-2021, 11:42 PM   #1
scottmusician
Member
 
Registered: Jul 2011
Location: Melbourne, AU
Distribution: CentOS
Posts: 58

Rep: Reputation: Disabled
fclones - operation denied when accessing cifs mount (stat issue?)


Hi all,

I'm trying to use fclones to review duplicate files on a cifs-mounted network drive.

Code:
~> sudo fclones group /mnt/network-drive/ > .fclones-network-drive.txt

fclones: error: can't access /mnt/network-drive: Permission denied (os error 13)
fclones: error: Some input paths could not be accessed.
I CAN run fclones over local directories without an issue.
I have write access to the mount point. It has the following permissions:

Code:
~> ls -al /mnt

drwxr-xr-x  2 root root 0 Dec 23 16:19 network-drive
I am mounting it with this:

Code:
sudo mount -t cifs -ouser=myUserName,domain=MyDomain,rw,exec,vers=2.0 //mypath.mydomain.com/network-drive /mnt/network-drive
---

I've read that it's something related to stat, but I can't quite figure out how to give stat the right permissions?

Thanks yet again!

Scott
 
Old 12-23-2021, 01:35 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
and can you read those directories/files at all (without flcones)?
 
  


Reply

Tags
cifs, mount, permissions, samba, stat



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount error 111 = Connection refused Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) vonyango Linux - Newbie 1 10-22-2021 03:56 AM
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 45 04-06-2020 05:31 AM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 PM.

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